account confirmed incoice items
This commit is contained in:
@@ -28,7 +28,8 @@ export class Migration20260626140000 extends Migration {
|
|||||||
v_discount
|
v_discount
|
||||||
FROM invoice_items
|
FROM invoice_items
|
||||||
WHERE invoice_id = v_invoice_id
|
WHERE invoice_id = v_invoice_id
|
||||||
AND deleted_at IS NULL;
|
AND deleted_at IS NULL
|
||||||
|
AND confirmed_at IS NOT NULL;
|
||||||
|
|
||||||
SELECT enable_tax
|
SELECT enable_tax
|
||||||
INTO v_enable_tax
|
INTO v_enable_tax
|
||||||
|
|||||||
Reference in New Issue
Block a user