Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => GT Excel 2 LLC
                    [Contact_First] => Terry
                    [Contact_Last] => Leright
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 48188
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => 7342164109
                    [place_id] => 
                    [customerid] => 164760
                    [mascustnum] => GTE4818
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 164760
                    [mas_cust_no] => GTE4818
                )

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

            [billing] => Array
                (
                    [Company] => GT Excel 2 LLC
                    [Contact_First] => Terry
                    [Contact_Last] => Leright
                    [Address1] => 1253 W. North Territorial Rd
                    [Address2] => 
                    [Address3] => 
                    [City] => Ann Arbor
                    [State] => MI
                    [Zip] => 48105
                    [Country] => USA
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => (734) 216-4109
                )

            [shipping] => Array
                (
                    [ShipToName] => GT Excel 2 LLC
                    [Address1] => 1253 W North Territorial Rd
                    [Address2] => Terry - 732-216-4109
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Ann Arbor
                    [State] => MI
                    [Zip] => 48105
                    [Country] => USA
                    [Email] => TerryjLeright@gmai.com
                    [Phone] => (734) 216-4109
                )

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

                    [application] => other
                    [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] => TerryjLeright@gmai.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
                    [files] => 
                    [email_product_literature] => true
                    [includedPDFs] => Array
                        (
                            [0] => {QUOTE}
                            [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE 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] => 164760
    [mas_cust_no] => GTE4818
    [mas_cust_exists] => true
    [exportid] => 66331
    [masquotenum] => Q045761
    [not_in_mas] => 1
)

POST Data

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

    [application] => other
    [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] => TerryjLeright@gmai.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [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-HE 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: 4.0531158447266E-6 secs since start
after getting new exportid ... 66331: 0.090397119522095 secs since start
Session ID: 8eda58ncvdef6rudqkmt3cuqcd
just before engaging cartlink ...: 0.090488195419312 secs since start
after most cartlink items ...: 0.093063116073608 secs since start
after getting new so num ...: 0.23664307594299 secs since start
after remaining cartlink items ...: 0.23667407035828 secs since start
SO Number: Q045761
just prior to terms gathering ...: 0.23669004440308 secs since start
after getting customer terms ...: 0.32101917266846 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-HE
            [name] => CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DHE-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually)

1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years) [qty] => 1 [price] => 2,566.10 [cost] => 1,283.05 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q045761','CL1250D-HE','CleanLeaf Model CL1250D-HE, 1,000 CFM Self-Contained Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DHE-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-551298 (25x15x12" 95% 8 Pocket Bag Filter; changed semi-annually) 1x CLF-552099-HHC (25x15x20" 99.99% DOP V-Bank Medical Grade HEPA Filter; changed every two years)','Y','1283.05','1','1','2566.10','2566.10','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.34774208068848 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-HE 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_1709569549_8635.pdf
after merging and generating email/quote PDFs ...: 5.752247095108 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=66331"}}
    [to[0]] => TerryjLeright@gmai.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Terry,

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 Terry,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_20240304102544_50056.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1709569549_8635.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240304102544_50056.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1709569549_8635.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.83509
    [namelookup_time] => 0.002481
    [connect_time] => 0.06906
    [pretransfer_time] => 0.215707
    [size_upload] => 1783833
    [size_download] => 21
    [speed_download] => 25
    [speed_upload] => 2136326
    [download_content_length] => 21
    [upload_content_length] => 1783833
    [starttransfer_time] => 0.28587
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 49142
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 215538
    [connect_time_us] => 69060
    [namelookup_time_us] => 2481
    [pretransfer_time_us] => 215707
    [redirect_time_us] => 0
    [starttransfer_time_us] => 285870
    [total_time_us] => 835090
)
after sending email to customer ...: 8.5908880233765 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Terry,

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 Terry,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_20240304102544_50056.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1709569549_8635.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.857563
    [namelookup_time] => 0.002489
    [connect_time] => 0.068065
    [pretransfer_time] => 0.223659
    [size_upload] => 1783432
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2081017
    [download_content_length] => 21
    [upload_content_length] => 1783432
    [starttransfer_time] => 0.301813
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 46506
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 223486
    [connect_time_us] => 68065
    [namelookup_time_us] => 2489
    [pretransfer_time_us] => 223659
    [redirect_time_us] => 0
    [starttransfer_time_us] => 301813
    [total_time_us] => 857563
)
after sending email to rep ...: 11.451196193695 secs since start
after inserting/updating customer in v2 ...: 11.548438072205 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gVGVycnksPC9wPjxkaXY+PHA+SXQgd2FzIGdyZWF0IHNwZWFraW5nIHdpdGggeW91LjwvcD48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3138344
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => TerryjLeright@gmai.com
    [To] => TerryjLeright@gmai.com
    [Date] => 2024-03-04 10:25:55
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => GTE4818
    [email-html] => 

Hello Terry,

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_20240304102544_50056.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1709569549_8635.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] => 1.373097
    [namelookup_time] => 0.002128
    [connect_time] => 0.020383
    [pretransfer_time] => 0.057603
    [size_upload] => 1783322
    [size_download] => 1782167
    [speed_download] => 1298009
    [speed_upload] => 1298850
    [download_content_length] => -1
    [upload_content_length] => 1783322
    [starttransfer_time] => 0.078501
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 52090
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 57522
    [connect_time_us] => 20383
    [namelookup_time_us] => 2128
    [pretransfer_time_us] => 57603
    [redirect_time_us] => 0
    [starttransfer_time_us] => 78501
    [total_time_us] => 1373097
)
after pushing email and files into v2/timeline ...: 14.924832105637 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 15.079246044159 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 17.103688001633 secs since start
strJSON:
{"exportid":"66331","import_result":null,"import_error":"","fileurl":"GMImport_66331_1709569561_92778.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"GT Excel 2 LLC","goldmine_email":"TerryjLeright@gmai.com","goldmine_phone":"(734) 216-4109","mas_quote_number":"Q045761","mas_customer_number":"GTE4818"}
end: 17.132936000824 secs since start