Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => BNC Industries
                    [Contact_First] => James
                    [Contact_Last] => Crockett
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 91214
                    [Email] => jimcbmc@gmail.com
                    [Phone] => 8184000851
                    [place_id] => 
                    [customerid] => 166355
                    [mascustnum] => BNC9121
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 166355
                    [mas_cust_no] => BNC9121
                )

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

            [billing] => Array
                (
                    [Company] => BNC Industries
                    [Contact_First] => James
                    [Contact_Last] => Crockett
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => La Crescenta
                    [State] => CA
                    [Zip] => 91214
                    [Country] => USA
                    [Email] => jimcbmc@gmail.com
                    [Phone] => (818) 400-0851
                )

            [shipping] => Array
                (
                    [ShipToName] => BNC Industries
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => La Crescenta
                    [State] => CA
                    [Zip] => 91214
                    [Country] => USA
                    [Email] => jimcbmc@gmail.com
                    [Phone] => (818) 400-0851
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 05/31/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] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => jimcbmc@gmail.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf Air Filtration Quote- Odor Control 
                    [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/CleanLeaf_Odor_Mitigation.pdf
                            [4] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 166355
    [mas_cust_no] => BNC9121
    [mas_cust_exists] => true
    [exportid] => 69395
    [masquotenum] => Q047345
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 05/31/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] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => jimcbmc@gmail.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Air Filtration Quote- Odor Control 
    [email_quote_body] => 

Hello <<&dear>>,

Thanks for your interest in our odor control units! 

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-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/CleanLeaf_Odor_Mitigation.pdf [4] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 69395: 0.093754053115845 secs since start
Session ID: orgdsamjqqf69c557kpjumc9if
just before engaging cartlink ...: 0.093834161758423 secs since start
after most cartlink items ...: 0.094410181045532 secs since start
after getting new so num ...: 0.244136095047 secs since start
after remaining cartlink items ...: 0.24417901039124 secs since start
SO Number: Q047345
just prior to terms gathering ...: 0.24420022964478 secs since start
after getting customer terms ...: 0.33545422554016 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 14 X 14 X 10 = 1960 Cubic Feet 
1960 X 12 (Air Changes Per Hour) = 23,520 Total Cubic Feet Of Air In Need Of Filtration Per Hour
23,520 / 60 = 392 CFM Needed
1 Unit = 1000 CFM [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [1] => 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] => 1 [price] => 2,850.00 [cost] => 1,424.57 [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-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] => 536.00 [cost] => 267.71 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047345','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','1424.57','1','1','2850.00','2850.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q047345','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','267.71','0','0','536.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.36405205726624 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/CleanLeaf_Odor_Mitigation.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1715263846_4637.pdf
after merging and generating email/quote PDFs ...: 4.2037031650543 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=69395"}}
    [to[0]] => jimcbmc@gmail.com
    [subject] => Your CleanLeaf Air Filtration Quote- Odor Control 
    [html] => 

Hello James,

Thanks for your interest in our odor control units! 

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 James,Thanks for your interest in our odor control units! 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_20240509091042_92903.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1715263846_4637.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240509091042_92903.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1715263846_4637.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.947573
    [namelookup_time] => 0.00191
    [connect_time] => 0.070341
    [pretransfer_time] => 0.222797
    [size_upload] => 1931257
    [size_download] => 21
    [speed_download] => 22
    [speed_upload] => 2039342
    [download_content_length] => 21
    [upload_content_length] => 1931257
    [starttransfer_time] => 0.293892
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 51638
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 222665
    [connect_time_us] => 70341
    [namelookup_time_us] => 1910
    [pretransfer_time_us] => 222797
    [redirect_time_us] => 0
    [starttransfer_time_us] => 293892
    [total_time_us] => 947573
)
after sending email to customer ...: 7.1574552059174 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote- Odor Control 
    [html] => 

Hello James,

Thanks for your interest in our odor control units! 

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 James,Thanks for your interest in our odor control units! 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_20240509091042_92903.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1715263846_4637.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.802308
    [namelookup_time] => 0.001994
    [connect_time] => 0.058309
    [pretransfer_time] => 0.181113
    [size_upload] => 1930861
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 2407557
    [download_content_length] => 21
    [upload_content_length] => 1930861
    [starttransfer_time] => 0.239717
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 51348
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 180976
    [connect_time_us] => 58309
    [namelookup_time_us] => 1994
    [pretransfer_time_us] => 181113
    [redirect_time_us] => 0
    [starttransfer_time_us] => 239717
    [total_time_us] => 802308
)
after sending email to rep ...: 9.9616889953613 secs since start
after inserting/updating customer in v2 ...: 10.055871009827 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gSmFtZXMsPC9wPjxkaXY+PHA+VGhhbmtzIGZvciB5b3VyIGludGVyZXN0IGluIG91ciBvZG9yIGNvbnRyb2wgdW5pdHMhJm5ic3A7PC9wPjxwPkF0dGFjaGVkIGlzIHlvdXIgcXVvdGUgYW5kIHByb2R1Y3QgbGl0ZXJhdHVyZS48L3A+PHA+PGI+RmlsdGVyIENoYW5nZSBTY2hlZHVsZTwvYj48L3A+PHA+UHJlLWZpbHRlcjombmJzcDsgMiBGbG93ZXIgY3ljbGVzPGJyPkJhZzombmJzcDsgJm5ic3A7ICZuYnNwOyA2IEZsb3dlciBjeWNsZXM8YnI+Q2FyYm9uOiZuYnNwOyAmbmJzcDsgNiBGbG93ZXIgY3ljbGVzPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3277410
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => jimcbmc@gmail.com
    [To] => jimcbmc@gmail.com
    [Date] => 2024-05-09 09:10:52
    [subject] => Your CleanLeaf Air Filtration Quote- Odor Control 
    [mas-customer-no] => BNC9121
    [email-html] => 

Hello James,

Thanks for your interest in our odor control units! 

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_20240509091042_92903.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1715263846_4637.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.76721
    [namelookup_time] => 0.002202
    [connect_time] => 0.021689
    [pretransfer_time] => 0.061936
    [size_upload] => 1930584
    [size_download] => 1929422
    [speed_download] => 1091919
    [speed_upload] => 1092577
    [download_content_length] => -1
    [upload_content_length] => 1930584
    [starttransfer_time] => 0.08329
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 38032
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 61831
    [connect_time_us] => 21689
    [namelookup_time_us] => 2202
    [pretransfer_time_us] => 61936
    [redirect_time_us] => 0
    [starttransfer_time_us] => 83290
    [total_time_us] => 1767210
)
after pushing email and files into v2/timeline ...: 13.826377153397 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.028610229492 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.066044092178 secs since start
strJSON:
{"exportid":"69395","import_result":null,"import_error":"","fileurl":"GMImport_69395_1715263858_59110.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"BNC Industries","goldmine_email":"jimcbmc@gmail.com","goldmine_phone":"(818) 400-0851","mas_quote_number":"Q047345","mas_customer_number":"BNC9121"}
end: 16.086870193481 secs since start