Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Hydro 45
                    [Contact_First] => Leo
                    [Contact_Last] => Grant
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 49690
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 155990
                    [mascustnum] => HYD4969
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 155990
                    [mas_cust_no] => HYD4969
                )

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

            [billing] => Array
                (
                    [Company] => Hydro 45
                    [Contact_First] => Leo
                    [Contact_Last] => Grant
                    [Address1] => 5549 Bates Road
                    [Address2] => 
                    [Address3] => 
                    [City] => Williamsburg
                    [State] => MI
                    [Zip] => 49690
                    [Country] => USA
                    [Email] => Leo@hydro45.com
                    [Phone] => (231) 267-9001
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => Leo@hydro45.com
                    [Phone] => (231) 267-9001
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 12/07/2023
                    [application] => Contaminants
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 3-4 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => Leo@hydro45.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/CL1100-HE.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 155990
    [mas_cust_no] => HYD4969
    [mas_cust_exists] => true
    [exportid] => 62449
    [masquotenum] => Q043716
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 12/07/2023
    [application] => Contaminants
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 3-4 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => Leo@hydro45.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Leo,

Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. 

Please review and let me know if you have any questions or concerns.

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/CL1100-HE.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.1457672119141E-6 secs since start
after getting new exportid ... 62449: 0.087954998016357 secs since start
Session ID: 3i300td47efu5ghle0jf6v9jur
just before engaging cartlink ...: 0.08801794052124 secs since start
after most cartlink items ...: 0.088727951049805 secs since start
after getting new so num ...: 0.22768592834473 secs since start
after remaining cartlink items ...: 0.22771406173706 secs since start
SO Number: Q043716
just prior to terms gathering ...: 0.22772407531738 secs since start
after getting customer terms ...: 0.31306099891663 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1100-HE
            [name] => CleanLeaf Model CL1100-HE, 1,100 CFM Media Filtration System w/ HEPA After Filter. 
Airflow reduced to 800 CFM w/ HEPA after filter installed.
Cabinet: 20"W x 15"T x 44" Long - 16GA CRS
Power: 115V 60Hz Single Phase 3.5 Amps
Filter Stage 1: 20x15x 1" Washable Foam Prefilter
Filter Stage 2: 20x15x12"L 95% (ASHRAE) 6 Pocket Bag Filter
Filter Stage 3: 12x18x12 99.97% HEPA Afterfilter [qty] => 2 [price] => 2,228.00 [cost] => 1,336.57 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLP-EYEBLTS [name] => Eyebolts 4 Eyebolts (Installed on unit at the Factory)

[qty] => 2 [price] => 0.00 [cost] => 45.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043716','CL1100-HE','CleanLeaf Model CL1100-HE, 1,100 CFM Media Filtration System w/ HEPA After Filter. Airflow reduced to 800 CFM w/ HEPA after filter installed. Cabinet: 20"W x 15"T x 44" Long - 16GA CRS Power: 115V 60Hz Single Phase 3.5 Amps Filter Stage 1: 20x15x 1" Washable Foam Prefilter Filter Stage 2: 20x15x12"L 95% (ASHRAE) 6 Pocket Bag Filter Filter Stage 3: 12x18x12 99.97% HEPA Afterfilter','Y','1336.57','2','2','2228.00','4456.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043716','CLP-EYEBLTS','Eyebolts 4 Eyebolts (Installed on unit at the Factory) ','Y','45.00','2','2','0.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33579611778259 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1100-HE.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1701963910_4972.pdf
after merging and generating email/quote PDFs ...: 5.1394410133362 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=62449"}}
    [to[0]] => Leo@hydro45.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Leo,

Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. 

Please review and let me know if you have any questions or concerns.

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 Leo,Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. Please review and let me know if you have any questions or concerns.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_20231207094505_94506.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1701963910_4972.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231207094505_94506.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1701963910_4972.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.888649
    [namelookup_time] => 0.001738
    [connect_time] => 0.072199
    [pretransfer_time] => 0.224943
    [size_upload] => 2403973
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 2707176
    [download_content_length] => 21
    [upload_content_length] => 2403973
    [starttransfer_time] => 0.29856
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 51964
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 224843
    [connect_time_us] => 72199
    [namelookup_time_us] => 1738
    [pretransfer_time_us] => 224943
    [redirect_time_us] => 0
    [starttransfer_time_us] => 298560
    [total_time_us] => 888649
)
after sending email to customer ...: 8.0309829711914 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Leo,

Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. 

Please review and let me know if you have any questions or concerns.

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 Leo,Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. Please review and let me know if you have any questions or concerns.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_20231207094505_94506.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1701963910_4972.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.875329
    [namelookup_time] => 0.001991
    [connect_time] => 0.070594
    [pretransfer_time] => 0.221
    [size_upload] => 2403586
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2746955
    [download_content_length] => 21
    [upload_content_length] => 2403586
    [starttransfer_time] => 0.291921
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 48114
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 220895
    [connect_time_us] => 70594
    [namelookup_time_us] => 1991
    [pretransfer_time_us] => 221000
    [redirect_time_us] => 0
    [starttransfer_time_us] => 291921
    [total_time_us] => 875329
)
after sending email to rep ...: 10.908342123032 secs since start
after inserting/updating customer in v2 ...: 10.987721920013 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gTGVvLDwvcD48cD5UaGFuayB5b3UgZm9yIHJlYWNoaW5nIG91dCwgYXR0YWNoZWQgaXMgdGhlIHF1b3RlIGFuZCBsaXRlcmF0dXJlIGZvciAoMikgQ0wxMTAwLUhFIHVuaXRzIHdpdGggZXllLWJvbHRzIGZvciBoYW5naW5nIHRoZW0uJm5ic3A7PC9wPjxwPlBsZWFzZSByZXZpZXcgYW5kIGxldCBtZSBrbm93IGlmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMgb3IgY29uY2VybnMuPC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 2957182
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => Leo@hydro45.com
    [To] => Leo@hydro45.com
    [Date] => 2023-12-07 09:45:16
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => HYD4969
    [email-html] => 

Hello Leo,

Thank you for reaching out, attached is the quote and literature for (2) CL1100-HE units with eye-bolts for hanging them. 

Please review and let me know if you have any questions or concerns.

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_20231207094505_94506.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1701963910_4972.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] => 5.988592
    [namelookup_time] => 0.001504
    [connect_time] => 0.019564
    [pretransfer_time] => 0.057073
    [size_upload] => 2403416
    [size_download] => 2402323
    [speed_download] => 401189
    [speed_upload] => 401372
    [download_content_length] => -1
    [upload_content_length] => 2403416
    [starttransfer_time] => 0.076829
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 47880
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56990
    [connect_time_us] => 19564
    [namelookup_time_us] => 1504
    [pretransfer_time_us] => 57073
    [redirect_time_us] => 0
    [starttransfer_time_us] => 76829
    [total_time_us] => 5988592
)
after pushing email and files into v2/timeline ...: 18.979146957397 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 19.134426116943 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 21.158713102341 secs since start
strJSON:
{"exportid":"62449","import_result":null,"import_error":"","fileurl":"GMImport_62449_1701963926_75023.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Hydro 45","goldmine_email":"Leo@hydro45.com","goldmine_phone":"(231) 267-9001","mas_quote_number":"Q043716","mas_customer_number":"HYD4969"}
end: 21.181478977203 secs since start