Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Heritage Missouri
                    [Contact_First] => Justin
                    [Contact_Last] => Dornan
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63131
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 162625
                    [mascustnum] => HER6377
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 162625
                    [mas_cust_no] => HER6377
                )

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

            [billing] => Array
                (
                    [Company] => Heritage Missouri
                    [Contact_First] => Justin
                    [Contact_Last] => Dornan
                    [Address1] => 1015 Gupp Rd.
                    [Address2] => PO Box 31039
                    [Address3] => 
                    [City] => Des Peres
                    [State] => MO
                    [Zip] => 63131
                    [Country] => USA
                    [Email] => justin@heritagemissouri.com
                    [Phone] => (949) 371-7722
                )

            [shipping] => Array
                (
                    [ShipToName] => Heritage Missouri
                    [Address1] => 14607 Hwy B
                    [Address2] => ATTN: Justin Dornan
                    [Address3] => 949-371-7722
                    [Address4] => 
                    [Address5] => 
                    [City] => Perryville 
                    [State] => MO
                    [Zip] => 63775
                    [Country] => USA
                    [Email] => justin@heritagemissouri.com
                    [Phone] => (949) 371-7722
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 03/15/2024
                    [generate_quote] => true
                    [keep_sonum] => Q045488
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => justin@heritagemissouri.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Quote 
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 162625
    [mas_cust_no] => HER6377
    [mas_cust_exists] => true
    [exportid] => 66996
    [masquotenum] => Q045488
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 03/15/2024
    [generate_quote] => true
    [keep_sonum] => Q045488
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => justin@heritagemissouri.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Justin,

Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.

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] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 66996: 0.090910911560059 secs since start
Session ID: jfhbia0unouf4rhstq2c0c21n8
just before engaging cartlink ...: 0.090983867645264 secs since start
after most cartlink items ...: 0.091640949249268 secs since start
after getting new so num ...: 0.091651916503906 secs since start
after remaining cartlink items ...: 0.091671943664551 secs since start
SO Number: Q045488
just prior to terms gathering ...: 0.091683864593506 secs since start
after getting customer terms ...: 0.17423391342163 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL2500D-CCP
            [name] => CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 8 [price] => 3,740.00 [cost] => 2,336.66 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045488','CL2500D-CCP','CleanLeaf Model CL2500D-CCP, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','2336.66','8','8','3740.00','29920.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.19912004470825 secs since start
generating quote pdf ...
Temp file doesn't exist ... adding the PDFs individually ...

ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1710530915_8355.pdf
after merging and generating email/quote PDFs ...: 3.9477219581604 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=66996"}}
    [to[0]] => justin@heritagemissouri.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Justin,

Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.

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 Justin,Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.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_20240315142831_77834.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240315142831_77834.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] => 298
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.668455
    [namelookup_time] => 0.001492
    [connect_time] => 0.070176
    [pretransfer_time] => 0.218746
    [size_upload] => 80824
    [size_download] => 21
    [speed_download] => 31
    [speed_upload] => 120994
    [download_content_length] => 21
    [upload_content_length] => 80824
    [starttransfer_time] => 0.297015
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55764
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 218623
    [connect_time_us] => 70176
    [namelookup_time_us] => 1492
    [pretransfer_time_us] => 218746
    [redirect_time_us] => 0
    [starttransfer_time_us] => 297015
    [total_time_us] => 668455
)
after sending email to customer ...: 6.6191959381104 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Justin,

Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.

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 Justin,Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.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_20240315142831_77834.pdf [mime] => [postname] => Quote.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] => 298
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.584782
    [namelookup_time] => 0.001875
    [connect_time] => 0.072048
    [pretransfer_time] => 0.222126
    [size_upload] => 80425
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 137714
    [download_content_length] => 21
    [upload_content_length] => 80425
    [starttransfer_time] => 0.291305
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54866
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 221994
    [connect_time_us] => 72048
    [namelookup_time_us] => 1875
    [pretransfer_time_us] => 222126
    [redirect_time_us] => 0
    [starttransfer_time_us] => 291305
    [total_time_us] => 584782
)
after sending email to rep ...: 9.2061479091644 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJv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acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => justin@heritagemissouri.com
    [To] => justin@heritagemissouri.com
    [Date] => 2024-03-15 14:28:40
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => HER6377
    [email-html] => 

Hello Justin,

Thank you for your time on the phone today, attached is the revised quote for (8) units. I will add freight cost as soon as I hear back from Shipping. It may be Monday until I hear from them, but we can get everything wrapped up then.

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_20240315142831_77834.pdf [mime] => [postname] => Quote.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] => 225
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.2565
    [namelookup_time] => 0.001992
    [connect_time] => 0.020178
    [pretransfer_time] => 0.054738
    [size_upload] => 80260
    [size_download] => 79235
    [speed_download] => 309511
    [speed_upload] => 313515
    [download_content_length] => -1
    [upload_content_length] => 80260
    [starttransfer_time] => 0.074539
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 57984
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54632
    [connect_time_us] => 20178
    [namelookup_time_us] => 1992
    [pretransfer_time_us] => 54738
    [redirect_time_us] => 0
    [starttransfer_time_us] => 74539
    [total_time_us] => 256500
)
after pushing email and files into v2/timeline ...: 11.46498799324 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 11.6393699646 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 13.663625955582 secs since start
strJSON:
{"exportid":"66996","import_result":null,"import_error":"","fileurl":"GMImport_66996_1710530924_55978.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Heritage Missouri","goldmine_email":"justin@heritagemissouri.com","goldmine_phone":"(949) 371-7722","mas_quote_number":"Q045488","mas_customer_number":"HER6377"}
end: 13.684880971909 secs since start