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
                    [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] => keving@aircleaningspecialists.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] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 170527
    [mas_cust_no] => ALL9574
    [mas_cust_exists] => true
    [exportid] => 77588
    [masquotenum] => Q051840
    [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
    [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] => keving@aircleaningspecialists.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.

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] => quote_bundle_separator ) [act] => submit_quote )

Debug Data

start: 1.9073486328125E-6 secs since start
after getting new exportid ... 77588: 0.281574010849 secs since start
Session ID: b39pu7hug9ot604nql8dvc5e50
just before engaging cartlink ...: 0.28167200088501 secs since start
after most cartlink items ...: 0.28254079818726 secs since start
after getting new so num ...: 0.76399087905884 secs since start
after remaining cartlink items ...: 0.76402497291565 secs since start
SO Number: Q051840
just prior to terms gathering ...: 0.76404094696045 secs since start
after getting customer terms ...: 1.0473418235779 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] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [4] => Array ( [sku] => RM-1250D-INLET-12IN [name] => Inlet for 1250D series air cleaners [qty] => 0 [price] => 343.25 [cost] => 197.37 [pdfFileURL] => ) [5] => 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','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: 1.0682878494263 secs since start
generating quote pdf ...
Temp file doesn't exist ... adding the PDFs individually ...

ATTACHMENTS
arrPDFs:
Array
(
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1733174544_7033.pdf
after merging and generating email/quote PDFs ...: 5.7216689586639 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=77588"}}
    [to[0]] => keving@aircleaningspecialists.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.

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 Brittany,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_20241202152220_32153.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20241202152220_32153.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] => 722
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.602618
    [namelookup_time] => 0.001783
    [connect_time] => 0.067657
    [pretransfer_time] => 0.218365
    [size_upload] => 91606
    [size_download] => 21
    [speed_download] => 34
    [speed_upload] => 152169
    [download_content_length] => 21
    [upload_content_length] => 91606
    [starttransfer_time] => 0.290519
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 55698
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 218273
    [connect_time_us] => 67657
    [namelookup_time_us] => 1783
    [pretransfer_time_us] => 218365
    [redirect_time_us] => 0
    [starttransfer_time_us] => 290519
    [total_time_us] => 602618
)
after sending email to customer ...: 8.3300340175629 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.

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 Brittany,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_20241202152220_32153.pdf [mime] => [postname] => Quote.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] => 722
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.479353
    [namelookup_time] => 0.001946
    [connect_time] => 0.068662
    [pretransfer_time] => 0.20896
    [size_upload] => 91194
    [size_download] => 21
    [speed_download] => 43
    [speed_upload] => 190384
    [download_content_length] => 21
    [upload_content_length] => 91194
    [starttransfer_time] => 0.276595
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 59842
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 208842
    [connect_time_us] => 68662
    [namelookup_time_us] => 1946
    [pretransfer_time_us] => 208960
    [redirect_time_us] => 0
    [starttransfer_time_us] => 276595
    [total_time_us] => 479353
)
after sending email to rep ...: 10.811231851578 secs since start
after inserting/updating customer in v2 ...: 11.052716016769 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+SGVsbG8gQnJpdHRhbnksPC9wPjxkaXY+PHA+SXQgd2FzIGdyZWF0IHNwZWFraW5nIHdpdGggeW91LjwvcD48cD5BdHRhY2hlZCBpcyB5b3VyIHF1b3RlIGFuZCBwcm9kdWN0IGxpdGVyYXR1cmUuPC9wPjxwPjxiPkZpbHRlciBDaGFuZ2UgU2NoZWR1bGU8L2I+PC9wPjxwPlByZS1maWx0ZXI6Jm5ic3A7IDIgRmxvd2VyIGN5Y2xlczxicj5CYWc6Jm5ic3A7ICZuYnNwOyAmbmJzcDsgNiBGbG93ZXIgY3ljbGVzPGJyPkNhcmJvbjombmJzcDsgJm5ic3A7IDYgRmxvd2VyIGN5Y2xlczwvcD48cD5JZiB5b3UgaGF2ZSBhbnkgcXVlc3Rpb25zLCBkb24ndCBoZXNpdGF0ZSB0byBjb250YWN0IG1lLiZuYnNwOzwvcD48cD5TaW5jZXJlbHksPGJyPjwvcD48cD48YnI+S2V2aW4gR2FsbGFnaGVyPGJyPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPkNsZWFuTGVhZjwvc3Bhbj48YnI+PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA3MDA7Ij4xMTA4OCBHcmF2b2lzIEluZHVzdHJpYWwgQ3QuPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPlNhaW50IExvdWlzLCBNTyA2MzEyODwvc3Bhbj48YnI+ODY2IDk5OS05MDA4IEV4dC4gMTE3PGJyPjg2NiA0MjItNDA5OSBGYXg8YnI+a2V2aW5nQGFpcmNsZWFuaW5nc3BlY2lhbGlzdHMuY29tPGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS8iPmh0dHA6Ly93d3cuY2xlYW5sZWFmLmNvbS88L2E+PGEgaHJlZj0iaHR0cDovL3d3dy5mdW1lYXZlbnQuY29tLyI+PC9hPjwvcD48cD48YnI+PC9wPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvYm9keT48L2h0bWw+
v2_mailid: 3729784
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => keving@aircleaningspecialists.com
    [To] => keving@aircleaningspecialists.com
    [Date] => 2024-12-02 15:22:30
    [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.

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_20241202152220_32153.pdf [mime] => [postname] => Quote.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] => 649
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.973305
    [namelookup_time] => 0.001461
    [connect_time] => 0.067882
    [pretransfer_time] => 0.148172
    [size_upload] => 90995
    [size_download] => 89874
    [speed_download] => 92367
    [speed_upload] => 93520
    [download_content_length] => -1
    [upload_content_length] => 90995
    [starttransfer_time] => 0.216518
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 45752
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 148091
    [connect_time_us] => 67882
    [namelookup_time_us] => 1461
    [pretransfer_time_us] => 148172
    [redirect_time_us] => 0
    [starttransfer_time_us] => 216518
    [total_time_us] => 973305
)
after pushing email and files into v2/timeline ...: 14.028729915619 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 14.710283994675 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 16.783645868301 secs since start
strJSON:
{"exportid":"77588","import_result":null,"import_error":"","fileurl":"GMImport_77588_1733174556_94651.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: 16.803488969803 secs since start