From aa7b18dbb033e30da5d6383b72a4a6a6f26f3141 Mon Sep 17 00:00:00 2001 From: hussam al-habibeh Date: Thu, 4 Mar 2021 23:20:56 +0200 Subject: [PATCH] Claculate Box Quantity while adding prescrption --- lib/screens/prescription/add_prescription_form.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/screens/prescription/add_prescription_form.dart b/lib/screens/prescription/add_prescription_form.dart index 0153ebd5..cb9978d4 100644 --- a/lib/screens/prescription/add_prescription_form.dart +++ b/lib/screens/prescription/add_prescription_form.dart @@ -290,6 +290,7 @@ class _PrescriptionFormWidgetState extends State { strength: double.parse( strengthController .text)); + box = model.boxQuintity; return; } @@ -424,6 +425,7 @@ class _PrescriptionFormWidgetState extends State { strength: double.parse( strengthController .text)); + box = model.boxQuintity; return; }