previewScreen method
void
previewScreen()
Implementation
void previewScreen() async {
switch (currentScan) {
case ScanType.collectStock:
Get.to(() => const CollectStockSubmit());
break;
// case ScanType.sellThru:
// // await updateSellThruOrder();
// // removed stock delivery preview screen with spot sell thru screen as there will be no paid transaction
// Get.to(() => SpotSellThruOrderDetails(
// model: sellThruOrder.value,
// ));
// break;
// case ScanType.spotSellThru:
// // await updateSpotSellThruOrder();
// Get.to(() => SpotSellThruOrderDetails(
// model: sellThruOrder.value,
// ));
// break;
// case ScanType.grn:
// // await updateSpotSellThruOrder();
// Get.to(() => const GrnCartScreen());
// break;
default:
title = "collectStock";
break;
}
}