Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => PhilCo Construction
                    [Contact_First] => Dennis
                    [Contact_Last] => Campbell
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 92677
                    [Email] => dennis@philco-construction.com
                    [Phone] => 9494337278
                    [place_id] => 
                    [customerid] => 167340
                    [mascustnum] => PHI9267
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 167340
                    [mas_cust_no] => PHI9267
                )

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

            [billing] => Array
                (
                    [Company] => PhilCo Construction
                    [Contact_First] => Dennis
                    [Contact_Last] => Campbell
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Laguna Niguel
                    [State] => CA
                    [Zip] => 92677
                    [Country] => USA
                    [Email] => dennis@philco-construction.com
                    [Phone] => (949) 433-7278
                )

            [shipping] => Array
                (
                    [ShipToName] => PhilCo Construction
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Laguna Niguel
                    [State] => CA
                    [Zip] => 92677
                    [Country] => USA
                    [Email] => dennis@philco-construction.com
                    [Phone] => (949) 433-7278
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 07/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] => 2-3 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => dennis@philco-construction.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/CL2500D-series-owners-manual2.pdf
                            [5] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 167340
    [mas_cust_no] => PHI9267
    [mas_cust_exists] => true
    [exportid] => 71478
    [masquotenum] => Q048455
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 07/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] => 2-3 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => dennis@philco-construction.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/CL2500D-series-owners-manual2.pdf [5] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 71478: 0.095054149627686 secs since start
Session ID: 67pijgq1bj9imdg5u4iev2po2p
just before engaging cartlink ...: 0.095133066177368 secs since start
after most cartlink items ...: 0.095936059951782 secs since start
after getting new so num ...: 0.24472117424011 secs since start
after remaining cartlink items ...: 0.24476504325867 secs since start
SO Number: Q048455
just prior to terms gathering ...: 0.24490118026733 secs since start
after getting customer terms ...: 0.33400011062622 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 
            [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) [qty] => 1 [price] => 4,926.00 [cost] => 2,462.82 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => Array ( [sku] => RM-2500D-INLET-18IN [name] => Inlet for 2500D series air cleaners [qty] => 0 [price] => 723.58 [cost] => 416.06 [pdfFileURL] => ) [4] => Array ( [sku] => RM-2500D-OUTLET-18IN [name] => Outlet for 2500D series air cleaners [qty] => 0 [price] => 252.56 [cost] => 145.22 [pdfFileURL] => ) [5] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACEMENTS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [6] => 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)

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

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048455','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)','Y','2462.82','1','1','4926.00','4926.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048455','RM-2500D-INLET-18IN','Inlet for 2500D series air cleaners','Y','416.06','0','0','723.58','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048455','RM-2500D-OUTLET-18IN','Outlet for 2500D series air cleaners','Y','145.22','0','0','252.56','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048455','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) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','597.52','0','0','1196.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.35996603965759 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/CL2500D-series-owners-manual2.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1719841406_8681.pdf
after merging and generating email/quote PDFs ...: 6.2039711475372 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=71478"}}
    [to[0]] => dennis@philco-construction.com
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Dennis,

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 Dennis,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_20240701084321_55496.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1719841406_8681.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240701084321_55496.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1719841406_8681.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.956907
    [namelookup_time] => 0.002486
    [connect_time] => 0.070161
    [pretransfer_time] => 0.217697
    [size_upload] => 3212550
    [size_download] => 21
    [speed_download] => 21
    [speed_upload] => 3360407
    [download_content_length] => 21
    [upload_content_length] => 3212550
    [starttransfer_time] => 0.287933
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 34202
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 217555
    [connect_time_us] => 70161
    [namelookup_time_us] => 2486
    [pretransfer_time_us] => 217697
    [redirect_time_us] => 0
    [starttransfer_time_us] => 287933
    [total_time_us] => 956907
)
after sending email to customer ...: 9.167366027832 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Air Filtration Quote
    [html] => 

