Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Matt Coxe
                    [Contact_First] => Derrick
                    [Contact_Last] => Payne
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 70815
                    [Email] => dp@vectorsalesinc.com
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 166898
                    [mascustnum] => MAT7081
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 166898
                    [mas_cust_no] => MAT7081
                )

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

            [billing] => Array
                (
                    [Company] => Matt Coxe
                    [Contact_First] => Derrick
                    [Contact_Last] => Payne
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Baton Rouge
                    [State] => LA
                    [Zip] => 70815
                    [Country] => USA
                    [Email] => dp@vectorsalesinc.com
                    [Phone] => 
                )

            [shipping] => Array
                (
                    [ShipToName] => Matt Coxe
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Baton Rouge
                    [State] => LA
                    [Zip] => 70815
                    [Country] => USA
                    [Email] => dp@vectorsalesinc.com
                    [Phone] => 
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 06/30/2024
                    [customer_tags] => Array
                        (
                            [0] => 264
                            [1] => 17
                            [2] => 7
                        )

                    [application] => 
                    [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] => dp@vectorsalesinc.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-CF 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] => 166898
    [mas_cust_no] => MAT7081
    [mas_cust_exists] => true
    [exportid] => 70623
    [masquotenum] => Q048010
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 06/30/2024
    [customer_tags] => Array
        (
            [0] => 264
            [1] => 17
            [2] => 7
        )

    [application] => 
    [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] => dp@vectorsalesinc.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/CL1250D-CF 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 ... 70623: 0.11385798454285 secs since start
Session ID: kkfac1odue5u4iametdaqo9nh5
just before engaging cartlink ...: 0.11393904685974 secs since start
after most cartlink items ...: 0.11529397964478 secs since start
after getting new so num ...: 0.27383708953857 secs since start
after remaining cartlink items ...: 0.27387118339539 secs since start
SO Number: Q048010
just prior to terms gathering ...: 0.27389597892761 secs since start
after getting customer terms ...: 0.37424898147583 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

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

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 2 [price] => 2,337.00 [cost] => 1,168.17 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-1250D-OUTLET-8IN [name] => Outlet for 1250D series air cleaners [qty] => 0 [price] => 96.20 [cost] => 55.32 [pdfFileURL] => ) [3] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet for 1250D series air cleaners [qty] => 0 [price] => 343.25 [cost] => 197.37 [pdfFileURL] => ) [4] => Array ( [sku] => RM-DC-MTAS-SVAC-1250 [name] => Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations. [qty] => 0 [price] => 1,438.04 [cost] => 719.02 [pdfFileURL] => ) [5] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [6] => Array ( [sku] => CLF-1250DCF-1YRKIT [name] => 1 year kit of filters for CL1250D-CF. Includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
+2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually)

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

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048010','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1168.17','2','2','2337.00','4674.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048010','RM-1250D-OUTLET-8IN','Outlet for 1250D series air cleaners','Y','55.32','0','0','96.20','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048010','RM-1250D-INLET-12IN','Inlet for 1250D series air cleaners','Y','197.37','0','0','343.25','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048010','RM-DC-MTAS-SVAC-1250','Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations.','Y','719.02','0','0','1438.04','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048010','CLF-1250DCF-1YRKIT','1 year kit of filters for CL1250D-CF. Includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) +2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','134.02','0','0','269.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.42228007316589 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL1250D-CF 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_1718036718_4991.pdf
after merging and generating email/quote PDFs ...: 5.3370730876923 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=70623"}}
    [to[0]] => dp@vectorsalesinc.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Derrick,

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 Derrick,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_20240610112514_48115.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1718036718_4991.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240610112514_48115.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1718036718_4991.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.783969
    [namelookup_time] => 0.002473
    [connect_time] => 0.064024
    [pretransfer_time] => 0.205483
    [size_upload] => 1796601
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 2294509
    [download_content_length] => 21
    [upload_content_length] => 1796601
    [starttransfer_time] => 0.2701
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 41428
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 205349
    [connect_time_us] => 64024
    [namelookup_time_us] => 2473
    [pretransfer_time_us] => 205483
    [redirect_time_us] => 0
    [starttransfer_time_us] => 270100
    [total_time_us] => 783969
)
after sending email to customer ...: 8.1282711029053 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Derrick,

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 Derrick,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_20240610112514_48115.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1718036718_4991.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.773558
    [namelookup_time] => 0.002014
    [connect_time] => 0.066105
    [pretransfer_time] => 0.205619
    [size_upload] => 1796201
    [size_download] => 21
    [speed_download] => 27
    [speed_upload] => 2323675
    [download_content_length] => 21
    [upload_content_length] => 1796201
    [starttransfer_time] => 0.27231
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 47900
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 205476
    [connect_time_us] => 66105
    [namelookup_time_us] => 2014
    [pretransfer_time_us] => 205619
    [redirect_time_us] => 0
    [starttransfer_time_us] => 272310
    [total_time_us] => 773558
)
after sending email to rep ...: 10.904628992081 secs since start
after inserting/updating customer in v2 ...: 10.995336055756 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gRGVycmljayw8L3A+PGRpdj48cD5JdCB3YXMgZ3JlYXQgc3BlYWtpbmcgd2l0aCB5b3UuPC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+PGI+RmlsdGVyIENoYW5nZSBTY2hlZHVsZTwvYj48L3A+PHA+UHJlLWZpbHRlcjombmJzcDsgMiBGbG93ZXIgY3ljbGVzPGJyPkJhZzombmJzcDsgJm5ic3A7ICZuYnNwOyA2IEZsb3dlciBjeWNsZXM8YnI+Q2FyYm9uOiZuYnNwOyAmbmJzcDsgNiBGbG93ZXIgY3ljbGVzPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3340649
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => dp@vectorsalesinc.com
    [To] => dp@vectorsalesinc.com
    [Date] => 2024-06-10 11:25:24
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => MAT7081
    [email-html] => 

Hello Derrick,

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_20240610112514_48115.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1718036718_4991.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] => 1.348863
    [namelookup_time] => 0.002204
    [connect_time] => 0.044332
    [pretransfer_time] => 0.087955
    [size_upload] => 1795956
    [size_download] => 1794801
    [speed_download] => 1331454
    [speed_upload] => 1332311
    [download_content_length] => -1
    [upload_content_length] => 1795956
    [starttransfer_time] => 0.109396
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 48066
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 87831
    [connect_time_us] => 44332
    [namelookup_time_us] => 2204
    [pretransfer_time_us] => 87955
    [redirect_time_us] => 0
    [starttransfer_time_us] => 109396
    [total_time_us] => 1348863
)
after pushing email and files into v2/timeline ...: 14.347626209259 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.646558046341 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.674291133881 secs since start
strJSON:
{"exportid":"70623","import_result":null,"import_error":"","fileurl":"GMImport_70623_1718036730_96179.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Matt Coxe","goldmine_email":"dp@vectorsalesinc.com","goldmine_phone":"","mas_quote_number":"Q048010","mas_customer_number":"MAT7081"}
end: 16.703933000565 secs since start