Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Lohmiller & Company
                    [Contact_First] => Clarke
                    [Contact_Last] => Clarke
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 80221
                    [Email] => ccunningham@carrierwest.com
                    [Phone] => 3033711244
                    [place_id] => 
                    [customerid] => 167651
                    [mascustnum] => LOH802A
                )

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

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

            [billing] => Array
                (
                    [Company] => Lohmiller & Company
                    [Contact_First] => Clarke
                    [Contact_Last] => Clarke
                    [Address1] => 4800 Osage St
                    [Address2] => 
                    [Address3] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80221
                    [Country] => USA
                    [Email] => ccunningham@carrierwest.com
                    [Phone] => (303) 371-1244
                )

            [shipping] => Array
                (
                    [ShipToName] => Lohmiller & Company
                    [Address1] => 4800 Osage St
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80221
                    [Country] => USA
                    [Email] => ccunningham@carrierwest.com
                    [Phone] => (303) 371-1244
                )

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

                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => ccunningham@carrierwest.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/CleanLeaf 1250D Door Clearance.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
                            [5] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 167651
    [mas_cust_no] => LOH802A
    [mas_cust_exists] => true
    [exportid] => 72090
    [masquotenum] => Q048792
    [not_in_mas] => 1
)

POST Data

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

    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => ccunningham@carrierwest.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-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/CleanLeaf 1250D Door Clearance.pdf [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf [5] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 72090: 0.19872689247131 secs since start
Session ID: uddgddbm7q8co3cspktqidsj21
just before engaging cartlink ...: 0.19881582260132 secs since start
after most cartlink items ...: 0.1995849609375 secs since start
after getting new so num ...: 0.53613996505737 secs since start
after remaining cartlink items ...: 0.53617477416992 secs since start
SO Number: Q048792
just prior to terms gathering ...: 0.53618979454041 secs since start
after getting customer terms ...: 0.73226499557495 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) [qty] => 2 [price] => 2,850.00 [cost] => 1,424.57 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACEMENTS. [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] => 536.00 [cost] => 267.71 [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] => 57.00 [cost] => 28.32 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048792','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)','Y','1424.57','2','2','2850.00','5700.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048792','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','267.71','0','0','536.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048792','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','57.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.75918078422546 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/CleanLeaf 1250D Door Clearance.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1721245305_6038.pdf
after merging and generating email/quote PDFs ...: 6.7906928062439 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=72090"}}
    [to[0]] => ccunningham@carrierwest.com
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Clarke,

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 Clarke,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_20240717144139_50320.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1721245305_6038.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240717144139_50320.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1721245305_6038.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.915275
    [namelookup_time] => 0.002012
    [connect_time] => 0.071437
    [pretransfer_time] => 0.220329
    [size_upload] => 2563578
    [size_download] => 21
    [speed_download] => 22
    [speed_upload] => 2801724
    [download_content_length] => 21
    [upload_content_length] => 2563578
    [starttransfer_time] => 0.292814
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 46544
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 220224
    [connect_time_us] => 71437
    [namelookup_time_us] => 2012
    [pretransfer_time_us] => 220329
    [redirect_time_us] => 0
    [starttransfer_time_us] => 292814
    [total_time_us] => 915275
)
after sending email to customer ...: 9.7148628234863 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Clarke,

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 Clarke,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_20240717144139_50320.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1721245305_6038.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.896655
    [namelookup_time] => 0.001956
    [connect_time] => 0.070315
    [pretransfer_time] => 0.217003
    [size_upload] => 2563172
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 2860683
    [download_content_length] => 21
    [upload_content_length] => 2563172
    [starttransfer_time] => 0.297901
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 60680
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 216893
    [connect_time_us] => 70315
    [namelookup_time_us] => 1956
    [pretransfer_time_us] => 217003
    [redirect_time_us] => 0
    [starttransfer_time_us] => 297901
    [total_time_us] => 896655
)
after sending email to rep ...: 12.614096879959 secs since start
after inserting/updating customer in v2 ...: 12.789807796478 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQ2xhcmtlLDwvcD48ZGl2PjxwPkl0IHdhcyBncmVhdCBzcGVha2luZyB3aXRoIHlvdS48L3A+PHA+QXR0YWNoZWQgaXMgeW91ciBxdW90ZSBhbmQgcHJvZHVjdCBsaXRlcmF0dXJlLjwvcD48cD5JZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zLCBkb24ndCBoZXNpdGF0ZSB0byBjb250YWN0IG1lLiZuYnNwOzwvcD48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+S2V2aW4gR2FsbGFnaGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTE3PGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+a2V2aW5nQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3419753
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => ccunningham@carrierwest.com
    [To] => ccunningham@carrierwest.com
    [Date] => 2024-07-17 14:41:51
    [subject] => Your CleanLeaf Air Filtration Quote 
    [mas-customer-no] => LOH802A
    [email-html] => 

Hello Clarke,

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_20240717144139_50320.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1721245305_6038.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.611163
    [namelookup_time] => 0.001669
    [connect_time] => 0.047431
    [pretransfer_time] => 0.106154
    [size_upload] => 2563071
    [size_download] => 2561932
    [speed_download] => 709479
    [speed_upload] => 709795
    [download_content_length] => -1
    [upload_content_length] => 2563071
    [starttransfer_time] => 0.153203
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 54866
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 106056
    [connect_time_us] => 47431
    [namelookup_time_us] => 1669
    [pretransfer_time_us] => 106154
    [redirect_time_us] => 0
    [starttransfer_time_us] => 153203
    [total_time_us] => 3611163
)
after pushing email and files into v2/timeline ...: 18.404475927353 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 18.831241846085 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 20.882546901703 secs since start
strJSON:
{"exportid":"72090","import_result":null,"import_error":"","fileurl":"GMImport_72090_1721245319_60442.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Lohmiller & Company","goldmine_email":"ccunningham@carrierwest.com","goldmine_phone":"(303) 371-1244","mas_quote_number":"Q048792","mas_customer_number":"LOH802A"}
end: 20.904356002808 secs since start