Hello Dennis,

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 Dennis,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_20240701084321_55496.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1719841406_8681.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] => 1.022921
    [namelookup_time] => 0.002423
    [connect_time] => 0.070759
    [pretransfer_time] => 0.219319
    [size_upload] => 3212141
    [size_download] => 21
    [speed_download] => 20
    [speed_upload] => 3142995
    [download_content_length] => 21
    [upload_content_length] => 3212141
    [starttransfer_time] => 0.293058
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 47002
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 219159
    [connect_time_us] => 70759
    [namelookup_time_us] => 2423
    [pretransfer_time_us] => 219319
    [redirect_time_us] => 0
    [starttransfer_time_us] => 293058
    [total_time_us] => 1022921
)
after sending email to rep ...: 12.192319154739 secs since start
after inserting/updating customer in v2 ...: 12.286952018738 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gRGVubmlzLDwvcD48ZGl2PjxwPkl0IHdhcyBncmVhdCBzcGVha2luZyB3aXRoIHlvdS48L3A+PHA+QXR0YWNoZWQgaXMgeW91ciBxdW90ZSBhbmQgcHJvZHVjdCBsaXRlcmF0dXJlLjwvcD48cD48Yj5GaWx0ZXIgQ2hhbmdlIFNjaGVkdWxlPC9iPjwvcD48cD5QcmUtZmlsdGVyOiZuYnNwOyAyIEZsb3dlciBjeWNsZXM8YnI+QmFnOiZuYnNwOyAmbmJzcDsgJm5ic3A7IDYgRmxvd2VyIGN5Y2xlczxicj5DYXJib246Jm5ic3A7ICZuYnNwOyA2IEZsb3dlciBjeWNsZXM8L3A+PHA+SWYgeW91IGhhdmUgYW55IHF1ZXN0aW9ucywgZG9uJ3QgaGVzaXRhdGUgdG8gY29udGFjdCBtZS4mbmJzcDs8L3A+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPktldmluIEdhbGxhZ2hlcjxicj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5DbGVhbkxlYWY8L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+MTEwODggR3Jhdm9pcyBJbmR1c3RyaWFsIEN0Ljwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij5TYWludCBMb3VpcywgTU8gNjMxMjg8L3NwYW4+PGJyPjg2NiA5OTktOTAwOCBFeHQuIDExNzxicj44NjYgNDIyLTQwOTkgRmF4PGJyPmtldmluZ0BhaXJjbGVhbmluZ3NwZWNpYWxpc3RzLmNvbTxicj48YSBocmVmPSJodHRwOi8vd3d3LmNsZWFubGVhZi5jb20vIj5odHRwOi8vd3d3LmNsZWFubGVhZi5jb20vPC9hPjxhIGhyZWY9Imh0dHA6Ly93d3cuZnVtZWF2ZW50LmNvbS8iPjwvYT48L3A+PHA+PGJyPjwvcD48L2Rpdj48ZGl2Pjxicj48L2Rpdj48L2JvZHk+PC9odG1sPg==
v2_mailid: 3384854
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => dennis@philco-construction.com
    [To] => dennis@philco-construction.com
    [Date] => 2024-07-01 08:43:32
    [subject] => Your CleanLeaf Air Filtration Quote
    [mas-customer-no] => PHI9267
    [email-html] => 

Hello Dennis,

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_20240701084321_55496.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1719841406_8681.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.733419
    [namelookup_time] => 0.002011
    [connect_time] => 0.021262
    [pretransfer_time] => 0.05681
    [size_upload] => 3211915
    [size_download] => 3210742
    [speed_download] => 1852707
    [speed_upload] => 1853384
    [download_content_length] => -1
    [upload_content_length] => 3211915
    [starttransfer_time] => 0.077297
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 39022
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56715
    [connect_time_us] => 21262
    [namelookup_time_us] => 2011
    [pretransfer_time_us] => 56810
    [redirect_time_us] => 0
    [starttransfer_time_us] => 77297
    [total_time_us] => 1733419
)
after pushing email and files into v2/timeline ...: 16.024939060211 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 16.237694978714 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 18.264473199844 secs since start
strJSON:
{"exportid":"71478","import_result":null,"import_error":"","fileurl":"GMImport_71478_1719841418_52968.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"PhilCo Construction","goldmine_email":"dennis@philco-construction.com","goldmine_phone":"(949) 433-7278","mas_quote_number":"Q048455","mas_customer_number":"PHI9267"}
end: 18.285962104797 secs since start