Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 61615
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 138213
                    [mascustnum] => USA6161
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 138213
                    [mas_cust_no] => USA6161
                )

            [mas_search] => Array
                (
                    [mas_cust_no] => USA6161
                    [mas_cust_exists] => true
                )

            [billing] => Array
                (
                    [Company] => US Air Purifiers LLC
                    [Contact_First] => Barb
                    [Contact_Last] => Lulay
                    [Address1] => 5221 Castleberry Dr.
                    [Address2] => 
                    [Address3] => 
                    [City] => Peoria
                    [State] => IL
                    [Zip] => 61615
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

            [shipping] => Array
                (
                    [ShipToName] => MJ Cobalt
                    [Address1] => 440 Middlefield St.
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Middletown
                    [State] => CT
                    [Zip] => 06457
                    [Country] => USA
                    [Email] => contactus@usairpurifiers.com
                    [Phone] => (888) 231-1463
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 12/13/2023
                    [generate_quote] => true
                    [keep_sonum] => Q043772
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => estimate
                    [freight_estimate_value] => 1520.27
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => contactus@usairpurifiers.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 138213
    [mas_cust_no] => USA6161
    [mas_cust_exists] => true
    [exportid] => 62697
    [masquotenum] => Q043772
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 12/13/2023
    [generate_quote] => true
    [keep_sonum] => Q043772
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => estimate
    [freight_estimate_value] => 1520.27
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => contactus@usairpurifiers.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Barb,

Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. 

Sincerely,


<<&RepName>>

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. <<&RepPhoneExt>>
866 422-4099 Fax
<<&RepEmail>>
http://www.cleanleaf.com/



[files] => [email_product_literature] => true [includedPDFs] => Array ( [0] => {QUOTE} [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf [3] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 5.0067901611328E-6 secs since start
after getting new exportid ... 62697: 0.088509082794189 secs since start
Session ID: gjsq0inp140l3h9juq5kophje0
just before engaging cartlink ...: 0.088572025299072 secs since start
after most cartlink items ...: 0.089347124099731 secs since start
after getting new so num ...: 0.089359998703003 secs since start
after remaining cartlink items ...: 0.089375019073486 secs since start
SO Number: Q043772
just prior to terms gathering ...: 0.089383125305176 secs since start
after getting customer terms ...: 0.17351698875427 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 2,209.00 [cost] => 1,380.73 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCCP-1YRKIT [name] => 1 year kit of filters for CL1250D-CCP. Includes:

4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually)
8x CLF-C-100C (100% Activated Carbon Canister; changed annually)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)

*Filter configurations and change-out times are based on standard recommendations.�?�  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 360.00 [cost] => 223.87 [pdfFileURL] => ) [3] => Array ( [sku] => CL2500D-CCP [name] => CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 3,738.00 [cost] => 2,336.66 [pdfFileURL] => ) [4] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [5] => Array ( [sku] => CLF-2500DCCP-1YRKIT [name] => 1 year kit of filters for CL2500D-CCP Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)

*Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 755.00 [cost] => 471.36 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043772','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) 8x CLF-C-100C (7 lb. Carbon Canister (56 lbs. total); changed annually) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','1380.73','2','2','2209.00','4418.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043772','CLF-1250DCCP-1YRKIT','1 year kit of filters for CL1250D-CCP. Includes: 4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually) 8x CLF-C-100C (100% Activated Carbon Canister; changed annually) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) *Filter configurations and change-out times are based on standard recommendations.�?�  Yours may vary, if unsure, please contact your salesperson.','Y','223.87','0','0','360.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043772','CL2500D-CCP','CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','2336.66','2','2','3738.00','7476.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043772','CLF-2500DCCP-1YRKIT','1 year kit of filters for CL2500D-CCP Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','471.36','0','0','755.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.20608806610107 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1702486883_2760.pdf
after merging and generating email/quote PDFs ...: 4.1137721538544 secs since start
email fields:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [headers] => {"Return-Receipt-To": ""Dan Schroeder" ", "Disposition-Notification-To": ""Dan Schroeder" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=62697"}}
    [to[0]] => contactus@usairpurifiers.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Barb,

Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. 

Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hello Barb,Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20231213110119_40286.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1702486883_2760.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231213110119_40286.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1702486883_2760.pdf
email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.489222
    [namelookup_time] => 0.001997
    [connect_time] => 0.036212
    [pretransfer_time] => 0.117209
    [size_upload] => 2786216
    [size_download] => 21
    [speed_download] => 42
    [speed_upload] => 5697783
    [download_content_length] => 21
    [upload_content_length] => 2786216
    [starttransfer_time] => 0.158831
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34476
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 117095
    [connect_time_us] => 36212
    [namelookup_time_us] => 1997
    [pretransfer_time_us] => 117209
    [redirect_time_us] => 0
    [starttransfer_time_us] => 158831
    [total_time_us] => 489222
)
after sending email to customer ...: 6.605700969696 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Barb,

Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. 

Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hello Barb,Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20231213110119_40286.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1702486883_2760.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => dan@aircleaningspecialists.com )
to rep email result: {"message":"success"}
arr email result: Array ( [message] => success )
email curl info:
Array
(
    [url] => https://api.sendgrid.com/api/mail.send.json
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 305
    [request_size] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.490695
    [namelookup_time] => 0.002222
    [connect_time] => 0.036454
    [pretransfer_time] => 0.119104
    [size_upload] => 2785816
    [size_download] => 21
    [speed_download] => 42
    [speed_upload] => 5685338
    [download_content_length] => 21
    [upload_content_length] => 2785816
    [starttransfer_time] => 0.156631
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34492
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 119013
    [connect_time_us] => 36454
    [namelookup_time_us] => 2222
    [pretransfer_time_us] => 119104
    [redirect_time_us] => 0
    [starttransfer_time_us] => 156631
    [total_time_us] => 490695
)
after sending email to rep ...: 9.0985841751099 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQmFyYiw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHJldmlzZWQgcXVvdGUgaW5jbHVkaW5nIGVzdGltYXRlZCBmcmVpZ2h0IGNoYXJnZXMgZm9yIGFsbCAoNCkgdW5pdHMuIFBsZWFzZSByZXZpZXcgYW5kIGxldCBtZSBrbm93IGlmIEkgY2FuIGhlbHAgZnVydGhlci4mbmJzcDs8L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 2970853
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => contactus@usairpurifiers.com
    [To] => contactus@usairpurifiers.com
    [Date] => 2023-12-13 11:01:28
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => USA6161
    [email-html] => 

