|
@@ -38,7 +38,6 @@ use App\Jobs\OrderCreateInstantBill;
|
|
|
use App\Jobs\OrderFreeze;
|
|
use App\Jobs\OrderFreeze;
|
|
|
use App\Jobs\StoreCreateInstantBill;
|
|
use App\Jobs\StoreCreateInstantBill;
|
|
|
use App\Jobs\ResetInstantBill;
|
|
use App\Jobs\ResetInstantBill;
|
|
|
-use App\Jobs\StoreCreateInstantBill;
|
|
|
|
|
use App\LaborReport;
|
|
use App\LaborReport;
|
|
|
use App\LaborReportStatus;
|
|
use App\LaborReportStatus;
|
|
|
use App\Log;
|
|
use App\Log;
|
|
@@ -133,7 +132,6 @@ use ChangeColumnOrderIdToOrderIssues;
|
|
|
use Doctrine\DBAL\Exception\DatabaseObjectExistsException;
|
|
use Doctrine\DBAL\Exception\DatabaseObjectExistsException;
|
|
|
use Doctrine\DBAL\Query\QueryBuilder;
|
|
use Doctrine\DBAL\Query\QueryBuilder;
|
|
|
use Illuminate\Database\Connection;
|
|
use Illuminate\Database\Connection;
|
|
|
-use Illuminate\Database\Eloquent\Builder;
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
use Illuminate\Support\Facades\Cache;
|
|
@@ -1072,7 +1070,7 @@ where purch.islower=1');
|
|
|
'receipt_amount'=>$param->receipt_amount,
|
|
'receipt_amount'=>$param->receipt_amount,
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
- ProcurementDeliverie::query()->insert($insert);
|
|
|
|
|
|
|
+ ProcurementDeliverie::query()->insert($insert);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function addProcurement()
|
|
public function addProcurement()
|
|
@@ -1371,6 +1369,22 @@ where purch.islower=1 and deliver.id>'.$id);
|
|
|
$orderHeadService= app(OracleDOCOrderHeaderService::class);
|
|
$orderHeadService= app(OracleDOCOrderHeaderService::class);
|
|
|
$orderHeaders = $orderHeadService->getQuery()->whereIn('DOC_Order_Header.OrderNo',$orderNos)->get();
|
|
$orderHeaders = $orderHeadService->getQuery()->whereIn('DOC_Order_Header.OrderNo',$orderNos)->get();
|
|
|
$service->updateByWmsOrderHeaders($orderHeaders);
|
|
$service->updateByWmsOrderHeaders($orderHeaders);
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ public function addHaiBox(Request $request)
|
|
|
|
|
+ {
|
|
|
|
|
+ echo <<<TEXT
|
|
|
|
|
+ <form>
|
|
|
|
|
+ <textarea name="boxes">
|
|
|
|
|
+
|
|
|
|
|
+</textarea>
|
|
|
|
|
+<input type="submit"/>
|
|
|
|
|
+</form>
|
|
|
|
|
+TEXT;
|
|
|
|
|
+ $input = $request->input('boxes');
|
|
|
|
|
+ if($input){
|
|
|
|
|
+ $input=preg_replace('/[\n\r]/',',',trim($input));
|
|
|
|
|
+ $boxes=explode(',',$input);
|
|
|
|
|
+ dd($boxes);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|