Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad 
                    [Contact_Last] => Gregory
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 63021
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

            [mas_search] => Array
                (
                    [mas_cust_no] => GRE6302
                    [mas_cust_exists] => false
                )

            [billing] => Array
                (
                    [Company] => 
                    [Contact_First] => Brad 
                    [Contact_Last] => Gregory
                    [Address1] => TBD
                    [Address2] => 
                    [Address3] => 
                    [City] => 
                    [State] => 
                    [Zip] => 63021
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => 314-285-3305
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => TBD
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 63021
                    [Country] => USA
                    [Email] => bgregory17@gmail.com
                    [Phone] => 314-285-3305
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 01/24/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 7
                        )

                    [end_user_type] => Commercial
                    [reseller_type] => 
                    [application] => Odor
                    [goldmine_import] => true
                    [mas_import] => true
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => bgregory17@gmail.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/CL1250D-CCP Specs 11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 
    [mas_cust_no] => GRE6302
    [mas_cust_exists] => false
    [exportid] => 64439
    [masquotenum] => Q044808
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 01/24/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 7
        )

    [end_user_type] => Commercial
    [reseller_type] => 
    [application] => Odor
    [goldmine_import] => true
    [mas_import] => true
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => bgregory17@gmail.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Brad,

Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit. 

Please take a look and let me know if you have any questions at all. 

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-CCP Specs 11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 64439: 0.11984395980835 secs since start
Session ID: pcfi3bd21bj8mjnnh05jedihf0
just before engaging cartlink ...: 0.11993598937988 secs since start
after most cartlink items ...: 0.12078404426575 secs since start
after getting new so num ...: 0.26794409751892 secs since start
after remaining cartlink items ...: 0.26798105239868 secs since start
SO Number: Q044808
just prior to terms gathering ...: 0.26799297332764 secs since start
after getting customer terms ...: 0.35560011863708 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CCP
            [name] => CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated After-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] => 2,200.00 [cost] => 1,380.73 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCCP-1YRKIT [name] => 1 year kit of filters for CL1250D-CCP. Includes:

4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually)
8x CLF-C-100C (100% Activated Carbon Canister; changed annually)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)

*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 447.00 [cost] => 223.87 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044808','CL1250D-CCP','CleanLeaf Model CL1250D-CCP, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated After-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','1380.73','2','2','2200.00','4400.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044808','CLF-1250DCCP-1YRKIT','1 year kit of filters for CL1250D-CCP. Includes: 4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) 1x CLF-5502 (25x15x2 Pleated Afterfilter; changed annually) 8x CLF-C-100C (100% Activated Carbon Canister; changed annually) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','223.87','0','0','447.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.37645292282104 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1706131274_3431.pdf
after merging and generating email/quote PDFs ...: 5.4506840705872 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=64439"}}
    [to[0]] => bgregory17@gmail.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Brad,

Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit. 

Please take a look and let me know if you have any questions at all. 

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 Brad,Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit.  Please take a look and let me know if you have any questions at all. 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_20240124152109_16967.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1706131274_3431.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240124152109_16967.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1706131274_3431.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.657418
    [namelookup_time] => 0.001794
    [connect_time] => 0.063695
    [pretransfer_time] => 0.202136
    [size_upload] => 767253
    [size_download] => 21
    [speed_download] => 31
    [speed_upload] => 1167812
    [download_content_length] => 21
    [upload_content_length] => 767253
    [starttransfer_time] => 0.275469
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 60138
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 201961
    [connect_time_us] => 63695
    [namelookup_time_us] => 1794
    [pretransfer_time_us] => 202136
    [redirect_time_us] => 0
    [starttransfer_time_us] => 275469
    [total_time_us] => 657418
)
after sending email to customer ...: 8.1109240055084 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Brad,

Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit. 

Please take a look and let me know if you have any questions at all. 

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 Brad,Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit.  Please take a look and let me know if you have any questions at all. 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_20240124152109_16967.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1706131274_3431.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.573476
    [namelookup_time] => 0.002147
    [connect_time] => 0.042297
    [pretransfer_time] => 0.134186
    [size_upload] => 766861
    [size_download] => 21
    [speed_download] => 36
    [speed_upload] => 1338326
    [download_content_length] => 21
    [upload_content_length] => 766861
    [starttransfer_time] => 0.179931
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33284
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 134078
    [connect_time_us] => 42297
    [namelookup_time_us] => 2147
    [pretransfer_time_us] => 134186
    [redirect_time_us] => 0
    [starttransfer_time_us] => 179931
    [total_time_us] => 573476
)
after sending email to rep ...: 10.686574935913 secs since start
after inserting/updating customer in v2 ...: 22.066559076309 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQnJhZCw8L3A+PHA+R3JlYXQgdGFsa2luZyB0byB5b3UsIGF0dGFjaGVkIGlzIHRoZSBxdW90ZSBhbmQgbGl0ZXJhdHVyZSBmb3IgdGhlICgyKSB1bml0cyB3ZSBkaXNjdXNzZWQuIEkgYWxzbyBzaG93IG9uZSB5ZWFyIGZpbHRlciByZXBsYWNlbWVudCBraXQgcHJpY2luZyBzbyB5b3Uga25vdyB3aGF0IHlvdSdyZSBnZXR0aW5nIGludG8gZm9yIGFubnVhbCBjb3N0cyBwZXIgdW5pdC4mbmJzcDs8L3A+PHA+IFBsZWFzZSB0YWtlIGEgbG9vayBhbmQgbGV0IG1lIGtub3cgaWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucyBhdCBhbGwuJm5ic3A7PC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3057381
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => bgregory17@gmail.com
    [To] => bgregory17@gmail.com
    [Date] => 2024-01-24 15:21:30
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => GRE6302
    [email-html] => 

Hello Brad,

Great talking to you, attached is the quote and literature for the (2) units we discussed. I also show one year filter replacement kit pricing so you know what you're getting into for annual costs per unit. 

Please take a look and let me know if you have any questions at all. 

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_20240124152109_16967.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1706131274_3431.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] => 16.26021
    [namelookup_time] => 0.001975
    [connect_time] => 0.019907
    [pretransfer_time] => 0.05447
    [size_upload] => 766608
    [size_download] => 765505
    [speed_download] => 47079
    [speed_upload] => 47146
    [download_content_length] => -1
    [upload_content_length] => 766608
    [starttransfer_time] => 0.073737
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 56794
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54389
    [connect_time_us] => 19907
    [namelookup_time_us] => 1975
    [pretransfer_time_us] => 54470
    [redirect_time_us] => 0
    [starttransfer_time_us] => 73737
    [total_time_us] => 16260210
)
after pushing email and files into v2/timeline ...: 40.32937502861 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 40.571053981781 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 42.606256008148 secs since start
strJSON:
{"exportid":"64439","import_result":null,"import_error":"","fileurl":"GMImport_64439_1706131311_30382.acsopa","email_result":"success","goldmine_import":null,"mas_import":"true","generate_quote":"true","goldmine_company":"","goldmine_email":"bgregory17@gmail.com","goldmine_phone":"314-285-3305","mas_quote_number":"Q044808","mas_customer_number":"GRE6302"}
end: 42.630094051361 secs since start