Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => MECHANICAL ENGINEERING
                    [Contact_First] => Erik
                    [Contact_Last] => Erik
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 07109
                    [Email] => erik.nina@mechhvacsolutions.com
                    [Phone] => 89281234545
                    [place_id] => 
                    [customerid] => 165745
                    [mascustnum] => MEC0710
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 165745
                    [mas_cust_no] => MEC0710
                )

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

            [billing] => Array
                (
                    [Company] => MECHANICAL ENGINEERING
                    [Contact_First] => Erik
                    [Contact_Last] => Erik
                    [Address1] => 58 Howard St #2
                    [Address2] => 
                    [Address3] => 
                    [City] => Belleville
                    [State] => NJ
                    [Zip] => 07109
                    [Country] => USA
                    [Email] => erik.nina@mechhvacsolutions.com
                    [Phone] => 8 (928) 123-45-45
                )

            [shipping] => Array
                (
                    [ShipToName] => MECHANICAL ENGINEERING
                    [Address1] => 58 Howard St #2
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Belleville
                    [State] => NJ
                    [Zip] => 07109
                    [Country] => USA
                    [Email] => erik.nina@mechhvacsolutions.com
                    [Phone] => 8 (928) 123-45-45
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 04/30/2024
                    [customer_tags] => Array
                        (
                            [0] => 264
                            [1] => 7
                        )

                    [application] => other
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 2-3 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => erik.nina@mechhvacsolutions.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-CCPHE Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 165745
    [mas_cust_no] => MEC0710
    [mas_cust_exists] => true
    [exportid] => 68141
    [masquotenum] => Q046698
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 04/30/2024
    [customer_tags] => Array
        (
            [0] => 264
            [1] => 7
        )

    [application] => other
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 2-3 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => erik.nina@mechhvacsolutions.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote 
    [email_quote_body] => 

Hello <<&dear>>,

It was great speaking with you.

Please see attached quote. 

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-CCPHE Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 68141: 1.4846141338348 secs since start
Session ID: 4ofqvhgsvugummbqnc0hmmj82m
just before engaging cartlink ...: 1.4846770763397 secs since start
after most cartlink items ...: 1.4855391979218 secs since start
after getting new so num ...: 1.6277811527252 secs since start
after remaining cartlink items ...: 1.6278300285339 secs since start
SO Number: Q046698
just prior to terms gathering ...: 1.6278400421143 secs since start
after getting customer terms ...: 1.711296081543 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCPHE
            [name] => CleanLeaf Model CL1250D-CCPHE, 1,000 CFM Self-Contained Odor Mitigation & Filtration System

Delta Motor Assembly Included

Side Access Filter Housing with one year supply of filters, which includes:

-CLF-1250DCCPHE-1YRKIT:
*4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
*1x CLF-5502 (25x15x2 Pleated After-filter; changed annually)
*1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber 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] => 3,863.16 [cost] => 2,141.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046698','CL1250D-CCPHE','CleanLeaf Model CL1250D-CCPHE, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Delta Motor Assembly Included Side Access Filter Housing with one year supply of filters, which includes: -CLF-1250DCCPHE-1YRKIT: *4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) *1x CLF-5502 (25x15x2 Pleated After-filter; changed annually) *1x CLF-5504-HHC (25x15x4 Ultrafine HEPA Glass Fiber 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','2141.00','2','2','3863.16','7726.32','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.7429311275482 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1712763194_7219.pdf
after merging and generating email/quote PDFs ...: 5.7323501110077 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=68141"}}
    [to[0]] => erik.nina@mechhvacsolutions.com
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Erik,

It was great speaking with you.

Please see attached quote. 

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 Erik,It was great speaking with you.Please see attached quote. 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_20240410103310_40681.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1712763194_7219.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240410103310_40681.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1712763194_7219.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.743627
    [namelookup_time] => 0.002231
    [connect_time] => 0.059509
    [pretransfer_time] => 0.185038
    [size_upload] => 1288584
    [size_download] => 21
    [speed_download] => 28
    [speed_upload] => 1734298
    [download_content_length] => 21
    [upload_content_length] => 1288584
    [starttransfer_time] => 0.244677
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 37186
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 184911
    [connect_time_us] => 59509
    [namelookup_time_us] => 2231
    [pretransfer_time_us] => 185038
    [redirect_time_us] => 0
    [starttransfer_time_us] => 244677
    [total_time_us] => 743627
)
after sending email to customer ...: 8.480238199234 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Erik,

It was great speaking with you.

Please see attached quote. 

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 Erik,It was great speaking with you.Please see attached quote. 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_20240410103310_40681.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1712763194_7219.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.938878
    [namelookup_time] => 0.002184
    [connect_time] => 0.070285
    [pretransfer_time] => 0.216727
    [size_upload] => 1288174
    [size_download] => 21
    [speed_download] => 22
    [speed_upload] => 1373319
    [download_content_length] => 21
    [upload_content_length] => 1288174
    [starttransfer_time] => 0.286854
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 57136
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 216563
    [connect_time_us] => 70285
    [namelookup_time_us] => 2184
    [pretransfer_time_us] => 216727
    [redirect_time_us] => 0
    [starttransfer_time_us] => 286854
    [total_time_us] => 938878
)
after sending email to rep ...: 11.421533107758 secs since start
after inserting/updating customer in v2 ...: 11.506033182144 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gRXJpayw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPlBsZWFzZSBzZWUgYXR0YWNoZWQgcXVvdGUuJm5ic3A7PC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3217316
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => erik.nina@mechhvacsolutions.com
    [To] => erik.nina@mechhvacsolutions.com
    [Date] => 2024-04-10 10:33:20
    [subject] => Your CleanLeaf Air Filtration Quote 
    [mas-customer-no] => MEC0710
    [email-html] => 

Hello Erik,

It was great speaking with you.

Please see attached quote. 

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_20240410103310_40681.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1712763194_7219.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] => 1.387361
    [namelookup_time] => 0.002025
    [connect_time] => 0.0202
    [pretransfer_time] => 0.057671
    [size_upload] => 1288097
    [size_download] => 1286950
    [speed_download] => 927865
    [speed_upload] => 928692
    [download_content_length] => -1
    [upload_content_length] => 1288097
    [starttransfer_time] => 0.077336
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 56502
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 57581
    [connect_time_us] => 20200
    [namelookup_time_us] => 2025
    [pretransfer_time_us] => 57671
    [redirect_time_us] => 0
    [starttransfer_time_us] => 77336
    [total_time_us] => 1387361
)
after pushing email and files into v2/timeline ...: 14.896325111389 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 15.0348341465 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 17.059438228607 secs since start
strJSON:
{"exportid":"68141","import_result":null,"import_error":"","fileurl":"GMImport_68141_1712763205_40529.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"MECHANICAL ENGINEERING","goldmine_email":"erik.nina@mechhvacsolutions.com","goldmine_phone":"8 (928) 123-45-45","mas_quote_number":"Q046698","mas_customer_number":"MEC0710"}
end: 17.086656093597 secs since start