Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => THT Ventures
                    [Contact_First] => Gary
                    [Contact_Last] => Gary
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 92504
                    [Email] => gotgary@gmail.com
                    [Phone] => 4083758908
                    [place_id] => 
                    [customerid] => 143663
                    [mascustnum] => THT9250
                )

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

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

            [billing] => Array
                (
                    [Company] => THT Ventures
                    [Contact_First] => Gary
                    [Contact_Last] => Gary
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Riverside
                    [State] => CA
                    [Zip] => 92504
                    [Country] => USA
                    [Email] => gotgary@gmail.com
                    [Phone] => (408) 375-8908
                )

            [shipping] => Array
                (
                    [ShipToName] => THT Ventures
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Riverside
                    [State] => CA
                    [Zip] => 92504
                    [Country] => USA
                    [Email] => gotgary@gmail.com
                    [Phone] => (408) 375-8908
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 03/12/2024
                    [customer_tags] => Array
                        (
                            [0] => 17
                            [1] => 7
                        )

                    [application] => Contaminants + Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [dealer_discount] => true
                    [discount_value] => 10
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => gotgary@gmail.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/CL2500D-CCPHE Specs 11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.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] => 143663
    [mas_cust_no] => THT9250
    [mas_cust_exists] => true
    [exportid] => 66801
    [masquotenum] => Q046010
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 03/12/2024
    [customer_tags] => Array
        (
            [0] => 17
            [1] => 7
        )

    [application] => Contaminants + Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [dealer_discount] => true
    [discount_value] => 10
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => gotgary@gmail.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.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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/CL2500D-CCPHE Specs 11-13-22.pdf [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.pdf [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf [6] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 66801: 0.19675588607788 secs since start
Session ID: hek5ts10gefuue84aogr9s5nvr
just before engaging cartlink ...: 0.19682788848877 secs since start
after most cartlink items ...: 0.19778084754944 secs since start
after getting new so num ...: 0.53036189079285 secs since start
after remaining cartlink items ...: 0.53038787841797 secs since start
SO Number: Q046010
just prior to terms gathering ...: 0.53040885925293 secs since start
after getting customer terms ...: 0.7213408946991 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 7000 X 10 (Air Changes Per Hour) = 70,000 Total Cubic Feet Of Air In Need Of Filtration Per Hour 
70,000 / 60 = 1167 CFM Needed
1 Unit = 2000 CFM [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => Array ( [sku] => CL2500D-CCPHE [name] => CleanLeaf Model CL2500D-CCPHE, 2,000 CFM Self-Contained Odor Mitigation & Filtration

System Side Access Filter Housing with a year supply of filters, which includes:

4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly)
1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.) [qty] => 1 [price] => 4,814.70 [cost] => 2,407.35 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNIT. COST BELOW ARE FOR REPLACEMENTS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => Array ( [sku] => CLF-2500DCCPHE-1YRKIT [name] => 1 year kit of filters for CL2500D-CCPHE Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually)
1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually)
16x CLF-C-100C (100% Activated Carbon Canister; changed annually)
16x 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] => 1,084.10 [cost] => 542.05 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046010','CL2500D-CCPHE','CleanLeaf Model CL2500D-CCPHE, 2,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: 4x CLF-6604 (26x26x4 Pleated Pre-filter; changed quarterly) 1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x CLF-C-GASKET (Foam gasket for carbon cannister. One-time use.)','Y','2407.35','1','1','4814.70','4814.70','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046010','CLF-2500DCCPHE-1YRKIT','1 year kit of filters for CL2500D-CCPHE Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 1x CLF-6604-HHC (26X26X4 Ultrafine Glass Fiber Filter; changed annually) 1x CLF-6602 (26x26x2" Pleated After-Filter; changed annually) 16x CLF-C-100C (100% Activated Carbon Canister; changed annually) 16x 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','542.05','0','0','1084.10','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.74546694755554 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Specs 11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCPHE Drawing.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CL Sizing Guide 9-13-22.pdf
    [5] => /mnt/product_media/cleanleaf/pdf/CleanLeaf_Odor_Mitigation.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1710272672_1651.pdf
after merging and generating email/quote PDFs ...: 4.9854369163513 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=66801"}}
    [to[0]] => gotgary@gmail.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Gary,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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 Gary,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesBag:      6 Flower cyclesCarbon:    6 Flower cyclesIf 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_20240312144428_27850.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1710272672_1651.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240312144428_27850.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1710272672_1651.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] => 1.076641
    [namelookup_time] => 0.001737
    [connect_time] => 0.073478
    [pretransfer_time] => 0.22756
    [size_upload] => 3466854
    [size_download] => 21
    [speed_download] => 19
    [speed_upload] => 3221983
    [download_content_length] => 21
    [upload_content_length] => 3466854
    [starttransfer_time] => 0.301903
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 33928
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 227455
    [connect_time_us] => 73478
    [namelookup_time_us] => 1737
    [pretransfer_time_us] => 227560
    [redirect_time_us] => 0
    [starttransfer_time_us] => 301903
    [total_time_us] => 1076641
)
after sending email to customer ...: 8.0651829242706 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Gary,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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 Gary,It was great speaking with you.Attached is your quote and product literature.Filter Change SchedulePre-filter:  2 Flower cyclesBag:      6 Flower cyclesCarbon:    6 Flower cyclesIf 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_20240312144428_27850.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1710272672_1651.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.593674
    [namelookup_time] => 0.002002
    [connect_time] => 0.042166
    [pretransfer_time] => 0.133598
    [size_upload] => 3466458
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 5845629
    [download_content_length] => 21
    [upload_content_length] => 3466458
    [starttransfer_time] => 0.179118
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 167.89.118.114
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 60392
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 133513
    [connect_time_us] => 42166
    [namelookup_time_us] => 2002
    [pretransfer_time_us] => 133598
    [redirect_time_us] => 0
    [starttransfer_time_us] => 179118
    [total_time_us] => 593674
)
after sending email to rep ...: 10.661103963852 secs since start
after inserting/updating customer in v2 ...: 10.829392910004 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gR2FyeSw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+PGI+RmlsdGVyIENoYW5nZSBTY2hlZHVsZTwvYj48L3A+PHA+UHJlLWZpbHRlcjombmJzcDsgMiBGbG93ZXIgY3ljbGVzPGJyPkJhZzombmJzcDsgJm5ic3A7ICZuYnNwOyA2IEZsb3dlciBjeWNsZXM8YnI+Q2FyYm9uOiZuYnNwOyAmbmJzcDsgNiBGbG93ZXIgY3ljbGVzPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3157432
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => gotgary@gmail.com
    [To] => gotgary@gmail.com
    [Date] => 2024-03-12 14:44:38
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => THT9250
    [email-html] => 

