Session Data

Array
(
    [form_inputs] => Array
        (
            [initial] => Array
                (
                    [Company] => Delta Construction and Electri
                    [Contact_First] => Steaven 
                    [Contact_Last] => Ballesteros 
                    [Contact_Email] => 
                    [Contact_Phone] => 
                    [contactid] => 
                    [Zip] => 90065
                    [Email] => 
                    [Phone] => 
                    [place_id] => 
                    [customerid] => 146960
                    [mascustnum] => DEL9003
                )

            [gm_search] => Array
                (
                    [gm_account_no] => 146960
                    [mas_cust_no] => DEL9003
                )

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

            [billing] => Array
                (
                    [Company] => Delta Construction and Electri
                    [Contact_First] => Steaven 
                    [Contact_Last] => Ballesteros 
                    [Address1] => 2325 N San Fernando Rd
                    [Address2] => 
                    [Address3] => 
                    [City] => Los Angeles
                    [State] => CA
                    [Zip] => 90065
                    [Country] => USA
                    [Email] => steaven@deltagc.com
                    [Phone] => 323-704-3200
                )

            [shipping] => Array
                (
                    [ShipToName] => TBD
                    [Address1] => 14115 Crenshaw Blvd Suite 10
                    [Address2] => 
                    [Address3] => 
                    [Address4] => 
                    [Address5] => 
                    [City] => Hawthorne
                    [State] => CA
                    [Zip] => 90250
                    [Country] => USA
                    [Email] => steaven@deltagc.com
                    [Phone] => 323-704-3200
                )

            [leadid] => 0
            [summary] => Array
                (
                    [SalesPersonNo] => 0020
                    [ProductLine] => CL
                    [forecasting_likelihood] => medium
                    [forecasting_expected_close_date] => 01/31/2025
                    [generate_quote] => true
                    [keep_sonum] => Q050316
                    [change_notes] => Changes 
                    [delivery_disclaimer] => true
                    [tax_free] => true
                    [freight_estimate] => true
                    [freight_type] => quote
                    [freight_estimate_value] => 130.00
                    [lead_time] => 1-2 Weeks, depending on stock and availability.
                    [email_quote] => true
                    [email_quote_to] => steaven@deltagc.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/ed400_compressed.pdf
                            [2] => quote_bundle_separator
                        )

                    [act] => submit_quote
                )

        )

    [last_completed_step] => 5
    [gm_account_no] => 146960
    [mas_cust_no] => DEL9003
    [mas_cust_exists] => true
    [exportid] => 79146
    [masquotenum] => Q050316
    [not_in_mas] => 1
)

POST Data

Array
(
    [SalesPersonNo] => 0020
    [ProductLine] => CL
    [forecasting_likelihood] => medium
    [forecasting_expected_close_date] => 01/31/2025
    [generate_quote] => true
    [keep_sonum] => Q050316
    [change_notes] => Changes 
    [delivery_disclaimer] => true
    [tax_free] => true
    [freight_estimate] => true
    [freight_type] => quote
    [freight_estimate_value] => 130.00
    [lead_time] => 1-2 Weeks, depending on stock and availability.
    [email_quote] => true
    [email_quote_to] => steaven@deltagc.com
    [template_id] => 489
    [email_quote_subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [email_quote_body] => 

Please see attached Steaven. 


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/ed400_compressed.pdf [2] => quote_bundle_separator ) [act] => submit_quote [not_in_mas] => true )

Debug Data

start: 3.814697265625E-6 secs since start
after getting new exportid ... 79146: 0.097494840621948 secs since start
Session ID: 0ck5n62a2a67l1tjqget53jol5
just before engaging cartlink ...: 0.097568988800049 secs since start
after most cartlink items ...: 0.098310947418213 secs since start
after getting new so num ...: 0.09832501411438 secs since start
after remaining cartlink items ...: 0.098337888717651 secs since start
SO Number: Q050316
just prior to terms gathering ...: 0.098356962203979 secs since start
after getting customer terms ...: 0.18922996520996 secs since start
Cart Items:
Array
(
    [0] => Array
        (
            [sku] => ED400
            [name] => 400 CFM Portable Classroom HEPA Air Purifier
Dimensions: 14.5" x 14.5" x 23"
Weight: 45 lbs.
Color: Sandstone
Noise Level: 50dB (Low), 66dB (High)

Filter Assembly:
4 Stage Filtration
- Large particle pre-filter
- Medium particle pre-filter
- Carbon/zeolite odor absorbing filter
- 60 sq. ft. of true, medical grade HEPA filter media [qty] => 2 [price] => 600.00 [cost] => 429.00 [pdfFileURL] => ) )

