refactor: bring back vat excluded

This commit is contained in:
Methapon Metanipat 2024-10-17 13:04:42 +07:00
parent 648fb20bbc
commit 4238287e96
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Quotation" ADD COLUMN "vatExcluded" DOUBLE PRECISION NOT NULL DEFAULT 0;

View file

@ -1130,6 +1130,7 @@ model Quotation {
totalPrice Float
totalDiscount Float
vat Float
vatExcluded Float @default(0)
discount Float @default(0)
finalPrice Float