Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Brothers Mechanical 
                    [Contact_First] => Bart
                    [Contact_Last] => Viviano
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 08088
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                )

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

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

            [billing] => Array
                (
                    [Company] => Brothers Mechanical 
                    [Contact_First] => Bart
                    [Contact_Last] => Viviano
                    [Address1] => 89 Willow Grove Road, Suite A
                    [Address2] => 
                    [Address3] => 
                    [City] => Shamong
                    [State] => NJ
                    [Zip] => 08088
                    [Country] => USA
                    [Email] => bartv@brothersmechanical.org
                    [Phone] => 856-347-4707
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => 
                    [State] => 
                    [Zip] => 
                    [Country] => USA
                    [Email] => bartv@brothersmechanical.org
                    [Phone] => 856-347-4707
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 03/28/2025
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 4
                        )

                    [end_user_type] => Commercial
                    [is_reseller] => 1
                    [reseller_type] => Mechanical Contractor
                    [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] => bartv@brothersmechanical.org
                    [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] => BRO0808
    [mas_cust_exists] => false
    [exportid] => 80333
    [masquotenum] => Q053281
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 03/28/2025
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 4
        )

    [end_user_type] => Commercial
    [is_reseller] => 1
    [reseller_type] => Mechanical Contractor
    [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] => bartv@brothersmechanical.org
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Quote 
    [email_quote_body] => 

Hello Bart,

Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions.

 

***Shipping is not included***


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 ... 80333: 0.20243096351624 secs since start
Session ID: i7v6qf2evokilgko2u5bion6rc
just before engaging cartlink ...: 0.2025101184845 secs since start
after most cartlink items ...: 0.20339012145996 secs since start
after getting new so num ...: 0.54289793968201 secs since start
after remaining cartlink items ...: 0.54293394088745 secs since start
SO Number: Q053281
just prior to terms gathering ...: 0.54294896125793 secs since start
after getting customer terms ...: 0.73850512504578 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)

*Ambient. Upgrade to DC motor available for ducted units; service charge applies. [qty] => 6 [price] => 2,100.00 [cost] => 1,313.88 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053281','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) *Ambient. Upgrade to DC motor available for ducted units; service charge applies.','Y','1313.88','6','6','2100.00','12600.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.76115107536316 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_1738702963_9000.pdf
after merging and generating email/quote PDFs ...: 5.3938369750977 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=80333"}}
    [to[0]] => bartv@brothersmechanical.org
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Bart,

Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions.

 

***Shipping is not included***


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 Bart,Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions. ***Shipping is not included***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_20250204150239_76734.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1738702963_9000.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250204150239_76734.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1738702963_9000.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] => 445
    [request_size] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.826617
    [namelookup_time] => 0.00193
    [connect_time] => 0.066276
    [pretransfer_time] => 0.209605
    [size_upload] => 584116
    [size_download] => 21
    [speed_download] => 25
    [speed_upload] => 707162
    [download_content_length] => 21
    [upload_content_length] => 584116
    [starttransfer_time] => 0.277769
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 40716
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 209500
    [connect_time_us] => 66276
    [namelookup_time_us] => 1930
    [pretransfer_time_us] => 209605
    [redirect_time_us] => 0
    [starttransfer_time_us] => 277769
    [total_time_us] => 826617
)
after sending email to customer ...: 8.2267100811005 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf Quote 
    [html] => 

Hello Bart,

Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions.

 

***Shipping is not included***


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 Bart,Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions. ***Shipping is not included***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_20250204150239_76734.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1738702963_9000.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] => 445
    [request_size] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.724962
    [namelookup_time] => 0.00204
    [connect_time] => 0.066075
    [pretransfer_time] => 0.204594
    [size_upload] => 583716
    [size_download] => 21
    [speed_download] => 29
    [speed_upload] => 806237
    [download_content_length] => 21
    [upload_content_length] => 583716
    [starttransfer_time] => 0.271524
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 49448
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 204431
    [connect_time_us] => 66075
    [namelookup_time_us] => 2040
    [pretransfer_time_us] => 204594
    [redirect_time_us] => 0
    [starttransfer_time_us] => 271524
    [total_time_us] => 724962
)
after sending email to rep ...: 10.95361495018 secs since start
after inserting/updating customer in v2 ...: 11.339179992676 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQmFydCw8L3A+PHA+VGhhbmsgeW91IGZvciB0aGUgb3Bwb3J0dW5pdHksIHBsZWFzZSBzZWUgYXR0YWNoZWQgcXVvdGUgZm9yIHRoZSAoNikgdW5pdHMgcmVxdWVzdGVkIGFuZCBsZXQgbWUga25vdyBpZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zLjwvcD48cD4mbmJzcDs8L3A+PHA+KioqU2hpcHBpbmcgaXMgbm90IGluY2x1ZGVkKioqPC9wPjxwPjxicj48L3A+PGRpdj48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+RGFuIFNjaHJvZWRlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExMTxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmRhbkBhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3882108
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => bartv@brothersmechanical.org
    [To] => bartv@brothersmechanical.org
    [Date] => 2025-02-04 15:02:49
    [subject] => Your CleanLeaf Quote 
    [mas-customer-no] => BRO0808
    [email-html] => 

Hello Bart,

Thank you for the opportunity, please see attached quote for the (6) units requested and let me know if you have any questions.

 

***Shipping is not included***


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_20250204150239_76734.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1738702963_9000.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] => 650
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.533377
    [namelookup_time] => 0.001668
    [connect_time] => 0.047752
    [pretransfer_time] => 0.111929
    [size_upload] => 583603
    [size_download] => 582466
    [speed_download] => 379951
    [speed_upload] => 380693
    [download_content_length] => -1
    [upload_content_length] => 583603
    [starttransfer_time] => 0.159648
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 39358
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 111808
    [connect_time_us] => 47752
    [namelookup_time_us] => 1668
    [pretransfer_time_us] => 111929
    [redirect_time_us] => 0
    [starttransfer_time_us] => 159648
    [total_time_us] => 1533377
)
after pushing email and files into v2/timeline ...: 14.876487970352 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 15.211487054825 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 17.267754077911 secs since start
strJSON:
{"exportid":"80333","import_result":null,"import_error":"","fileurl":"GMImport_80333_1738702975_48889.acsopa","email_result":"success","goldmine_import":null,"mas_import":"true","generate_quote":"true","goldmine_company":"Brothers Mechanical ","goldmine_email":"bartv@brothersmechanical.org","goldmine_phone":"856-347-4707","mas_quote_number":"Q053281","mas_customer_number":"BRO0808"}
end: 17.288370132446 secs since start