Browse Source

perbaikan tampilan mobile, perbaikan alert hapus

master
unknown 1 year ago
parent
commit
e454e94af5
  1. 2
      lib/pages/peminjaman_barang/show.dart
  2. 8
      lib/pages/pengembalian_barang/edit.dart
  3. 2
      lib/pages/transfer_peti/show.dart

2
lib/pages/peminjaman_barang/show.dart

@ -180,7 +180,7 @@ class _DetailPeminjamanBarangPageState
child: ListBody(
children: <Widget>[
Text(
'Anda yakin ingin menghapus pengembalian ini? ${petiSqfliteApi!.fix_lot.toString()}',
'Anda yakin ingin menghapus peminjaman ini? ${petiSqfliteApi!.fix_lot.toString()}',
style: TextStyle(
fontSize: 16,
),

8
lib/pages/pengembalian_barang/edit.dart

@ -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

2
lib/pages/transfer_peti/show.dart

@ -186,7 +186,7 @@ class _DetailTransferPetiPageState extends State<DetailTransferPetiPage> {
child: ListBody(
children: <Widget>[
Text(
'Anda yakin ingin menghapus pengembalian ini? ${petiSqfliteApi!.fix_lot.toString()}',
'Anda yakin ingin menghapus transfer peti ini? ${petiSqfliteApi!.fix_lot.toString()}',
style: TextStyle(
fontSize: 16,
),

Loading…
Cancel
Save