Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => DWC Mechanical Inc.
                    [Contact_First] => Brian
                    [Contact_Last] => Brian
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 14228
                    [Email] => bstevens@dwcmechanical.com
                    [Phone] => 7168186177
                    [place_id] => 
                    [customerid] => 166419
                    [mascustnum] => DWC142A
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 166419
                    [mas_cust_no] => DWC142A
                )

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

            [billing] => Array
                (
                    [Company] => DWC Mechanical Inc.
                    [Contact_First] => Brian
                    [Contact_Last] => Brian
                    [Address1] => 100 John Glenn Dr
                    [Address2] => 
                    [Address3] => 
                    [City] => Buffalo
                    [State] => NY
                    [Zip] => 14228
                    [Country] => USA
                    [Email] => bstevens@dwcmechanical.com
                    [Phone] => (716) 818-6177
                )

            [shipping] => Array
                (
                    [ShipToName] => DWC Mechanical Inc.
                    [Address1] => 100 John Glenn Dr
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Buffalo
                    [State] => NY
                    [Zip] => 14228
                    [Country] => USA
                    [Email] => bstevens@dwcmechanical.com
                    [Phone] => (716) 818-6177
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 05/31/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                        )

                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => bstevens@dwcmechanical.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Air Filtration Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 166419
    [mas_cust_no] => DWC142A
    [mas_cust_exists] => true
    [exportid] => 69545
    [masquotenum] => Q047430
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 05/31/2024
    [customer_tags] => Array
        (
            [0] => 17
        )

    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => bstevens@dwcmechanical.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote 
    [email_quote_body] => 

Hello <<&dear>>,

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

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-CF Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 69545: 0.091066837310791 secs since start
Session ID: mjfn139hdpbcploggvkfl5gv24
just before engaging cartlink ...: 0.091143846511841 secs since start
after most cartlink items ...: 0.091974020004272 secs since start
after getting new so num ...: 0.24261689186096 secs since start
after remaining cartlink items ...: 0.24264597892761 secs since start
SO Number: Q047430
just prior to terms gathering ...: 0.2426609992981 secs since start
after getting customer terms ...: 0.32751297950745 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 1 [price] => 2,337.00 [cost] => 1,168.17 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACEMENTS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCF-1YRKIT [name] => 1 year kit of filters for CL1250D-CF. Includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
+2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually)

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

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047430','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1168.17','1','1','2337.00','2337.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047430','CLF-1250DCF-1YRKIT','1 year kit of filters for CL1250D-CF. Includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) +2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','134.02','0','0','269.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.3538818359375 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1715630535_1619.pdf
after merging and generating email/quote PDFs ...: 4.2046449184418 secs since start
email fields:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [headers] => {"Return-Receipt-To": ""Kevin Gallagher" ", "Disposition-Notification-To": ""Kevin Gallagher" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=69545"}}
    [to[0]] => bstevens@dwcmechanical.com
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Brian,

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[text] => Hello Brian,It was great speaking with you.Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20240513150211_60919.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1715630535_1619.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240513150211_60919.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1715630535_1619.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] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.771744
    [namelookup_time] => 0.001954
    [connect_time] => 0.051224
    [pretransfer_time] => 0.160609
    [size_upload] => 1784685
    [size_download] => 21
    [speed_download] => 27
    [speed_upload] => 2314766
    [download_content_length] => 21
    [upload_content_length] => 1784685
    [starttransfer_time] => 0.213854
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33308
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 160511
    [connect_time_us] => 51224
    [namelookup_time_us] => 1954
    [pretransfer_time_us] => 160609
    [redirect_time_us] => 0
    [starttransfer_time_us] => 213854
    [total_time_us] => 771744
)
after sending email to customer ...: 6.9851880073547 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Brian,

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[text] => Hello Brian,It was great speaking with you.Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20240513150211_60919.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1715630535_1619.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => keving@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] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.892598
    [namelookup_time] => 0.002038
    [connect_time] => 0.06201
    [pretransfer_time] => 0.195042
    [size_upload] => 1784280
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 2000313
    [download_content_length] => 21
    [upload_content_length] => 1784280
    [starttransfer_time] => 0.258753
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35870
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 194909
    [connect_time_us] => 62010
    [namelookup_time_us] => 2038
    [pretransfer_time_us] => 195042
    [redirect_time_us] => 0
    [starttransfer_time_us] => 258753
    [total_time_us] => 892598
)
after sending email to rep ...: 9.8804409503937 secs since start
after inserting/updating customer in v2 ...: 9.9622399806976 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQnJpYW4sPC9wPjxkaXY+PHA+SXQgd2FzIGdyZWF0IHNwZWFraW5nIHdpdGggeW91LjwvcD48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3284409
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => bstevens@dwcmechanical.com
    [To] => bstevens@dwcmechanical.com
    [Date] => 2024-05-13 15:02:21
    [subject] => Your CleanLeaf Air Filtration Quote 
    [mas-customer-no] => DWC142A
    [email-html] => 

Hello Brian,

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

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



[qq_from_repid] => 0064 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20240513150211_60919.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1715630535_1619.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] => 651
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.263079
    [namelookup_time] => 0.001682
    [connect_time] => 0.02067
    [pretransfer_time] => 0.059098
    [size_upload] => 1784178
    [size_download] => 1783041
    [speed_download] => 1411750
    [speed_upload] => 1412650
    [download_content_length] => -1
    [upload_content_length] => 1784178
    [starttransfer_time] => 0.079316
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 38494
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 59006
    [connect_time_us] => 20670
    [namelookup_time_us] => 1682
    [pretransfer_time_us] => 59098
    [redirect_time_us] => 0
    [starttransfer_time_us] => 79316
    [total_time_us] => 1263079
)
after pushing email and files into v2/timeline ...: 13.22830080986 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 13.393204927444 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 15.418591022491 secs since start
strJSON:
{"exportid":"69545","import_result":null,"import_error":"","fileurl":"GMImport_69545_1715630546_37460.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"DWC Mechanical Inc.","goldmine_email":"bstevens@dwcmechanical.com","goldmine_phone":"(716) 818-6177","mas_quote_number":"Q047430","mas_customer_number":"DWC142A"}
end: 15.438637018204 secs since start