Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => RTG Industries
                    [Contact_First] => Nick
                    [Contact_Last] => Testa
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 02822
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 147234
                    [mascustnum] => RTG0282
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 147234
                    [mas_cust_no] => RTG0282
                )

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

            [billing] => Array
                (
                    [Company] => RTG Industries
                    [Contact_First] => Nick
                    [Contact_Last] => Testa
                    [Address1] => 315 B Nooseneck Hill Rd.
                    [Address2] => 
                    [Address3] => 
                    [City] => Exeter
                    [State] => RI
                    [Zip] => 02822
                    [Country] => USA
                    [Email] => nick@hanksherbs.com
                    [Phone] => (401) 741-2850
                )

            [shipping] => Array
                (
                    [ShipToName] => RTG Industries
                    [Address1] => 315 B Nooseneck Hill Rd.
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Exeter
                    [State] => RI
                    [Zip] => 02822
                    [Country] => USA
                    [Email] => nick@hanksherbs.com
                    [Phone] => (401) 741-2850
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => high
                    [forecasting_expected_close_date] => 12/07/2023
                    [generate_quote] => true
                    [keep_sonum] => Q043442
                    [change_notes] => changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 3 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => nick@hanksherbs.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] => 147234
    [mas_cust_no] => RTG0282
    [mas_cust_exists] => true
    [exportid] => 62465
    [masquotenum] => Q043442
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => high
    [forecasting_expected_close_date] => 12/07/2023
    [generate_quote] => true
    [keep_sonum] => Q043442
    [change_notes] => changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 3 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => nick@hanksherbs.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Nick,

Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. 

Let me know if you have any questions.

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 ... 62465: 0.087267875671387 secs since start
Session ID: gbj9jehcf1pb46op0m2hqaacce
just before engaging cartlink ...: 0.087333917617798 secs since start
after most cartlink items ...: 0.088144063949585 secs since start
after getting new so num ...: 0.08815598487854 secs since start
after remaining cartlink items ...: 0.088165044784546 secs since start
SO Number: Q043442
just prior to terms gathering ...: 0.088180065155029 secs since start
after getting customer terms ...: 0.17731904983521 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 1 [price] => 1,980.00 [cost] => 1,792.86 [pdfFileURL] => ) [1] => Array ( [sku] => CLP-LBRKTS [name] => L Brackets M-11 "L" Mounting Brackets (set of 2)

[qty] => 1 [price] => 162.00 [cost] => 105.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCF-1YRKIT [name] => 1 year kit of filters for CL1250D-CF. Includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
+2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; 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] => 262.00 [cost] => 131.18 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043442','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1792.86','1','1','1980.00','1980.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043442','CLP-LBRKTS','L Brackets M-11 "L" Mounting Brackets (set of 2) ','Y','105.00','1','1','162.00','162.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043442','CLF-1250DCF-1YRKIT','1 year kit of filters for CL1250D-CF. Includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) +2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','131.18','1','1','262.00','262.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.21397805213928 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_1701968329_5578.pdf
after merging and generating email/quote PDFs ...: 4.1021440029144 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=62465"}}
    [to[0]] => nick@hanksherbs.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Nick,

Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. 

Let me know if you have any questions.

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] => Nick,Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. Let me know if you have any questions.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_20231207105845_89075.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231207105845_89075.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.431874
    [namelookup_time] => 0.002143
    [connect_time] => 0.041009
    [pretransfer_time] => 0.130319
    [size_upload] => 877623
    [size_download] => 21
    [speed_download] => 48
    [speed_upload] => 2036248
    [download_content_length] => 21
    [upload_content_length] => 877623
    [starttransfer_time] => 0.174082
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 36854
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130202
    [connect_time_us] => 41009
    [namelookup_time_us] => 2143
    [pretransfer_time_us] => 130319
    [redirect_time_us] => 0
    [starttransfer_time_us] => 174082
    [total_time_us] => 431874
)
after sending email to customer ...: 6.5369520187378 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Nick,

Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. 

Let me know if you have any questions.

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] => Nick,Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. Let me know if you have any questions.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_20231207105845_89075.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] => 299
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.408646
    [namelookup_time] => 0.002404
    [connect_time] => 0.038352
    [pretransfer_time] => 0.124688
    [size_upload] => 877232
    [size_download] => 21
    [speed_download] => 51
    [speed_upload] => 2150078
    [download_content_length] => 21
    [upload_content_length] => 877232
    [starttransfer_time] => 0.165407
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.54
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54782
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 124532
    [connect_time_us] => 38352
    [namelookup_time_us] => 2404
    [pretransfer_time_us] => 124688
    [redirect_time_us] => 0
    [starttransfer_time_us] => 165407
    [total_time_us] => 408646
)
after sending email to rep ...: 8.9483289718628 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+Tmljayw8L3A+PHA+QXR0YWNoZWQgaXMgdGhlIHJldmlzZWQgcXVvdGUgaW5jbHVkaW5nIHRoZSBMLWJyYWNrZXRzIGFuZCBhbiBhZGRpdGlvbmFsIHllYXJzIHdvcnRoIG9mIGZpbHRlcnMuIElmIHlvdSBkb24ndCBuZWVkIHRoZSBhZGRpdGlvbmFsIHllYXIga2l0LCBsZXQgbWUga25vdyBhbmQgSSB3aWxsIHJlbW92ZSBpdC4mbmJzcDs8L3A+PHA+TGV0IG1lIGtub3cgaWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucy48L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 2957523
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => nick@hanksherbs.com
    [To] => nick@hanksherbs.com
    [Date] => 2023-12-07 10:58:54
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => RTG0282
    [email-html] => 

Nick,

Attached is the revised quote including the L-brackets and an additional years worth of filters. If you don't need the additional year kit, let me know and I will remove it. 

Let me know if you have any questions.

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_20231207105845_89075.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] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 6.326363
    [namelookup_time] => 0.00195
    [connect_time] => 0.037899
    [pretransfer_time] => 0.092092
    [size_upload] => 877076
    [size_download] => 876060
    [speed_download] => 138485
    [speed_upload] => 138646
    [download_content_length] => -1
    [upload_content_length] => 877076
    [starttransfer_time] => 0.131398
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 41576
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 91876
    [connect_time_us] => 37899
    [namelookup_time_us] => 1950
    [pretransfer_time_us] => 92092
    [redirect_time_us] => 0
    [starttransfer_time_us] => 131398
    [total_time_us] => 6326363
)
after pushing email and files into v2/timeline ...: 17.277602910995 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.494095087051 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.518606901169 secs since start
strJSON:
{"exportid":"62465","import_result":null,"import_error":"","fileurl":"GMImport_62465_1701968344_47493.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"RTG Industries","goldmine_email":"nick@hanksherbs.com","goldmine_phone":"(401) 741-2850","mas_quote_number":"Q043442","mas_customer_number":"RTG0282"}
end: 19.541898965836 secs since start