Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => A Squared Mechanical Solutions
                    [Contact_First] => Jeff
                    [Contact_Last] => Wagner
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 80229
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => 7203319656
                    [place_id] => 
                    [customerid] => 167652
                    [mascustnum] => ASQ802A
                )

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

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

            [billing] => Array
                (
                    [Company] => A Squared Mechanical Solutions
                    [Contact_First] => Jeff
                    [Contact_Last] => Wagner
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80229
                    [Country] => USA
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => (720) 331-9656
                )

            [shipping] => Array
                (
                    [ShipToName] => A Squared Mechanical Solutions
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80229
                    [Country] => USA
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => (720) 331-9656
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 07/31/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 4
                        )

                    [application] => Odor
                    [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] => jeff.wagner@a2mech.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-CF Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
                            [3] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 167652
    [mas_cust_no] => ASQ802A
    [mas_cust_exists] => true
    [exportid] => 72092
    [masquotenum] => Q048794
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 07/31/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 4
        )

    [application] => Odor
    [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] => jeff.wagner@a2mech.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf  Air Filtration Quote 
    [email_quote_body] => 

Hello <<&dear>>,

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-CF Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf [3] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 72092: 1.0070788860321 secs since start
Session ID: uddgddbm7q8co3cspktqidsj21
just before engaging cartlink ...: 1.0071649551392 secs since start
after most cartlink items ...: 1.0083959102631 secs since start
after getting new so num ...: 1.6523880958557 secs since start
after remaining cartlink items ...: 1.6524360179901 secs since start
SO Number: Q048794
just prior to terms gathering ...: 1.6524610519409 secs since start
after getting customer terms ...: 1.8459129333496 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] => 2,337.00 [cost] => 1,168.17 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-1250D-OUTLET-8IN [name] => Outlet for 1250D series air cleaners [qty] => 0 [price] => 96.20 [cost] => 55.32 [pdfFileURL] => ) [3] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet for 1250D series air cleaners [qty] => 0 [price] => 343.25 [cost] => 197.37 [pdfFileURL] => ) [4] => Array ( [sku] => RM-DC-MTAS-SVAC-1250 [name] => Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations. [qty] => 1 [price] => 1,438.04 [cost] => 719.02 [pdfFileURL] => ) [5] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [6] => 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] => 0 [price] => 269.00 [cost] => 134.02 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','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','1168.17','1','1','2337.00','2337.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','RM-1250D-OUTLET-8IN','Outlet for 1250D series air cleaners','Y','55.32','0','0','96.20','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','RM-1250D-INLET-12IN','Inlet for 1250D series air cleaners','Y','197.37','0','0','343.25','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','RM-DC-MTAS-SVAC-1250','Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations.','Y','719.02','1','1','1438.04','1438.04','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','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','134.02','0','0','269.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.8752210140228 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/cleanleaf/pdf/CL1250D Series Owners Manual 11122021_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1721245784_9914.pdf
after merging and generating email/quote PDFs ...: 6.0963180065155 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=72092"}}
    [to[0]] => jeff.wagner@a2mech.com
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [html] => 

Hello Jeff,

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] => Hello Jeff,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_20240717144940_16969.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1721245784_9914.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240717144940_16969.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1721245784_9914.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] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.855542
    [namelookup_time] => 0.0018
    [connect_time] => 0.070666
    [pretransfer_time] => 0.218408
    [size_upload] => 1796366
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2101012
    [download_content_length] => 21
    [upload_content_length] => 1796366
    [starttransfer_time] => 0.29338
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 37898
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 218270
    [connect_time_us] => 70666
    [namelookup_time_us] => 1800
    [pretransfer_time_us] => 218408
    [redirect_time_us] => 0
    [starttransfer_time_us] => 293380
    [total_time_us] => 855542
)
after sending email to customer ...: 8.958074092865 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [html] => 

Hello Jeff,

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] => Hello Jeff,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_20240717144940_16969.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1721245784_9914.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] => 305
    [request_size] => 724
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.846693
    [namelookup_time] => 0.001891
    [connect_time] => 0.072496
    [pretransfer_time] => 0.22451
    [size_upload] => 1795965
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2122890
    [download_content_length] => 21
    [upload_content_length] => 1795965
    [starttransfer_time] => 0.29882
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 43804
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 224319
    [connect_time_us] => 72496
    [namelookup_time_us] => 1891
    [pretransfer_time_us] => 224510
    [redirect_time_us] => 0
    [starttransfer_time_us] => 298820
    [total_time_us] => 846693
)
after sending email to rep ...: 11.806895971298 secs since start
after inserting/updating customer in v2 ...: 11.973280906677 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gSmVmZiw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+SWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucywgZG9uJ3QgaGVzaXRhdGUgdG8gY29udGFjdCBtZS4mbmJzcDs8L3A+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPktldmluIEdhbGxhZ2hlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExNzxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmtldmluZ0BhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3419769
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => jeff.wagner@a2mech.com
    [To] => jeff.wagner@a2mech.com
    [Date] => 2024-07-17 14:49:50
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [mas-customer-no] => ASQ802A
    [email-html] => 

Hello Jeff,

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_20240717144940_16969.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1721245784_9914.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] => 3.02029
    [namelookup_time] => 0.001748
    [connect_time] => 0.047775
    [pretransfer_time] => 0.107564
    [size_upload] => 1795856
    [size_download] => 1794726
    [speed_download] => 594280
    [speed_upload] => 594654
    [download_content_length] => -1
    [upload_content_length] => 1795856
    [starttransfer_time] => 0.155259
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 54308
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 107448
    [connect_time_us] => 47775
    [namelookup_time_us] => 1748
    [pretransfer_time_us] => 107564
    [redirect_time_us] => 0
    [starttransfer_time_us] => 155259
    [total_time_us] => 3020290
)
after pushing email and files into v2/timeline ...: 16.996859073639 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.519990921021 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.573165893555 secs since start
strJSON:
{"exportid":"72092","import_result":null,"import_error":"","fileurl":"GMImport_72092_1721245798_39407.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"A Squared Mechanical Solutions","goldmine_email":"jeff.wagner@a2mech.com","goldmine_phone":"(720) 331-9656","mas_quote_number":"Q048794","mas_customer_number":"ASQ802A"}
end: 19.594717025757 secs since start