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
                    [generate_quote] => true
                    [is_ghost] => true
                    [keep_sonum] => Q051840
                    [change_notes] => 
                    [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 CL3000-CF Air Filtration Quote - Flowering Room
                    [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 1250D Door Clearance.pdf
                            [4] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

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

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 12/31/2024
    [generate_quote] => true
    [is_ghost] => true
    [keep_sonum] => Q051840
    [change_notes] => 
    [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 CL3000-CF Air Filtration Quote - Flowering Room
    [email_quote_body] => 

Hello <<&dear>>,

It was great speaking with you.

Attached is your quote and product literature.

We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  

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 1250D Door Clearance.pdf [4] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 2.8610229492188E-6 secs since start
after getting new exportid ... 77595: 0.44990491867065 secs since start
Session ID: bp0fln3ab8k5ls048f209196l9
just before engaging cartlink ...: 0.44998383522034 secs since start
after most cartlink items ...: 0.45078587532043 secs since start
after getting new so num ...: 0.45080184936523 secs since start
after remaining cartlink items ...: 0.45081305503845 secs since start
SO Number: Q051840
just prior to terms gathering ...: 0.45083093643188 secs since start
after getting customer terms ...: 2.5920708179474 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)

*Ambient. Upgrade to DC motor available for ducted units; service charge applies. [qty] => 1 [price] => 2,628.00 [cost] => 1,313.88 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => RM-DC-MTAS-SVAC-1250 [name] => Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations. [qty] => 1 [price] => 1,836.00 [cost] => 918.00 [pdfFileURL] => ) [3] => Array ( [sku] => SRVCLEAF [name] => SERVICE labor for installing the delta motor so the unit can be ducted [qty] => 1 [price] => 450.67 [cost] => 0.00 [pdfFileURL] => ) [4] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [5] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet for 1250D series air cleaners [qty] => 0 [price] => 343.25 [cost] => 197.37 [pdfFileURL] => ) [6] => Array ( [sku] => RM-1250D-OUTLET-8IN [name] => Outlet for 1250D series air cleaners [qty] => 0 [price] => 96.20 [cost] => 55.32 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q051840','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) *Ambient. Upgrade to DC motor available for ducted units; service charge applies.','Y','1313.88','1','1','2628.00','2628.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q051840','RM-DC-MTAS-SVAC-1250','Delta Motor assembly for 1250D units. Required for all ducted units and CCPHE configurations.','Y','918.00','1','1','1836.00','1836.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q051840','SRVCLEAF','SERVICE labor for installing the delta motor so the unit can be ducted ','Y','0.00','1','1','450.67','450.67','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q051840','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 ('Q051840','RM-1250D-OUTLET-8IN','Outlet for 1250D series air cleaners','Y','55.32','0','0','96.20','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 2.6180939674377 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 1250D Door Clearance.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1733177063_4007.pdf
after merging and generating email/quote PDFs ...: 7.2869389057159 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=77595"}}
    [to[0]] => brittany@aam-ca.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Brittany,

It was great speaking with you.

Attached is your quote and product literature.

We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  

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.We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  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_20241202160418_91999.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1733177063_4007.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20241202160418_91999.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1733177063_4007.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.797303
    [namelookup_time] => 0.001841
    [connect_time] => 0.06574
    [pretransfer_time] => 0.20405
    [size_upload] => 1902994
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 2387696
    [download_content_length] => 21
    [upload_content_length] => 1902994
    [starttransfer_time] => 0.272079
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 56202
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 203949
    [connect_time_us] => 65740
    [namelookup_time_us] => 1841
    [pretransfer_time_us] => 204050
    [redirect_time_us] => 0
    [starttransfer_time_us] => 272079
    [total_time_us] => 797303
)
after sending email to customer ...: 10.090466976166 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Brittany,

It was great speaking with you.

Attached is your quote and product literature.

We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  

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.We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  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_20241202160418_91999.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1733177063_4007.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.773211
    [namelookup_time] => 0.001798
    [connect_time] => 0.063639
    [pretransfer_time] => 0.2005
    [size_upload] => 1902596
    [size_download] => 21
    [speed_download] => 27
    [speed_upload] => 2461314
    [download_content_length] => 21
    [upload_content_length] => 1902596
    [starttransfer_time] => 0.265556
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54314
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 200398
    [connect_time_us] => 63639
    [namelookup_time_us] => 1798
    [pretransfer_time_us] => 200500
    [redirect_time_us] => 0
    [starttransfer_time_us] => 265556
    [total_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zdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3730010
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:04:28
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => ALL9574
    [email-html] => 

Hello Brittany,

It was great speaking with you.

Attached is your quote and product literature.

We also have a larger unit, the CL2500D-CCP that is more powerful and would actually be less expensive. Oddly enough. Please let me know if you like a quote on that.  

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_20241202160418_91999.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1733177063_4007.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] => 5.927197
    [namelookup_time] => 0.001582
    [connect_time] => 0.067993
    [pretransfer_time] => 0.149289
    [size_upload] => 1902300
    [size_download] => 1901144
    [speed_download] => 320759
    [speed_upload] => 320954
    [download_content_length] => -1
    [upload_content_length] => 1902300
    [starttransfer_time] => 0.217271
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 46186
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 149208
    [connect_time_us] => 67993
    [namelookup_time_us] => 1582
    [pretransfer_time_us] => 149289
    [redirect_time_us] => 0
    [starttransfer_time_us] => 217271
    [total_time_us] => 5927197
)
after pushing email and files into v2/timeline ...: 20.796031951904 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 21.684339046478 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 23.757807016373 secs since start
strJSON:
{"exportid":"77595","import_result":null,"import_error":"","fileurl":"GMImport_77595_1733177079_48965.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":"Q051840","mas_customer_number":"ALL9574"}
end: 23.779273033142 secs since start