Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => GT Excel 2 LLC
                    [Contact_First] => Terry
                    [Contact_Last] => Leright
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 48188
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => 7342164109
                    [place_id] => 
                    [customerid] => 164760
                    [mascustnum] => GTE4818
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 164760
                    [mas_cust_no] => GTE4818
                )

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

            [billing] => Array
                (
                    [Company] => GT Excel 2 LLC
                    [Contact_First] => Terry
                    [Contact_Last] => Leright
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Canton
                    [State] => MI
                    [Zip] => 48188
                    [Country] => USA
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => (734) 216-4109
                )

            [shipping] => Array
                (
                    [ShipToName] => GT Excel 2 LLC
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Canton
                    [State] => MI
                    [Zip] => 48188
                    [Country] => USA
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => (734) 216-4109
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 02/29/2024
                    [customer_tags] => Array
                        (
                            [0] => 264
                            [1] => 7
                        )

                    [application] => other
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [dealer_discount] => true
                    [discount_value] => 10
                    [lead_time] => 2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => TerryjLeright@gmai.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/CL2500D-HE Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 164760
    [mas_cust_no] => GTE4818
    [mas_cust_exists] => true
    [exportid] => 66197
    [masquotenum] => Q045705
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 02/29/2024
    [customer_tags] => Array
        (
            [0] => 264
            [1] => 7
        )

    [application] => other
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [dealer_discount] => true
    [discount_value] => 10
    [lead_time] => 2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => TerryjLeright@gmai.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/CL2500D-HE Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 66197: 0.14753913879395 secs since start
Session ID: 67n1p237ke2spevbd41n3r26fj
just before engaging cartlink ...: 0.14762806892395 secs since start
after most cartlink items ...: 0.1487250328064 secs since start
after getting new so num ...: 0.32794117927551 secs since start
after remaining cartlink items ...: 0.3279709815979 secs since start
SO Number: Q045705
just prior to terms gathering ...: 0.3279869556427 secs since start
after getting customer terms ...: 0.41348314285278 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-HE
            [name] => CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-2500DHE-1YRPCK
+4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
+2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years) [qty] => 1 [price] => 3,919.88 [cost] => 1,959.94 [pdfFileURL] => ) [1] => Array ( [sku] => CLF-2500DHE-1YRPCK [name] => 1 year pack of filters for CL2500D-HE
Includes:
4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually)
*Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson. [qty] => 1 [price] => 318.06 [cost] => 81.18 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045705','CL2500D-HE','CleanLeaf Model CL2500D-HE, 2,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-2500DHE-1YRPCK +4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) +2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-661699-HHC (26x26x16" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every 2 years)','Y','1959.94','1','1','3919.88','3919.88','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045705','CLF-2500DHE-1YRPCK','1 year pack of filters for CL2500D-HE Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 2x CLF-661698 (26x26x16" 95% 8 Pocket Bag Filter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','81.18','1','1','318.06','318.06','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.44115018844604 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-HE Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1709222580_8051.pdf
after merging and generating email/quote PDFs ...: 4.8001630306244 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=66197"}}
    [to[0]] => TerryjLeright@gmai.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Terry,

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 Terry,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_20240229100256_95389.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1709222580_8051.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240229100256_95389.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1709222580_8051.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.576915
    [namelookup_time] => 0.002366
    [connect_time] => 0.045178
    [pretransfer_time] => 0.142749
    [size_upload] => 1932838
    [size_download] => 21
    [speed_download] => 36
    [speed_upload] => 3355621
    [download_content_length] => 21
    [upload_content_length] => 1932838
    [starttransfer_time] => 0.189267
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 53102
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 142651
    [connect_time_us] => 45178
    [namelookup_time_us] => 2366
    [pretransfer_time_us] => 142749
    [redirect_time_us] => 0
    [starttransfer_time_us] => 189267
    [total_time_us] => 576915
)
after sending email to customer ...: 7.3812651634216 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Terry,

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 Terry,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_20240229100256_95389.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1709222580_8051.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] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.74762
    [namelookup_time] => 0.002547
    [connect_time] => 0.061735
    [pretransfer_time] => 0.190571
    [size_upload] => 1932437
    [size_download] => 21
    [speed_download] => 28
    [speed_upload] => 2586930
    [download_content_length] => 21
    [upload_content_length] => 1932437
    [starttransfer_time] => 0.252123
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54562
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 190451
    [connect_time_us] => 61735
    [namelookup_time_us] => 2547
    [pretransfer_time_us] => 190571
    [redirect_time_us] => 0
    [starttransfer_time_us] => 252123
    [total_time_us] => 747620
)
after sending email to rep ...: 10.131105184555 secs since start
after inserting/updating customer in v2 ...: 10.214627027512 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gVGVycnksPC9wPjxkaXY+PHA+SXQgd2FzIGdyZWF0IHNwZWFraW5nIHdpdGggeW91LjwvcD48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3131535
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => TerryjLeright@gmai.com
    [To] => TerryjLeright@gmai.com
    [Date] => 2024-02-29 10:03:06
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => GTE4818
    [email-html] => 

Hello Terry,

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_20240229100256_95389.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1709222580_8051.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] => 22.755002
    [namelookup_time] => 0.002552
    [connect_time] => 0.020967
    [pretransfer_time] => 0.056935
    [size_upload] => 1932327
    [size_download] => 1931199
    [speed_download] => 84869
    [speed_upload] => 84918
    [download_content_length] => -1
    [upload_content_length] => 1932327
    [starttransfer_time] => 0.078198
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 54340
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56856
    [connect_time_us] => 20967
    [namelookup_time_us] => 2552
    [pretransfer_time_us] => 56935
    [redirect_time_us] => 0
    [starttransfer_time_us] => 78198
    [total_time_us] => 22755002
)
after pushing email and files into v2/timeline ...: 34.972372055054 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 35.149996995926 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 37.177067041397 secs since start
strJSON:
{"exportid":"66197","import_result":null,"import_error":"","fileurl":"GMImport_66197_1709222613_84287.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"GT Excel 2 LLC","goldmine_email":"TerryjLeright@gmai.com","goldmine_phone":"(734) 216-4109","mas_quote_number":"Q045705","mas_customer_number":"GTE4818"}
end: 37.200288057327 secs since start