Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Air Tech Sales
                    [Contact_First] => Pam
                    [Contact_Last] => Jenkins
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 95678
                    [Email] => pamj@airtechsales.com
                    [Phone] => 9169696730
                    [place_id] => 
                    [customerid] => 163721
                    [mascustnum] => AIR956A
                )

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

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

            [billing] => Array
                (
                    [Company] => Air Tech Sales
                    [Contact_First] => Pam
                    [Contact_Last] => Jenkins
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Roseville
                    [State] => CA
                    [Zip] => 95678
                    [Country] => USA
                    [Email] => pamj@airtechsales.com
                    [Phone] => (916) 969-6730
                )

            [shipping] => Array
                (
                    [ShipToName] => Air Tech Sales
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Roseville
                    [State] => CA
                    [Zip] => 95678
                    [Country] => USA
                    [Email] => pamj@airtechsales.com
                    [Phone] => (916) 969-6730
                )

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

                    [application] => other
                    [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] => pamj@airtechsales.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] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 163721
    [mas_cust_no] => AIR956A
    [mas_cust_exists] => true
    [exportid] => 64103
    [masquotenum] => Q044635
    [not_in_mas] => 1
)

POST Data

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

    [application] => other
    [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] => pamj@airtechsales.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote 
    [email_quote_body] => 

Hello <<&dear>>,

Thanks for showing interest in our units! 

Attached is your quote and product literature.

I also included pricing for the replacement filters. 

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] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 64103: 0.093023061752319 secs since start
Session ID: gg056r6lg5p1dejsd4avn2734g
just before engaging cartlink ...: 0.093100070953369 secs since start
after most cartlink items ...: 0.093964099884033 secs since start
after getting new so num ...: 0.2380850315094 secs since start
after remaining cartlink items ...: 0.23811912536621 secs since start
SO Number: Q044635
just prior to terms gathering ...: 0.23813700675964 secs since start
after getting customer terms ...: 0.32300114631653 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)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 2 [price] => 2,761.46 [cost] => 1,380.73 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [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)
8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)

*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 447.74 [cost] => 223.87 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044635','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) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','1380.73','2','2','2761.46','5522.92','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q044635','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) 8x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','223.87','0','0','447.74','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.34721899032593 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
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1705524676_6020.pdf
after merging and generating email/quote PDFs ...: 4.764386177063 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=64103"}}
    [to[0]] => pamj@airtechsales.com
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Pam,

Thanks for showing interest in our units! 

Attached is your quote and product literature.

I also included pricing for the replacement filters. 

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 Pam,Thanks for showing interest in our units! Attached is your quote and product literature.I also included pricing for the replacement filters. 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_20240117145112_72603.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1705524676_6020.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240117145112_72603.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1705524676_6020.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] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.858509
    [namelookup_time] => 0.001952
    [connect_time] => 0.068742
    [pretransfer_time] => 0.213846
    [size_upload] => 2366765
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2758467
    [download_content_length] => 21
    [upload_content_length] => 2366765
    [starttransfer_time] => 0.283096
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34648
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 213687
    [connect_time_us] => 68742
    [namelookup_time_us] => 1952
    [pretransfer_time_us] => 213846
    [redirect_time_us] => 0
    [starttransfer_time_us] => 283096
    [total_time_us] => 858509
)
after sending email to customer ...: 7.6257901191711 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote 
    [html] => 

Hello Pam,

Thanks for showing interest in our units! 

Attached is your quote and product literature.

I also included pricing for the replacement filters. 

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 Pam,Thanks for showing interest in our units! Attached is your quote and product literature.I also included pricing for the replacement filters. 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_20240117145112_72603.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1705524676_6020.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] => 300
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.684373
    [namelookup_time] => 0.001713
    [connect_time] => 0.042288
    [pretransfer_time] => 0.137127
    [size_upload] => 2366365
    [size_download] => 21
    [speed_download] => 30
    [speed_upload] => 3459597
    [download_content_length] => 21
    [upload_content_length] => 2366365
    [starttransfer_time] => 0.185616
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55010
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 136990
    [connect_time_us] => 42288
    [namelookup_time_us] => 1713
    [pretransfer_time_us] => 137127
    [redirect_time_us] => 0
    [starttransfer_time_us] => 185616
    [total_time_us] => 684373
)
after sending email to rep ...: 10.3130671978 secs since start
after inserting/updating customer in v2 ...: 10.39647603035 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gUGFtLDwvcD48ZGl2PjxwPlRoYW5rcyBmb3Igc2hvd2luZyBpbnRlcmVzdCBpbiBvdXIgdW5pdHMhJm5ic3A7PC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+SSBhbHNvIGluY2x1ZGVkIHByaWNpbmcgZm9yIHRoZSByZXBsYWNlbWVudCBmaWx0ZXJzLiZuYnNwOzwvcD48cD5JZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zLCBkb24ndCBoZXNpdGF0ZSB0byBjb250YWN0IG1lLiZuYnNwOzwvcD48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+S2V2aW4gR2FsbGFnaGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTE3PGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+a2V2aW5nQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3042353
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => pamj@airtechsales.com
    [To] => pamj@airtechsales.com
    [Date] => 2024-01-17 14:51:22
    [subject] => Your CleanLeaf Air Filtration Quote 
    [mas-customer-no] => AIR956A
    [email-html] => 

Hello Pam,

Thanks for showing interest in our units! 

Attached is your quote and product literature.

I also included pricing for the replacement filters. 

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_20240117145112_72603.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1705524676_6020.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] => 227
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 13.969925
    [namelookup_time] => 0.001668
    [connect_time] => 0.01979
    [pretransfer_time] => 0.055059
    [size_upload] => 2366181
    [size_download] => 2365047
    [speed_download] => 169306
    [speed_upload] => 169388
    [download_content_length] => -1
    [upload_content_length] => 2366181
    [starttransfer_time] => 0.074726
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 46602
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 54950
    [connect_time_us] => 19790
    [namelookup_time_us] => 1668
    [pretransfer_time_us] => 55059
    [redirect_time_us] => 0
    [starttransfer_time_us] => 74726
    [total_time_us] => 13969925
)
after pushing email and files into v2/timeline ...: 26.369036197662 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 26.528320074081 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 28.554690122604 secs since start
strJSON:
{"exportid":"64103","import_result":null,"import_error":"","fileurl":"GMImport_64103_1705524700_90868.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Air Tech Sales","goldmine_email":"pamj@airtechsales.com","goldmine_phone":"(916) 969-6730","mas_quote_number":"Q044635","mas_customer_number":"AIR956A"}
end: 28.574378013611 secs since start