Hello Gary,

It was great speaking with you.

Attached is your quote and product literature.

Filter Change Schedule

Pre-filter:  2 Flower cycles
Bag:      6 Flower cycles
Carbon:    6 Flower cycles

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_20240312144428_27850.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1710272672_1651.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] => 5.036077
    [namelookup_time] => 0.00159
    [connect_time] => 0.046579
    [pretransfer_time] => 0.105337
    [size_upload] => 3466208
    [size_download] => 3465061
    [speed_download] => 688058
    [speed_upload] => 688285
    [download_content_length] => -1
    [upload_content_length] => 3466208
    [starttransfer_time] => 0.152787
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 46370
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 105252
    [connect_time_us] => 46579
    [namelookup_time_us] => 1590
    [pretransfer_time_us] => 105337
    [redirect_time_us] => 0
    [starttransfer_time_us] => 152787
    [total_time_us] => 5036077
)
after pushing email and files into v2/timeline ...: 17.868520975113 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 18.285287857056 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 20.337696790695 secs since start
strJSON:
{"exportid":"66801","import_result":null,"import_error":"","fileurl":"GMImport_66801_1710272687_97419.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"THT Ventures","goldmine_email":"gotgary@gmail.com","goldmine_phone":"(408) 375-8908","mas_quote_number":"Q046010","mas_customer_number":"THT9250"}
end: 20.358441829681 secs since start