|
|
|
@ -221,14 +221,6 @@ class _CreatePengembalianBarangPageState
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
petiSqfliteApi = allowedPeti; |
|
|
|
|
|
|
|
|
|
warehouseSqfliteApi = _valwarehouse?.firstWhereOrNull( |
|
|
|
|
(warehouse) => warehouse.id == allowedPeti.warehouse_id, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
customerSqfliteApi = _valcustomer?.firstWhereOrNull( |
|
|
|
|
(customer) => customer.id == allowedPeti.customer_id, |
|
|
|
|
); |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
// Tampilkan pesan error jika data tidak sesuai dengan hak akses |
|
|
|
|