reformat: fix codestyle

This commit is contained in:
2025-12-01 18:18:29 +03:00
parent f02ef42cb7
commit c670e38392

View File

@@ -105,10 +105,18 @@ class ETLHandler
'orders_count' => 'orders_count_total', 'orders_count' => 'orders_count_total',
'created_at' => 'registered_at', 'created_at' => 'registered_at',
new RawExpression( new RawExpression(
'(SELECT MIN(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS first_order_date' '(
SELECT MIN(date_added)
FROM oc_order
WHERE oc_order.customer_id = telecart_customers.oc_customer_id
) AS first_order_date'
), ),
new RawExpression( new RawExpression(
'(SELECT MAX(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS last_order_date' '(
SELECT MAX(date_added)
FROM oc_order
WHERE oc_order.customer_id = telecart_customers.oc_customer_id
) AS last_order_date'
), ),
new RawExpression( new RawExpression(
"COALESCE(( "COALESCE((