Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => A Squared Mechanical Solutions
                    [Contact_First] => Jeff
                    [Contact_Last] => Wagner
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 80229
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => 7203319656
                    [place_id] => 
                    [customerid] => 167652
                    [mascustnum] => ASQ802A
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 167652
                    [mas_cust_no] => ASQ802A
                )

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

            [billing] => Array
                (
                    [Company] => A Squared Mechanical Solutions
                    [Contact_First] => Jeff
                    [Contact_Last] => Wagner
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80229
                    [Country] => USA
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => (720) 331-9656
                )

            [shipping] => Array
                (
                    [ShipToName] => A Squared Mechanical Solutions
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Denver
                    [State] => CO
                    [Zip] => 80229
                    [Country] => USA
                    [Email] => jeff.wagner@a2mech.com
                    [Phone] => (720) 331-9656
                )

            [leadid] => 
            [summary] => Array
                (
                    [SalesPersonNo] => 0064
                    [ProductLine] => CL
                    [forecasting_likelihood] => low
                    [forecasting_expected_close_date] => 07/31/2024
                    [generate_quote] => true
                    [is_ghost] => true
                    [keep_sonum] => Q048794
                    [change_notes] => 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [lead_time] => 1-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] => 167652
    [mas_cust_no] => ASQ802A
    [mas_cust_exists] => true
    [exportid] => 72351
    [masquotenum] => Q048794
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0064
    [ProductLine] => CL
    [forecasting_likelihood] => low
    [forecasting_expected_close_date] => 07/31/2024
    [generate_quote] => true
    [is_ghost] => true
    [keep_sonum] => Q048794
    [change_notes] => 
    [delivery_disclaimer] => true
    [tax_free] => true
    [lead_time] => 1-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 [not_in_mas] => true )

Debug Data

start: 4.0531158447266E-6 secs since start
after getting new exportid ... 72351: 0.094025850296021 secs since start
Session ID: 22vkkqjt81qmt6jupr3oi9g6kp
just before engaging cartlink ...: 0.094130039215088 secs since start
after most cartlink items ...: 0.094990968704224 secs since start
after getting new so num ...: 0.095013856887817 secs since start
after remaining cartlink items ...: 0.095034837722778 secs since start
SO Number: Q048794
just prior to terms gathering ...: 0.095054864883423 secs since start
after getting customer terms ...: 0.1851909160614 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => CL1250D-CF
            [name] => CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System
Side Access Filter Housing with a year supply of filters, which includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly)
+2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually)

Color: Grey [qty] => 2 [price] => 2,337.00 [cost] => 1,168.17 [pdfFileURL] => ) [1] => Array ( [sku] => [name] => [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [2] => Array ( [sku] => CLF-1250DCF-1YRKIT [name] => 1 year kit of filters for CL1250D-CF. Includes:

-1x CLF-1250DCF-1YRPCK
+4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly)
+2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually)

-2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually)

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

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','CL1250D-CF','CleanLeaf Model CL1250D-CF, 1,000 CFM Self-Contained Odor Mitigation & Filtration System Side Access Filter Housing with a year supply of filters, which includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Pre-filter; changed quarterly) +2x CLF-552898 (25x15x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb 75% Fill Carbon After-Filter; changed semi-annually) Color: Grey','Y','1168.17','2','2','2337.00','4674.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048794','CLF-1250DCF-1YRKIT','1 year kit of filters for CL1250D-CF. Includes: -1x CLF-1250DCF-1YRPCK +4x CLF-5502 (25x15x2 Pleated Prefilter; changed quarterly) +2x CLF-552898 (15x25x28" 95% 8 Pocket Bag Filter; changed semi-annually) -2x CLF-5502-CF (25x15x2" Honeycomb Carbon Afterfilter; changed semi-annually) *Filter configurations and change-out times are based on standard recommendations. Yours may vary, if unsure, please contact your salesperson.','Y','134.02','0','0','269.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.21601295471191 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_1721836208_3312.pdf
after merging and generating email/quote PDFs ...: 4.5835199356079 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=72351"}}
    [to[0]] => keving@aircleaningspecialists.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Hello Jeff,

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 Jeff,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_20240724105004_24384.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240724105004_24384.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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.588005
    [namelookup_time] => 0.002264
    [connect_time] => 0.063029
    [pretransfer_time] => 0.201803
    [size_upload] => 418011
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 710903
    [download_content_length] => 21
    [upload_content_length] => 418011
    [starttransfer_time] => 0.266476
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35522
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 201697
    [connect_time_us] => 63029
    [namelookup_time_us] => 2264
    [pretransfer_time_us] => 201803
    [redirect_time_us] => 0
    [starttransfer_time_us] => 266476
    [total_time_us] => 588005
)
after sending email to customer ...: 7.1783578395844 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 Jeff,

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 Jeff,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_20240724105004_24384.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] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.597809
    [namelookup_time] => 0.001947
    [connect_time] => 0.065503
    [pretransfer_time] => 0.206201
    [size_upload] => 417599
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 699495
    [download_content_length] => 21
    [upload_content_length] => 417599
    [starttransfer_time] => 0.272632
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 34.223.196.50
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 35524
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 206082
    [connect_time_us] => 65503
    [namelookup_time_us] => 1947
    [pretransfer_time_us] => 206201
    [redirect_time_us] => 0
    [starttransfer_time_us] => 272632
    [total_time_us] => 597809
)
after sending email to rep ...: 9.7781119346619 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1m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mVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3433564
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => keving@aircleaningspecialists.com
    [To] => keving@aircleaningspecialists.com
    [Date] => 2024-07-24 10:50:14
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => ASQ802A
    [email-html] => 

Hello Jeff,

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_20240724105004_24384.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] => 650
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.683213
    [namelookup_time] => 0.001768
    [connect_time] => 0.021297
    [pretransfer_time] => 0.055556
    [size_upload] => 417404
    [size_download] => 416283
    [speed_download] => 609491
    [speed_upload] => 611133
    [download_content_length] => -1
    [upload_content_length] => 417404
    [starttransfer_time] => 0.076817
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 55508
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 55476
    [connect_time_us] => 21297
    [namelookup_time_us] => 1768
    [pretransfer_time_us] => 55556
    [redirect_time_us] => 0
    [starttransfer_time_us] => 76817
    [total_time_us] => 683213
)
after pushing email and files into v2/timeline ...: 12.464776992798 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 12.673743963242 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 14.699522972107 secs since start
strJSON:
{"exportid":"72351","import_result":null,"import_error":"","fileurl":"GMImport_72351_1721836218_67684.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"A Squared Mechanical Solutions","goldmine_email":"jeff.wagner@a2mech.com","goldmine_phone":"(720) 331-9656","mas_quote_number":"Q048794","mas_customer_number":"ASQ802A"}
end: 14.722539901733 secs since start