|
|
|
|
@ -126,7 +126,7 @@ class _WorkOrderDetailsBottomSheetState extends State<WorkOrderDetailsBottomShee
|
|
|
|
|
ServiceReportMaintenanceSituation(
|
|
|
|
|
initialValue: _workOrder.calllastSituation,
|
|
|
|
|
onSelect: (status) {
|
|
|
|
|
if (status.name.toLowerCase().contains("under repair-vendor")) {
|
|
|
|
|
if (status.name.toLowerCase().contains("under repair-vendor") || status.name.toLowerCase().contains("waiting for vendor")) {
|
|
|
|
|
_showVendorFields = true;
|
|
|
|
|
_workOrder.supplier ??= SupplierModel(id: _workOrder?.supplier?.id);
|
|
|
|
|
engineer = null;
|
|
|
|
|
|