Commit 45828f6e authored by Dio Maulana's avatar Dio Maulana

Hide Tombol Batalkan CC Mandiri ketika status table lock

parent be178cf2
......@@ -1172,7 +1172,8 @@ class CoreBill extends StatelessWidget {
],
)
: const SizedBox()
: Column(
: (dataBill[0].tableStatus == tableStatusOpen)
? Column(
children: [
const SizedBox(
height: 12,
......@@ -1184,7 +1185,9 @@ class CoreBill extends StatelessWidget {
false,
).then((value) {
if (value) {
context.read<ViewBillBloc>().getBill();
context
.read<ViewBillBloc>()
.getBill();
}
});
},
......@@ -1195,6 +1198,9 @@ class CoreBill extends StatelessWidget {
),
),
],
)
: const SizedBox(
height: 5,
),
const SizedBox(
height: 5,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment