Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Filtersource.com Inc
                    [Contact_First] => Brian
                    [Contact_Last] => Roberts
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 10003-1502
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 150007
                    [mascustnum] => FIL100A
                )

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

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

            [billing] => Array
                (
                    [Company] => Filtersource.com Inc
                    [Contact_First] => Brian
                    [Contact_Last] => Roberts
                    [Address1] => 228 Park Ave South PMB 39157
                    [Address2] => 
                    [Address3] => 
                    [City] => New York
                    [State] => NY
                    [Zip] => 10003-1502
                    [Country] => USA
                    [Email] => brian@filtersource.com
                    [Phone] => (888) 968-3458
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => brian@filtersource.com
                    [Phone] => (888) 968-3458
                )

            [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] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => brian@filtersource.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-CF Specs 11-13-22.pdf
                            [2] => /mnt/product_media/RM-1250D-INLET-12IN.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 150007
    [mas_cust_no] => FIL100A
    [mas_cust_exists] => true
    [exportid] => 62442
    [masquotenum] => Q043711
    [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] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => brian@filtersource.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Brian,

Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. 

Please 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/CL1250D-CF Specs 11-13-22.pdf [2] => /mnt/product_media/RM-1250D-INLET-12IN.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 62442: 0.085856914520264 secs since start
Session ID: 3i300td47efu5ghle0jf6v9jur
just before engaging cartlink ...: 0.085942983627319 secs since start
after most cartlink items ...: 0.086649894714355 secs since start
after getting new so num ...: 0.23121786117554 secs since start
after remaining cartlink items ...: 0.23125195503235 secs since start
SO Number: Q043711
just prior to terms gathering ...: 0.23126792907715 secs since start
after getting customer terms ...: 0.31183290481567 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,865.00 [cost] => 1,165.33 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet and Outlet Transitions for 1250D series air cleaners [qty] => 2 [price] => 400.00 [cost] => 159.05 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043711','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','1165.33','1','1','1865.00','1865.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q043711','RM-1250D-INLET-12IN','Inlet and Outlet Transitions for 1250D series air cleaners','Y','159.05','2','2','400.00','800.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33479785919189 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF Specs 11-13-22.pdf
    [2] => /mnt/product_media/RM-1250D-INLET-12IN.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1701961935_9684.pdf
after merging and generating email/quote PDFs ...: 4.2021980285645 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=62442"}}
    [to[0]] => brian@filtersource.com
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Brian,

Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. 

Please 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 Brian,Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. Please 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_20231207091211_68593.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1701961935_9684.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20231207091211_68593.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1701961935_9684.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] => 7.697478
    [namelookup_time] => 0.002176
    [connect_time] => 7.202571
    [pretransfer_time] => 7.293734
    [size_upload] => 928824
    [size_download] => 21
    [speed_download] => 2
    [speed_upload] => 120673
    [download_content_length] => 21
    [upload_content_length] => 928824
    [starttransfer_time] => 7.33303
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 40290
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 7293638
    [connect_time_us] => 7202571
    [namelookup_time_us] => 2176
    [pretransfer_time_us] => 7293734
    [redirect_time_us] => 0
    [starttransfer_time_us] => 7333030
    [total_time_us] => 7697478
)
after sending email to customer ...: 13.903012990952 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Brian,

Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. 

Please 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 Brian,Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. Please 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_20231207091211_68593.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1701961935_9684.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.45528
    [namelookup_time] => 0.001861
    [connect_time] => 0.041021
    [pretransfer_time] => 0.130997
    [size_upload] => 928430
    [size_download] => 21
    [speed_download] => 46
    [speed_upload] => 2040505
    [download_content_length] => 21
    [upload_content_length] => 928430
    [starttransfer_time] => 0.170748
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.59
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 45060
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 130837
    [connect_time_us] => 41021
    [namelookup_time_us] => 1861
    [pretransfer_time_us] => 130997
    [redirect_time_us] => 0
    [starttransfer_time_us] => 170748
    [total_time_us] => 455280
)
after sending email to rep ...: 16.360548973083 secs since start
after inserting/updating customer in v2 ...: 16.448360919952 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQnJpYW4sPC9wPjxwPlRoYW5rcyBhZ2FpbiBmb3IgYnJpbmdpbmcgd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wvYm9keT48L2h0bWw+
v2_mailid: 2957041
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => brian@filtersource.com
    [To] => brian@filtersource.com
    [Date] => 2023-12-07 09:12:27
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => FIL100A
    [email-html] => 

Hello Brian,

Thanks again for bringing us this opportunity, attached is the quote and literature for the unit and transitions that we discussed with your customer. I would recommend charging them $2500 for the unit and add 20-30% to the transitions, but you can mark it up as you see fit. 

Please 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_20231207091211_68593.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1701961935_9684.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] => 5.085104
    [namelookup_time] => 0.001758
    [connect_time] => 0.019823
    [pretransfer_time] => 0.051852
    [size_upload] => 928129
    [size_download] => 927022
    [speed_download] => 182305
    [speed_upload] => 182522
    [download_content_length] => -1
    [upload_content_length] => 928129
    [starttransfer_time] => 0.071479
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 42432
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 51770
    [connect_time_us] => 19823
    [namelookup_time_us] => 1758
    [pretransfer_time_us] => 51852
    [redirect_time_us] => 0
    [starttransfer_time_us] => 71479
    [total_time_us] => 5085104
)
after pushing email and files into v2/timeline ...: 23.536293029785 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 23.690288066864 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 25.714031934738 secs since start
strJSON:
{"exportid":"62442","import_result":null,"import_error":"","fileurl":"GMImport_62442_1701961956_88956.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Filtersource.com Inc","goldmine_email":"brian@filtersource.com","goldmine_phone":"(888) 968-3458","mas_quote_number":"Q043711","mas_customer_number":"FIL100A"}
end: 25.737297058105 secs since start