Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => All American Mechanical
                    [Contact_First] => Brittany
                    [Contact_Last] => Brittany
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 95742
                    [Email] => brittany@aam-ca.com
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 170527
                    [mascustnum] => ALL9574
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 170527
                    [mas_cust_no] => ALL9574
                )

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

            [billing] => Array
                (
                    [Company] => All American Mechanical
                    [Contact_First] => Brittany
                    [Contact_Last] => Brittany
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Rancho Cordova
                    [State] => CA
                    [Zip] => 95742
                    [Country] => USA
                    [Email] => brittany@aam-ca.com
                    [Phone] => 
                )

            [shipping] => Array
                (
                    [ShipToName] => All American Mechanical
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Rancho Cordova
                    [State] => CA
                    [Zip] => 95742
                    [Country] => USA
                    [Email] => brittany@aam-ca.com
                    [Phone] => 
                )

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

                    [application] => other
                    [generate_quote] => true
                    [is_ghost] => 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] => brittany@aam-ca.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-CCP Specs11-13-22.pdf
                            [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
                            [3] => /mnt/product_media/cleanleaf/pdf/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf
                            [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
                            [5] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 170527
    [mas_cust_no] => ALL9574
    [mas_cust_exists] => true
    [exportid] => 77598
    [masquotenum] => G003334
    [not_in_mas] => 1
)

POST Data

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

    [application] => other
    [generate_quote] => true
    [is_ghost] => 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] => brittany@aam-ca.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.

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] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf [3] => /mnt/product_media/cleanleaf/pdf/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf [5] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 3.0994415283203E-6 secs since start
after getting new exportid ... 77598: 0.28227806091309 secs since start
Session ID: bp0fln3ab8k5ls048f209196l9
just before engaging cartlink ...: 0.28242802619934 secs since start
after most cartlink items ...: 0.28324294090271 secs since start
after getting new so num ...: 0.76502990722656 secs since start
after remaining cartlink items ...: 0.76506805419922 secs since start
SO Number: G003334
just prior to terms gathering ...: 0.76508808135986 secs since start
after getting customer terms ...: 1.0464220046997 secs since start
Cart Items:
Array
(
    [0] => 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)

*Ambient/Ductable [qty] => 1 [price] => 4,176.00 [cost] => 2,087.89 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-2500D-INLET-18IN [name] => Inlet for 2500D series air cleaners [qty] => 0 [price] => 723.58 [cost] => 416.06 [pdfFileURL] => ) [3] => Array ( [sku] => RM-2500D-OUTLET-18IN [name] => Outlet for 2500D series air cleaners [qty] => 0 [price] => 252.56 [cost] => 145.22 [pdfFileURL] => ) [4] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [5] => 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)

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

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('G003334','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) *Ambient/Ductable','Y','2087.89','1','1','4176.00','4176.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('G003334','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 ('G003334','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 ('G003334','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) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','515.03','0','0','1031.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.0694000720978 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/CL2500D-CCP Specs11-13-22.pdf
    [2] => /mnt/product_media/cleanleaf/pdf/CL2500D-series-owners-manual2.pdf
    [3] => /mnt/product_media/cleanleaf/pdf/CleanLeafCL2500D-Ducting-Drawing-Top-View.pdf
    [4] => /mnt/product_media/cleanleaf/pdf/CleanLeaf 2500D Door Clearance.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1733177665_9352.pdf
after merging and generating email/quote PDFs ...: 5.7380309104919 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=77598"}}
    [to[0]] => brittany@aam-ca.com
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [html] => 

Hello Brittany,

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 Brittany,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_20241202161420_84416.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1733177665_9352.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20241202161420_84416.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1733177665_9352.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] => 1.05325
    [namelookup_time] => 0.001717
    [connect_time] => 0.067125
    [pretransfer_time] => 0.209936
    [size_upload] => 3890969
    [size_download] => 21
    [speed_download] => 19
    [speed_upload] => 3695127
    [download_content_length] => 21
    [upload_content_length] => 3890969
    [starttransfer_time] => 0.28409
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 53800
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 209833
    [connect_time_us] => 67125
    [namelookup_time_us] => 1717
    [pretransfer_time_us] => 209936
    [redirect_time_us] => 0
    [starttransfer_time_us] => 284090
    [total_time_us] => 1053250
)
after sending email to customer ...: 8.7972459793091 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [html] => 

Hello Brittany,

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 Brittany,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_20241202161420_84416.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1733177665_9352.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.038987
    [namelookup_time] => 0.001621
    [connect_time] => 0.064853
    [pretransfer_time] => 0.207073
    [size_upload] => 3890571
    [size_download] => 21
    [speed_download] => 20
    [speed_upload] => 3748141
    [download_content_length] => 21
    [upload_content_length] => 3890571
    [starttransfer_time] => 0.27617
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 58872
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 206961
    [connect_time_us] => 64853
    [namelookup_time_us] => 1621
    [pretransfer_time_us] => 207073
    [redirect_time_us] => 0
    [starttransfer_time_us] => 276170
    [total_time_us] => 1038987
)
after sending email to rep ...: 11.838025093079 secs since start
after inserting/updating customer in v2 ...: 12.063888072968 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQnJpdHRhbnksPC9wPjxkaXY+PHA+SXQgd2FzIGdyZWF0IHNwZWFraW5nIHdpdGggeW91LjwvcD48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPklmIHlvdSBoYXZlIGFueSBxdWVzdGlvbnMsIGRvbid0IGhlc2l0YXRlIHRvIGNvbnRhY3QgbWUuJm5ic3A7PC9wPjxwPlNpbmNlcmVseSw8YnI+PC9wPjxwPjxicj5LZXZpbiBHYWxsYWdoZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTc8YnI+ODY2IDQyMi00MDk5IEZheDxicj5rZXZpbmdAYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3730050
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => brittany@aam-ca.com
    [To] => brittany@aam-ca.com
    [Date] => 2024-12-02 16:14:31
    [subject] => Your CleanLeaf  Air Filtration Quote 
    [mas-customer-no] => ALL9574
    [email-html] => 

Hello Brittany,

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_20241202161420_84416.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1733177665_9352.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] => 7.771628
    [namelookup_time] => 0.001775
    [connect_time] => 0.068365
    [pretransfer_time] => 0.148896
    [size_upload] => 3890452
    [size_download] => 3889328
    [speed_download] => 500492
    [speed_upload] => 500637
    [download_content_length] => -1
    [upload_content_length] => 3890452
    [starttransfer_time] => 0.217203
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 53480
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 148813
    [connect_time_us] => 68365
    [namelookup_time_us] => 1775
    [pretransfer_time_us] => 148896
    [redirect_time_us] => 0
    [starttransfer_time_us] => 217203
    [total_time_us] => 7771628
)
after pushing email and files into v2/timeline ...: 21.838833093643 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 22.515748977661 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 24.589848041534 secs since start
strJSON:
{"exportid":"77598","import_result":null,"import_error":"","fileurl":"GMImport_77598_1733177684_13035.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"All American Mechanical","goldmine_email":"brittany@aam-ca.com","goldmine_phone":"","mas_quote_number":"G003334","mas_customer_number":"ALL9574"}
end: 24.608507871628 secs since start