From a433cf27ffd4d9139452423a3aeebe1787a73f5a Mon Sep 17 00:00:00 2001 From: avicenan Date: Tue, 7 Apr 2026 11:53:40 +0700 Subject: [PATCH] add total_price on pharmacy order --- src/entity/emr/emr_compounding_medicine.ts | 2 ++ src/entity/emr/emr_prescription.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/entity/emr/emr_compounding_medicine.ts b/src/entity/emr/emr_compounding_medicine.ts index 5758886..4b6fbf3 100644 --- a/src/entity/emr/emr_compounding_medicine.ts +++ b/src/entity/emr/emr_compounding_medicine.ts @@ -61,6 +61,8 @@ export class EmrCompoundingMedicine { unit_price?: number; + total_price?: number; + @Column() @CreateDateColumn() created_at: Date; diff --git a/src/entity/emr/emr_prescription.ts b/src/entity/emr/emr_prescription.ts index 90eb407..7152433 100644 --- a/src/entity/emr/emr_prescription.ts +++ b/src/entity/emr/emr_prescription.ts @@ -59,6 +59,8 @@ export class EmrPrescription { unit_price?: number; + total_price?: number; + @Column() @CreateDateColumn() created_at: Date;