Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Craft Cannabis
                    [Contact_First] => Kris
                    [Contact_Last] => Davis
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 73099
                    [Email] => kgdavis9054@icloud.com
                    [Phone] => 4052029525
                    [place_id] => 
                    [customerid] => 164447
                    [mascustnum] => CRA7309
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 164447
                    [mas_cust_no] => CRA7309
                )

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

            [billing] => Array
                (
                    [Company] => Craft Cannabis
                    [Contact_First] => Kris
                    [Contact_Last] => Davis
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Yukon
                    [State] => OK
                    [Zip] => 73099
                    [Country] => USA
                    [Email] => kgdavis9054@icloud.com
                    [Phone] => (405) 202-9525
                )

            [shipping] => Array
                (
                    [ShipToName] => Craft Cannabis
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Yukon
                    [State] => OK
                    [Zip] => 73099
                    [Country] => USA
                    [Email] => kgdavis9054@icloud.com
                    [Phone] => (405) 202-9525
                )

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

                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => kgdavis9054@icloud.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Odor Removal Air Filtration Quote
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 164447
    [mas_cust_no] => CRA7309
    [mas_cust_exists] => true
    [exportid] => 65511
    [masquotenum] => Q045358
    [not_in_mas] => 1
)

POST Data

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

    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => kgdavis9054@icloud.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Odor Removal 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/CL2500D-CCP Specs11-13-22.pdf [2] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 65511: 0.084587097167969 secs since start
Session ID: 79vi817fogfotqtc9ervanr3ua
just before engaging cartlink ...: 0.084639072418213 secs since start
after most cartlink items ...: 0.085494995117188 secs since start
after getting new so num ...: 0.22527098655701 secs since start
after remaining cartlink items ...: 0.22530198097229 secs since start
SO Number: Q045358
just prior to terms gathering ...: 0.2253110408783 secs since start
after getting customer terms ...: 0.31092309951782 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 2400 X 16 (Install Height) = 38,400 Cubic Feet 
38,400 X 12 (Air Changes Per Hour) = 460,800 Total Cubic Feet Of Air In Need Of Filtration Per Hour
460,800 /60 = 7680 CFM Needed
7680 / 2000 = 3.84
4 Units Needed [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => Array ( [sku] => CL2500D-CCP [name] => CleanLeaf Model CL2500D-CCP, 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-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] => 4 [price] => 4,673.32 [cost] => 2,336.66 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACEMENTS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => Array ( [sku] => CLF-2500DCCP-1YRKIT [name] => 1 year kit of filters for CL2500D-CCP Includes:

4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly)
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] => 942.72 [cost] => 471.36 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045358','CL2500D-CCP','CleanLeaf Model CL2500D-CCP, 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-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','2336.66','4','4','4673.32','18693.28','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045358','CLF-2500DCCP-1YRKIT','1 year kit of filters for CL2500D-CCP Includes: 4x CLF-6604 (26x26x4 Pleated Prefilter; changed quarterly) 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','471.36','0','0','942.72','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.33356904983521 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1708030630_3907.pdf
after merging and generating email/quote PDFs ...: 4.3481271266937 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=65511"}}
    [to[0]] => kgdavis9054@icloud.com
    [subject] => Your CleanLeaf Odor Removal Air Filtration Quote
    [html] => 

Hello Kris,

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 Kris,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_20240215145706_38520.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1708030630_3907.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240215145706_38520.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1708030630_3907.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.760962
    [namelookup_time] => 0.001959
    [connect_time] => 0.061698
    [pretransfer_time] => 0.191202
    [size_upload] => 2550469
    [size_download] => 21
    [speed_download] => 27
    [speed_upload] => 3355880
    [download_content_length] => 21
    [upload_content_length] => 2550469
    [starttransfer_time] => 0.254026
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35434
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 191080
    [connect_time_us] => 61698
    [namelookup_time_us] => 1959
    [pretransfer_time_us] => 191202
    [redirect_time_us] => 0
    [starttransfer_time_us] => 254026
    [total_time_us] => 760962
)
after sending email to customer ...: 7.1119151115417 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Odor Removal Air Filtration Quote
    [html] => 

Hello Kris,

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 Kris,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_20240215145706_38520.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1708030630_3907.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.767781
    [namelookup_time] => 0.001743
    [connect_time] => 0.061974
    [pretransfer_time] => 0.192785
    [size_upload] => 2550068
    [size_download] => 21
    [speed_download] => 27
    [speed_upload] => 3324730
    [download_content_length] => 21
    [upload_content_length] => 2550068
    [starttransfer_time] => 0.255642
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35436
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 192680
    [connect_time_us] => 61974
    [namelookup_time_us] => 1743
    [pretransfer_time_us] => 192785
    [redirect_time_us] => 0
    [starttransfer_time_us] => 255642
    [total_time_us] => 767781
)
after sending email to rep ...: 9.8818211555481 secs since start
after inserting/updating customer in v2 ...: 9.967719078064 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gS3Jpcyw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+SWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucywgZG9uJ3QgaGVzaXRhdGUgdG8gY29udGFjdCBtZS4mbmJzcDs8L3A+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPktldmluIEdhbGxhZ2hlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExNzxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmtldmluZ0BhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3103291
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => kgdavis9054@icloud.com
    [To] => kgdavis9054@icloud.com
    [Date] => 2024-02-15 14:57:16
    [subject] => Your CleanLeaf Odor Removal Air Filtration Quote
    [mas-customer-no] => CRA7309
    [email-html] => 

Hello Kris,

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_20240215145706_38520.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1708030630_3907.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] => 7.05068
    [namelookup_time] => 0.002012
    [connect_time] => 0.020256
    [pretransfer_time] => 0.056366
    [size_upload] => 2549959
    [size_download] => 2548818
    [speed_download] => 361534
    [speed_upload] => 361696
    [download_content_length] => -1
    [upload_content_length] => 2549959
    [starttransfer_time] => 0.076565
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 41570
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56289
    [connect_time_us] => 20256
    [namelookup_time_us] => 2012
    [pretransfer_time_us] => 56366
    [redirect_time_us] => 0
    [starttransfer_time_us] => 76565
    [total_time_us] => 7050680
)
after pushing email and files into v2/timeline ...: 19.021394968033 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 19.177155971527 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 21.200843095779 secs since start
strJSON:
{"exportid":"65511","import_result":null,"import_error":"","fileurl":"GMImport_65511_1708030647_12864.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Craft Cannabis","goldmine_email":"kgdavis9054@icloud.com","goldmine_phone":"(405) 202-9525","mas_quote_number":"Q045358","mas_customer_number":"CRA7309"}
end: 21.221464157104 secs since start