Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => New Gen HVAC Services
                    [Contact_First] => Hassan
                    [Contact_Last] => Hassan
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 48085
                    [Email] => info@newgenhvacr.com
                    [Phone] => 2488354897
                    [place_id] => 
                    [customerid] => 165755
                    [mascustnum] => NEW4808
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 165755
                    [mas_cust_no] => NEW4808
                )

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

            [billing] => Array
                (
                    [Company] => New Gen HVAC Services
                    [Contact_First] => Hassan
                    [Contact_Last] => Hassan
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Troy
                    [State] => MI
                    [Zip] => 48085
                    [Country] => USA
                    [Email] => info@newgenhvacr.com
                    [Phone] => (248) 835-4897
                )

            [shipping] => Array
                (
                    [ShipToName] => New Gen HVAC Services
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Troy
                    [State] => MI
                    [Zip] => 48085
                    [Country] => USA
                    [Email] => info@newgenhvacr.com
                    [Phone] => (248) 835-4897
                )

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

                    [application] => other
                    [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] => info@newgenhvacr.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] => 165755
    [mas_cust_no] => NEW4808
    [mas_cust_exists] => true
    [exportid] => 68166
    [masquotenum] => Q046714
    [not_in_mas] => 1
)

POST Data

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

    [application] => other
    [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] => info@newgenhvacr.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf  Air Filtration Quote - ODOR CONTROL 
    [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-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.814697265625E-6 secs since start
after getting new exportid ... 68166: 1.1191928386688 secs since start
Session ID: tj6kq82jh2b6fg1ateg66evpdj
just before engaging cartlink ...: 1.1192560195923 secs since start
after most cartlink items ...: 1.1200029850006 secs since start
after getting new so num ...: 1.2590348720551 secs since start
after remaining cartlink items ...: 1.2590789794922 secs since start
SO Number: Q046714
just prior to terms gathering ...: 1.2590899467468 secs since start
after getting customer terms ...: 1.3414208889008 secs since start
Cart Items:
Array
(
    [0] => 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] => 3 [price] => 2,763.06 [cost] => 1,381.53 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => OPTIONS BELOW ARE FOR DUCTED UNITS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet for 1250D series air cleaners [qty] => 3 [price] => 343.25 [cost] => 197.37 [pdfFileURL] => ) [3] => Array ( [sku] => RM-1250D-OUTLET-8IN [name] => Outlet for 1250D series air cleaners [qty] => 3 [price] => 96.20 [cost] => 55.32 [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] => 3 [price] => 1,438.04 [cost] => 719.02 [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-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] => 449.34 [cost] => 224.67 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046714','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','1381.53','3','3','2763.06','8289.18','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046714','RM-1250D-INLET-12IN','Inlet for 1250D series air cleaners','Y','197.37','3','3','343.25','1029.75','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046714','RM-1250D-OUTLET-8IN','Outlet for 1250D series air cleaners','Y','55.32','3','3','96.20','288.60','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046714','RM-DC-MTAS-SVAC-1250','Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations.','Y','719.02','3','3','1438.04','4314.12','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q046714','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','224.67','0','0','449.34','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 1.3684918880463 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_1712776174_5508.pdf
after merging and generating email/quote PDFs ...: 7.8176369667053 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=68166"}}
    [to[0]] => info@newgenhvacr.com
    [subject] => Your CleanLeaf  Air Filtration Quote - ODOR CONTROL 
    [html] => 

Hello Hassan,

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 Hassan,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_20240410140928_70684.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1712776174_5508.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240410140928_70684.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1712776174_5508.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.854025
    [namelookup_time] => 0.002067
    [connect_time] => 0.069644
    [pretransfer_time] => 0.216907
    [size_upload] => 1942194
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2274231
    [download_content_length] => 21
    [upload_content_length] => 1942194
    [starttransfer_time] => 0.286761
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55406
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 216802
    [connect_time_us] => 69644
    [namelookup_time_us] => 2067
    [pretransfer_time_us] => 216907
    [redirect_time_us] => 0
    [starttransfer_time_us] => 286761
    [total_time_us] => 854025
)
after sending email to customer ...: 10.674655914307 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf  Air Filtration Quote - ODOR CONTROL 
    [html] => 

Hello Hassan,

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 Hassan,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_20240410140928_70684.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1712776174_5508.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.881744
    [namelookup_time] => 0.002271
    [connect_time] => 0.071442
    [pretransfer_time] => 0.22345
    [size_upload] => 1941795
    [size_download] => 21
    [speed_download] => 23
    [speed_upload] => 2204080
    [download_content_length] => 21
    [upload_content_length] => 1941795
    [starttransfer_time] => 0.295684
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 42068
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 223352
    [connect_time_us] => 71442
    [namelookup_time_us] => 2271
    [pretransfer_time_us] => 223450
    [redirect_time_us] => 0
    [starttransfer_time_us] => 295684
    [total_time_us] => 881744
)
after sending email to rep ...: 13.558497905731 secs since start
after inserting/updating customer in v2 ...: 13.647202014923 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gSGFzc2FuLDwvcD48ZGl2PjxwPkl0IHdhcyBncmVhdCBzcGVha2luZyB3aXRoIHlvdS48L3A+PHA+QXR0YWNoZWQgaXMgeW91ciBxdW90ZSBhbmQgcHJvZHVjdCBsaXRlcmF0dXJlLjwvcD48cD5JZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zLCBkb24ndCBoZXNpdGF0ZSB0byBjb250YWN0IG1lLiZuYnNwOzwvcD48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+S2V2aW4gR2FsbGFnaGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTE3PGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+a2V2aW5nQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3218118
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => info@newgenhvacr.com
    [To] => info@newgenhvacr.com
    [Date] => 2024-04-10 14:09:40
    [subject] => Your CleanLeaf  Air Filtration Quote - ODOR CONTROL 
    [mas-customer-no] => NEW4808
    [email-html] => 

Hello Hassan,

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_20240410140928_70684.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1712776174_5508.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.550812
    [namelookup_time] => 0.001662
    [connect_time] => 0.019606
    [pretransfer_time] => 0.056289
    [size_upload] => 1941680
    [size_download] => 1940539
    [speed_download] => 1251960
    [speed_upload] => 1252696
    [download_content_length] => -1
    [upload_content_length] => 1941680
    [starttransfer_time] => 0.077041
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 40090
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 56180
    [connect_time_us] => 19606
    [namelookup_time_us] => 1662
    [pretransfer_time_us] => 56289
    [redirect_time_us] => 0
    [starttransfer_time_us] => 77041
    [total_time_us] => 1550812
)
after pushing email and files into v2/timeline ...: 17.200839996338 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 17.414512872696 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 19.440514802933 secs since start
strJSON:
{"exportid":"68166","import_result":null,"import_error":"","fileurl":"GMImport_68166_1712776186_64873.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"New Gen HVAC Services","goldmine_email":"info@newgenhvacr.com","goldmine_phone":"(248) 835-4897","mas_quote_number":"Q046714","mas_customer_number":"NEW4808"}
end: 19.461885929108 secs since start