Hello Barb,

Attached is the revised quote including estimated freight charges for all (4) units. Please review and let me know if I can help further. 

Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[qq_from_repid] => 0020 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20231213110119_40286.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1702486883_2760.pdf [mime] => [postname] => Product_Literature.pdf ) )
acsopav2 mailgun/newmail.php curl info:
Array
(
    [url] => https://acs-web.acsopav2.com:7443/providers/mailgun/newmail.php
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 404
    [request_size] => 227
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 6.078377
    [namelookup_time] => 0.002221
    [connect_time] => 0.020378
    [pretransfer_time] => 0.70832
    [size_upload] => 2785723
    [size_download] => 2784611
    [speed_download] => 458145
    [speed_upload] => 458328
    [download_content_length] => -1
    [upload_content_length] => 2785723
    [starttransfer_time] => 0.728982
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 34012
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 708241
    [connect_time_us] => 20378
    [namelookup_time_us] => 2221
    [pretransfer_time_us] => 708320
    [redirect_time_us] => 0
    [starttransfer_time_us] => 728982
    [total_time_us] => 6078377
)
after pushing email and files into v2/timeline ...: 17.179784059525 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.43715596199 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.461514949799 secs since start
strJSON:
{"exportid":"62697","import_result":null,"import_error":"","fileurl":"GMImport_62697_1702486898_19887.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"US Air Purifiers LLC","goldmine_email":"contactus@usairpurifiers.com","goldmine_phone":"(888) 231-1463","mas_quote_number":"Q043772","mas_customer_number":"USA6161"}
end: 19.48637008667 secs since start