Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Scientific Solutions
                    [Contact_First] => john
                    [Contact_Last] => cantril
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 92123
                    [Email] => John@scisolinc.com
                    [Phone] => 6193451142
                    [place_id] => 
                    [customerid] => 167829
                    [mascustnum] => SCI9212
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 167829
                    [mas_cust_no] => SCI9212
                )

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

            [billing] => Array
                (
                    [Company] => Scientific Solutions
                    [Contact_First] => john
                    [Contact_Last] => cantril
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [City] => San Diego
                    [State] => CA
                    [Zip] => 92123
                    [Country] => USA
                    [Email] => John@scisolinc.com
                    [Phone] => (619) 345-1142
                )

            [shipping] => Array
                (
                    [ShipToName] => Scientific Solutions
                    [Address1] => 
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => San Diego
                    [State] => CA
                    [Zip] => 92123
                    [Country] => USA
                    [Email] => John@scisolinc.com
                    [Phone] => (619) 345-1142
                )

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

                    [application] => Odor
                    [generate_quote] => true
                    [not_in_mas] => true
                    [delivery_disclaimer] => true
                    [lead_time] => 2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => John@scisolinc.com
                    [template_id] => 489
                    [email_quote_subject] => Your CleanLeaf 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] => 167829
    [mas_cust_no] => SCI9212
    [mas_cust_exists] => true
    [exportid] => 72445
    [masquotenum] => Q048984
    [not_in_mas] => 1
)

POST Data

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

    [application] => Odor
    [generate_quote] => true
    [not_in_mas] => true
    [delivery_disclaimer] => true
    [lead_time] => 2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => John@scisolinc.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf Filtration Quote - Odor Control 
    [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] => /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: 2.1457672119141E-6 secs since start
after getting new exportid ... 72445: 0.094090938568115 secs since start
Session ID: c8nh4nsp49gke6gpkj152acnnn
just before engaging cartlink ...: 0.094202041625977 secs since start
after most cartlink items ...: 0.095001935958862 secs since start
after getting new so num ...: 0.24653911590576 secs since start
after remaining cartlink items ...: 0.24657702445984 secs since start
SO Number: Q048984
just prior to terms gathering ...: 0.24659514427185 secs since start
after getting customer terms ...: 0.33626413345337 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => 
            [name] => 
            [qty] => 0
            [price] => 0.00
            [cost] => 0.00
            [pdfFileURL] => 
        )

    [1] => 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) [qty] => 6 [price] => 2,850.00 [cost] => 1,424.57 [pdfFileURL] => ) [2] => Array ( [sku] => [name] => FIRST SET OF FILTERS PROVIDED WITH UNITS. COSTS BELOW ARE FOR REPLACEMENTS. [qty] => 0 [price] => 0.00 [cost] => 0.00 [pdfFileURL] => ) [3] => 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)

*Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson. [qty] => 0 [price] => 536.00 [cost] => 267.71 [pdfFileURL] => ) [4] => Array ( [sku] => CLF-C-100C [name] => 100% Activated Carbon Canister
(Priced Each / Sold in Cartons of 4)
Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP [qty] => 0 [price] => 57.00 [cost] => 28.32 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048984','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)','Y','1424.57','6','6','2850.00','17100.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048984','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) *Filter configurations and change-out times are based on standard recommendations.  Yours may vary, if unsure, please contact your salesperson.','Y','267.71','0','0','536.00','0.00','1')
not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q048984','CLF-C-100C','100% Activated Carbon Canister (Priced Each / Sold in Cartons of 4) Used in CL1250D-CCP, FX-AC-1250D-CCP, CL1250D-CCPHE, FX-AC-1250D-CCPHE, CL2500D-CCPHE, FX-AC-2500D-CCPHE, CL2500D-CCP, and FX-AC-2500D-CCP','Y','28.32','0','0','57.00','0.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.36461591720581 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_1722002761_4705.pdf
after merging and generating email/quote PDFs ...: 9.451446056366 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=72445"}}
    [to[0]] => John@scisolinc.com
    [subject] => Your CleanLeaf Filtration Quote - Odor Control 
    [html] => 

Hello john,

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 john,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_20240726090552_49160.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1722002761_4705.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20240726090552_49160.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1722002761_4705.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.853319
    [namelookup_time] => 0.001926
    [connect_time] => 0.069051
    [pretransfer_time] => 0.219559
    [size_upload] => 2125974
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2492349
    [download_content_length] => 21
    [upload_content_length] => 2125974
    [starttransfer_time] => 0.289222
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 59316
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 219461
    [connect_time_us] => 69051
    [namelookup_time_us] => 1926
    [pretransfer_time_us] => 219559
    [redirect_time_us] => 0
    [starttransfer_time_us] => 289222
    [total_time_us] => 853319
)
after sending email to customer ...: 12.311123132706 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => keving@aircleaningspecialists.com
    [fromname] => Kevin Gallagher
    [subject] => Your CleanLeaf Filtration Quote - Odor Control 
    [html] => 

Hello john,

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 john,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_20240726090552_49160.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1722002761_4705.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.858721
    [namelookup_time] => 0.001771
    [connect_time] => 0.069685
    [pretransfer_time] => 0.215823
    [size_upload] => 2125577
    [size_download] => 21
    [speed_download] => 24
    [speed_upload] => 2477362
    [download_content_length] => 21
    [upload_content_length] => 2125577
    [starttransfer_time] => 0.285856
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 54.213.76.12
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 59322
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 215696
    [connect_time_us] => 69685
    [namelookup_time_us] => 1771
    [pretransfer_time_us] => 215823
    [redirect_time_us] => 0
    [starttransfer_time_us] => 285856
    [total_time_us] => 858721
)
after sending email to rep ...: 15.172622919083 secs since start
after inserting/updating customer in v2 ...: 15.265846967697 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L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L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3438625
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Kevin Gallagher 
    [recipient] => John@scisolinc.com
    [To] => John@scisolinc.com
    [Date] => 2024-07-26 09:06:07
    [subject] => Your CleanLeaf Filtration Quote - Odor Control 
    [mas-customer-no] => SCI9212
    [email-html] => 

Hello john,

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_20240726090552_49160.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1722002761_4705.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] => 1.531293
    [namelookup_time] => 0.001744
    [connect_time] => 0.021086
    [pretransfer_time] => 0.055168
    [size_upload] => 2125329
    [size_download] => 2124168
    [speed_download] => 1387438
    [speed_upload] => 1388196
    [download_content_length] => -1
    [upload_content_length] => 2125329
    [starttransfer_time] => 0.076183
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 47256
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 55071
    [connect_time_us] => 21086
    [namelookup_time_us] => 1744
    [pretransfer_time_us] => 55168
    [redirect_time_us] => 0
    [starttransfer_time_us] => 76183
    [total_time_us] => 1531293
)
after pushing email and files into v2/timeline ...: 18.801243066788 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 19.000929117203 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 21.025996923447 secs since start
strJSON:
{"exportid":"72445","import_result":null,"import_error":"","fileurl":"GMImport_72445_1722002772_78738.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Scientific Solutions","goldmine_email":"John@scisolinc.com","goldmine_phone":"(619) 345-1142","mas_quote_number":"Q048984","mas_customer_number":"SCI9212"}
end: 21.052338123322 secs since start