added image on database

This commit is contained in:
Patrick Alvin Alcala 2025-07-09 17:10:17 +08:00
parent 64516a7df2
commit cea8af232d

View file

@ -87,7 +87,7 @@ class RefMedicines {
}
Future<bool> postMedicine(String uuid, String name, String muuid, String guuid, String tuuid, String barcode,
String distributor, String supplier) async {
String distributor, String supplier, String imageuuid) async {
final medicine = {
'ref_medicines_uuid': uuid,
'medicine_name': name,
@ -96,7 +96,8 @@ class RefMedicines {
'ref_types_uuid': tuuid,
'barcode': barcode,
'ref_distributors_uuid': distributor,
'ref_suppliers_uuid': supplier
'ref_suppliers_uuid': supplier,
'ref_medicines_images': imageuuid
};
try {