Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => AC Mechanical
                    [Contact_First] => Joe
                    [Contact_Last] => Capilato
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 08330
                    [Email] => dbolf@acmechanicalllc.com
                    [Phone] => 6093830077
                    [place_id] => 
                    [customerid] => 7629
                    [mascustnum] => ACM0820
                )

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

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

            [billing] => Array
                (
                    [Company] => AC Mechanical
                    [Contact_First] => Joe
                    [Contact_Last] => Capilato
                    [Address1] => 523 Leipzig Ave
                    [Address2] => PO: 20041-8
                    [Address3] => 
                    [City] => Mays Landing
                    [State] => NJ
                    [Zip] => 08330
                    [Country] => USA
                    [Email] => dbolf@acmechanicalllc.com
                    [Phone] => (609) 383-0077
                )

            [shipping] => Array
                (
                    [ShipToName] => AC Mechanical
                    [Address1] => 523 Leipzig Ave
                    [Address2] => PO: 20041-8
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Mays Landing
                    [State] => NJ
                    [Zip] => 08330
                    [Country] => USA
                    [Email] => dbolf@acmechanicalllc.com
                    [Phone] => (609) 383-0077
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 02/28/2025
                    [customer_tags] => Array
                        (
                            [0] => 16
                            [1] => 17
                            [2] => 4
                        )

                    [application] => other
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 3-4 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => Joe@acmechanicalllc.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Air Filtration Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf
                            [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
                            [6] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 7629
    [mas_cust_no] => ACM0820
    [mas_cust_exists] => true
    [exportid] => 80451
    [masquotenum] => Q053343
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 02/28/2025
    [customer_tags] => Array
        (
            [0] => 16
            [1] => 17
            [2] => 4
        )

    [application] => other
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 3-4 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => Joe@acmechanicalllc.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote
    [email_quote_body] => 

Hi Joe, 

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

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] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf [3] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf [6] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 80451: 0.31272196769714 secs since start
Session ID: a118bop6geq049lpahg6q531ek
just before engaging cartlink ...: 0.31279683113098 secs since start
after most cartlink items ...: 0.31362581253052 secs since start
after getting new so num ...: 0.8529109954834 secs since start
after remaining cartlink items ...: 0.85294699668884 secs since start
SO Number: Q053343
just prior to terms gathering ...: 0.85296392440796 secs since start
after getting customer terms ...: 1.1617069244385 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,628.00 [cost] => 1,313.88 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACMENTS. [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)

*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 606.00 [cost] => 302.92 [pdfFileURL] => ) [3] => Array ( [sku] => CLF-C-100C [name] => 100% Activated Carbon Canister
(Priced Each / Sold in Cartons of 4)
Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP [qty] => 0 [price] => 56.64 [cost] => 28.32 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053343','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','2628.00','15768.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053343','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) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','302.92','0','0','606.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q053343','CLF-C-100C','100% Activated Carbon Canister (Priced Each / Sold in Cartons of 4) Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP','Y','28.32','0','0','56.64','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.1900420188904 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCP Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CL1250D-CCPHE Drawing.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 1250D Door Clearance.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1738862298_8937.pdf
after merging and generating email/quote PDFs ...: 8.9053888320923 secs since start
email fields:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [headers] => {"Return-Receipt-To": ""Kevin Gallagher" ", "Disposition-Notification-To": ""Kevin Gallagher" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=80451"}}
    [to[0]] => Joe@acmechanicalllc.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hi Joe, 

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 117
866 422-4099 Fax
keving@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hi Joe, It was great speaking with you.Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20250206111810_72001.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1738862298_8937.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250206111810_72001.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1738862298_8937.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] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.963029
    [namelookup_time] => 0.001528
    [connect_time] => 0.067029
    [pretransfer_time] => 0.209479
    [size_upload] => 2856651
    [size_download] => 21
    [speed_download] => 21
    [speed_upload] => 2966408
    [download_content_length] => 21
    [upload_content_length] => 2856651
    [starttransfer_time] => 0.278727
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35044
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 209297
    [connect_time_us] => 67029
    [namelookup_time_us] => 1528
    [pretransfer_time_us] => 209479
    [redirect_time_us] => 0
    [starttransfer_time_us] => 278727
    [total_time_us] => 963029
)
after sending email to customer ...: 11.874831914902 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hi Joe, 

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 117
866 422-4099 Fax
keving@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Hi Joe, It was great speaking with you.Attached is your quote and product literature.If you have any questions, don't hesitate to contact me. Sincerely,Kevin GallagherCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 117866 422-4099 Faxkeving@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20250206111810_72001.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1738862298_8937.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => keving@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] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.367562
    [namelookup_time] => 0.001946
    [connect_time] => 0.068113
    [pretransfer_time] => 0.214229
    [size_upload] => 2856249
    [size_download] => 21
    [speed_download] => 15
    [speed_upload] => 2089428
    [download_content_length] => 21
    [upload_content_length] => 2856249
    [starttransfer_time] => 0.279628
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33362
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 214108
    [connect_time_us] => 68113
    [namelookup_time_us] => 1946
    [pretransfer_time_us] => 214229
    [redirect_time_us] => 0
    [starttransfer_time_us] => 279628
    [total_time_us] => 1367562
)
after sending email to rep ...: 15.245360851288 secs since start
after inserting/updating customer in v2 ...: 15.4954829216 secs since start
Email HTML ...
PGh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    [To] => Joe@acmechanicalllc.com
    [Date] => 2025-02-06 11:18:25
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => ACM0820
    [email-html] => 

Hi Joe, 

It was great speaking with you.

Attached is your quote and product literature.

If you have any questions, don't hesitate to contact me. 

Sincerely,


Kevin Gallagher

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 117
866 422-4099 Fax
keving@aircleaningspecialists.com
http://www.cleanleaf.com/



[qq_from_repid] => 0064 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20250206111810_72001.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1738862298_8937.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] => 651
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 6.180519
    [namelookup_time] => 0.001555
    [connect_time] => 0.075894
    [pretransfer_time] => 0.164412
    [size_upload] => 2856140
    [size_download] => 2855010
    [speed_download] => 461975
    [speed_upload] => 462158
    [download_content_length] => -1
    [upload_content_length] => 2856140
    [starttransfer_time] => 0.240879
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 37942
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 164330
    [connect_time_us] => 75894
    [namelookup_time_us] => 1555
    [pretransfer_time_us] => 164412
    [redirect_time_us] => 0
    [starttransfer_time_us] => 240879
    [total_time_us] => 6180519
)
after pushing email and files into v2/timeline ...: 23.679358959198 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 24.363380908966 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 26.444949865341 secs since start
strJSON:
{"exportid":"80451","import_result":null,"import_error":"","fileurl":"GMImport_80451_1738862316_31301.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"AC Mechanical","goldmine_email":"dbolf@acmechanicalllc.com","goldmine_phone":"(609) 383-0077","mas_quote_number":"Q053343","mas_customer_number":"ACM0820"}
end: 26.464803934097 secs since start