add suppliers and distributors
This commit is contained in:
parent
9cf3934f6f
commit
77fae74302
11 changed files with 426 additions and 33 deletions
|
|
@ -86,14 +86,17 @@ class RefMedicines {
|
|||
}
|
||||
}
|
||||
|
||||
Future<bool> postMedicine(String uuid, String name, String muuid, String guuid, String tuuid, String barcode) async {
|
||||
Future<bool> postMedicine(String uuid, String name, String muuid, String guuid, String tuuid, String barcode,
|
||||
String distributor, String supplier) async {
|
||||
final medicine = {
|
||||
'ref_medicines_uuid': uuid,
|
||||
'medicine_name': name,
|
||||
'ref_manufacturers_uuid': muuid,
|
||||
'ref_generic_names_uuid': guuid,
|
||||
'ref_types_uuid': tuuid,
|
||||
'barcode': barcode
|
||||
'barcode': barcode,
|
||||
'ref_distributors_uuid': distributor,
|
||||
'ref_suppliers_uuid': supplier
|
||||
};
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue