Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Delta Construction and Electri
                    [Contact_First] => Steaven
                    [Contact_Last] => Ballesteros
                    [Contact_Email] => steaven@deltagc.com
                    [Contact_Phone] => 9165020467
                    [contactid] => 131890
                    [Zip] => 90065
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 146960
                    [mascustnum] => DEL9003
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 146960
                    [mas_cust_no] => DEL9003
                )

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

            [billing] => Array
                (
                    [Company] => Delta Construction and Electri
                    [Contact_First] => Steaven
                    [Contact_Last] => Ballesteros
                    [Address1] => 2325 N San Fernando Rd
                    [Address2] => 
                    [Address3] => 
                    [City] => Los Angeles
                    [State] => CA
                    [Zip] => 90065
                    [Country] => USA
                    [Email] => steaven@deltagc.com
                    [Phone] => 9165020467
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 42020 4th St. E
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Lancaster 
                    [State] => CA
                    [Zip] => 93535
                    [Country] => USA
                    [Email] => steaven@deltagc.com
                    [Phone] => 9165020467
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 03/19/2024
                    [generate_quote] => true
                    [keep_sonum] => Q041186
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => quote
                    [freight_estimate_value] => 195.00
                    [lead_time] => 1-2 Days
                    [email_quote] => true
                    [email_quote_to] => steaven@deltagc.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/cl400_compressed.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 146960
    [mas_cust_no] => DEL9003
    [mas_cust_exists] => true
    [exportid] => 67078
    [masquotenum] => Q041186
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 03/19/2024
    [generate_quote] => true
    [keep_sonum] => Q041186
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => quote
    [freight_estimate_value] => 195.00
    [lead_time] => 1-2 Days
    [email_quote] => true
    [email_quote_to] => steaven@deltagc.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Steven,

Thank you for reaching out, attached is the quote and literature for (3) units including shipping. 

Please let me know if I can help.


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/cl400_compressed.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 67078: 0.096755981445312 secs since start
Session ID: 1v7cm09fcne6rk36jis75ele3l
just before engaging cartlink ...: 0.096834897994995 secs since start
after most cartlink items ...: 0.097522020339966 secs since start
after getting new so num ...: 0.097534894943237 secs since start
after remaining cartlink items ...: 0.097563028335571 secs since start
SO Number: Q041186
just prior to terms gathering ...: 0.09757399559021 secs since start
after getting customer terms ...: 0.18728303909302 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL400
            [name] => CleanLeaf Model CL400, 400 CFM Self-Contained Odor Mitigation & Filtration System

Fully Portable unit with Casters

Filter Stage 1: 99.97 Round HEPA

Filter Stage 2: 15 lbs. of Carbon/Zeolite [qty] => 3 [price] => 600.00 [cost] => 429.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q041186','CL400','CleanLeaf Model CL400, 400 CFM Self-Contained Odor Mitigation & Filtration System Fully Portable unit with Casters Filter Stage 1: 99.97 Round HEPA Filter Stage 2: 15 lbs. of Carbon/Zeolite','Y','429.00','3','3','600.00','1800.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.21970796585083 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/cl400_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1710857720_8890.pdf
after merging and generating email/quote PDFs ...: 5.5122270584106 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=67078"}}
    [to[0]] => steaven@deltagc.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Steven,

Thank you for reaching out, attached is the quote and literature for (3) units including shipping. 

Please let me know if I can help.


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 Steven,Thank you for reaching out, attached is the quote and literature for (3) units including shipping. Please let me know if I can help.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_20240319091514_53026.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1710857720_8890.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240319091514_53026.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1710857720_8890.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.889745
    [namelookup_time] => 0.00206
    [connect_time] => 0.087839
    [pretransfer_time] => 0.274954
    [size_upload] => 389705
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 438363
    [download_content_length] => 21
    [upload_content_length] => 389705
    [starttransfer_time] => 0.37184
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 59294
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 274829
    [connect_time_us] => 87839
    [namelookup_time_us] => 2060
    [pretransfer_time_us] => 274954
    [redirect_time_us] => 0
    [starttransfer_time_us] => 371840
    [total_time_us] => 889745
)
after sending email to customer ...: 8.4060790538788 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Steven,

Thank you for reaching out, attached is the quote and literature for (3) units including shipping. 

Please let me know if I can help.


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 Steven,Thank you for reaching out, attached is the quote and literature for (3) units including shipping. Please let me know if I can help.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_20240319091514_53026.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1710857720_8890.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.793114
    [namelookup_time] => 0.001957
    [connect_time] => 0.07528
    [pretransfer_time] => 0.239569
    [size_upload] => 389314
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 490938
    [download_content_length] => 21
    [upload_content_length] => 389314
    [starttransfer_time] => 0.317875
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33702
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 239446
    [connect_time_us] => 75280
    [namelookup_time_us] => 1957
    [pretransfer_time_us] => 239569
    [redirect_time_us] => 0
    [starttransfer_time_us] => 317875
    [total_time_us] => 793114
)
after sending email to rep ...: 11.201354026794 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gU3RldmVuLDwvcD48cD5UaGFuayB5b3UgZm9yIHJlYWNoaW5nIG91dCwgYXR0YWNoZWQgaXMgdGhlIHF1b3RlIGFuZCBsaXRlcmF0dXJlIGZvciAoMykgdW5pdHMgaW5jbHVkaW5nIHNoaXBwaW5nLiZuYnNwOzwvcD48cD5QbGVhc2UgbGV0IG1lIGtub3cgaWYgSSBjYW4gaGVscC48L3A+PHA+PGJyPjwvcD48ZGl2PjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5EYW4gU2Nocm9lZGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTExPGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+ZGFuQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3170199
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => steaven@deltagc.com
    [To] => steaven@deltagc.com
    [Date] => 2024-03-19 09:15:25
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => DEL9003
    [email-html] => 

Hello Steven,

Thank you for reaching out, attached is the quote and literature for (3) units including shipping. 

Please let me know if I can help.


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_20240319091514_53026.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1710857720_8890.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] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.606648
    [namelookup_time] => 0.001554
    [connect_time] => 0.019463
    [pretransfer_time] => 0.051399
    [size_upload] => 389207
    [size_download] => 388095
    [speed_download] => 640420
    [speed_upload] => 642255
    [download_content_length] => -1
    [upload_content_length] => 389207
    [starttransfer_time] => 0.071059
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 60952
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 51326
    [connect_time_us] => 19463
    [namelookup_time_us] => 1554
    [pretransfer_time_us] => 51399
    [redirect_time_us] => 0
    [starttransfer_time_us] => 71059
    [total_time_us] => 606648
)
after pushing email and files into v2/timeline ...: 13.810302972794 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.046725034714 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.071141958237 secs since start
strJSON:
{"exportid":"67078","import_result":null,"import_error":"","fileurl":"GMImport_67078_1710857730_69334.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Delta Construction and Electri","goldmine_email":"steaven@deltagc.com","goldmine_phone":"9165020467","mas_quote_number":"Q041186","mas_customer_number":"DEL9003"}
end: 16.095532894135 secs since start