not in mas
INSERT INTO `SO_SALESORDERHISTORYDETAIL` (`SALESORDERNO`,`ITEMCODE`,`ITEMCODEDESC`,`DROPSHIP`,`UNITCOST`,`QuantityOrderedRevised`,`QuantityOrderedOriginal`,`LastUnitPrice`,`LastExtensionAmt`,`ItemType`) VALUES ('Q050316','ED400','400 CFM Portable Classroom HEPA Air Purifier Dimensions: 14.5" x 14.5" x 23" Weight: 45 lbs. Color: Sandstone Noise Level: 50dB (Low), 66dB (High) Filter Assembly: 4 Stage Filtration - Large particle pre-filter - Medium particle pre-filter - Carbon/zeolite odor absorbing filter - 60 sq. ft. of true, medical grade HEPA filter media','Y','429.00','2','2','600.00','1200.00','1')
save the exported shopping cart ...
Cart should now be empty/saved ...
after saving export to acsopa web db: 0.22810697555542 secs since start
generating quote pdf ...


ATTACHMENTS
arrPDFs:
Array
(
    [1] => /mnt/product_media/cleanleaf/pdf/ed400_compressed.pdf
)
arrIndividualPDFs:
Array
(
)
temp_url:/tmp/merged-pdf_1736789949_3257.pdf
after merging and generating email/quote PDFs ...: 4.0872049331665 secs since start
email fields:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [headers] => {"Return-Receipt-To": ""Dan Schroeder" ", "Disposition-Notification-To": ""Dan Schroeder" "}
    [x-smtpapi] => {"unique_args":{"orderNumber":"exportid=79146"}}
    [to[0]] => steaven@deltagc.com
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Please see attached Steaven. 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Please see attached Steaven. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => @/tmp/tmp_quote_20250113113905_20081.pdf [files[Product_Literature.pdf]] => @/tmp/merged-pdf_1736789949_3257.pdf )
File: files[Quote.pdf] => @/tmp/tmp_quote_20250113113905_20081.pdf
File: files[Product_Literature.pdf] => @/tmp/merged-pdf_1736789949_3257.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] => 445
    [request_size] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.60614
    [namelookup_time] => 0.00172
    [connect_time] => 0.06611
    [pretransfer_time] => 0.208886
    [size_upload] => 227720
    [size_download] => 21
    [speed_download] => 34
    [speed_upload] => 375775
    [download_content_length] => 21
    [upload_content_length] => 227720
    [starttransfer_time] => 0.278096
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54040
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 208759
    [connect_time_us] => 66110
    [namelookup_time_us] => 1720
    [pretransfer_time_us] => 208886
    [redirect_time_us] => 0
    [starttransfer_time_us] => 278096
    [total_time_us] => 606140
)
after sending email to customer ...: 6.6995229721069 secs since start
EMAILING INSIDE COPY:
Array
(
    [from] => dan@aircleaningspecialists.com
    [fromname] => Dan Schroeder
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [html] => 

Please see attached Steaven. 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[text] => Please see attached Steaven. Sincerely,Dan SchroederCleanLeaf11088 Gravois Industrial Ct.Saint Louis, MO 63128866 999-9008 Ext. 111866 422-4099 Faxdan@aircleaningspecialists.comhttp://www.cleanleaf.com/ [files[Quote.pdf]] => CURLFile Object ( [name] => /tmp/tmp_quote_20250113113905_20081.pdf [mime] => [postname] => Quote.pdf ) [files[Product_Literature.pdf]] => CURLFile Object ( [name] => /tmp/merged-pdf_1736789949_3257.pdf [mime] => [postname] => Product_Literature.pdf ) [to[0]] => dan@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] => 445
    [request_size] => 723
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.599585
    [namelookup_time] => 0.001858
    [connect_time] => 0.065733
    [pretransfer_time] => 0.205511
    [size_upload] => 227329
    [size_download] => 21
    [speed_download] => 35
    [speed_upload] => 379514
    [download_content_length] => 21
    [upload_content_length] => 227329
    [starttransfer_time] => 0.273108
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 44.233.221.190
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 104.239.145.129
    [local_port] => 54052
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 205388
    [connect_time_us] => 65733
    [namelookup_time_us] => 1858
    [pretransfer_time_us] => 205511
    [redirect_time_us] => 0
    [starttransfer_time_us] => 273108
    [total_time_us] => 599585
)
after sending email to rep ...: 9.3011429309845 secs since start
Email HTML ...
PGh0bWw+PGhlYWQ+PHN0eWxlPmJvZHl7Zm9udC1mYW1pbHk6YXJpYWx9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PHA+DQo8L3A+PHA+UGxlYXNlIHNlZSBhdHRhY2hlZCBTdGVhdmVuLiZuYnNwOzwvcD48cD48YnI+PC9wPjxkaXY+PHA+U2luY2VyZWx5LDxicj48L3A+PHA+PGJyPkRhbiBTY2hyb2VkZXI8YnI+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+Q2xlYW5MZWFmPC9zcGFuPjxicj48c3BhbiBzdHlsZT0iZm9udC13ZWlnaHQ6IDcwMDsiPjExMDg4IEdyYXZvaXMgSW5kdXN0cmlhbCBDdC48L3NwYW4+PGJyPjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNzAwOyI+U2FpbnQgTG91aXMsIE1PIDYzMTI4PC9zcGFuPjxicj44NjYgOTk5LTkwMDggRXh0LiAxMTE8YnI+ODY2IDQyMi00MDk5IEZheDxicj5kYW5AYWlyY2xlYW5pbmdzcGVjaWFsaXN0cy5jb208YnI+PGEgaHJlZj0iaHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLyI+aHR0cDovL3d3dy5jbGVhbmxlYWYuY29tLzwvYT48YSBocmVmPSJodHRwOi8vd3d3LmZ1bWVhdmVudC5jb20vIj48L2E+PC9wPjxwPjxicj48L3A+PC9kaXY+PGRpdj48YnI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=
v2_mailid: 3821520
acsopav2 mailgun/newmail.php curl info:
Array
(
    [from] => Dan Schroeder 
    [recipient] => steaven@deltagc.com
    [To] => steaven@deltagc.com
    [Date] => 2025-01-13 11:39:14
    [subject] => Your CleanLeaf CL3000-CF Air Filtration Quote - Flowering Room
    [mas-customer-no] => DEL9003
    [email-html] => 

Please see attached Steaven. 


Sincerely,


Dan Schroeder

CleanLeaf
11088 Gravois Industrial Ct.
Saint Louis, MO 63128
866 999-9008 Ext. 111
866 422-4099 Fax
dan@aircleaningspecialists.com
http://www.cleanleaf.com/



[qq_from_repid] => 0020 [file_0] => CURLFile Object ( [name] => /tmp/tmp_quote_20250113113905_20081.pdf [mime] => [postname] => Quote.pdf ) [file_1] => CURLFile Object ( [name] => /tmp/merged-pdf_1736789949_3257.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] => 650
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.578622
    [namelookup_time] => 0.002078
    [connect_time] => 0.021479
    [pretransfer_time] => 0.053338
    [size_upload] => 227338
    [size_download] => 226199
    [speed_download] => 391347
    [speed_upload] => 393318
    [download_content_length] => -1
    [upload_content_length] => 227338
    [starttransfer_time] => 0.073173
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 71.91.252.131
    [certinfo] => Array
        (
        )

    [primary_port] => 7443
    [local_ip] => 104.239.145.129
    [local_port] => 37298
    [http_version] => 2
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 53247
    [connect_time_us] => 21479
    [namelookup_time_us] => 2078
    [pretransfer_time_us] => 53338
    [redirect_time_us] => 0
    [starttransfer_time_us] => 73173
    [total_time_us] => 578622
)
after pushing email and files into v2/timeline ...: 11.8831179142 secs since start
empty the shopping cart ...
Cart should now be empty ...
after running remote mas queries ...: 12.092350006104 secs since start
Connected to ACSOPA DBafter reconnecting to the acsopa db ...: 14.12214589119 secs since start
strJSON:
{"exportid":"79146","import_result":null,"import_error":"","fileurl":"GMImport_79146_1736789959_41538.acsopa","email_result":"success","goldmine_import":null,"mas_import":"","generate_quote":"true","goldmine_company":"Delta Construction and Electri","goldmine_email":"steaven@deltagc.com","goldmine_phone":"323-704-3200","mas_quote_number":"Q050316","mas_customer_number":"DEL9003"}
end: 14.14569401741 secs since start