fix command stock audit
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
|
use Illuminate\Support\Facades\Http;
|
||||||
class generateBackdateStockAuditProblem extends Command
|
class generateBackdateStockAuditProblem extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@@ -47,8 +47,10 @@ class generateBackdateStockAuditProblem extends Command
|
|||||||
$zone = '3';
|
$zone = '3';
|
||||||
}
|
}
|
||||||
$tarikh = $this->ask('Masukkan Tarikh Hujung Bulan Yang Bermasalah Dalam Format (Y-m-d):');
|
$tarikh = $this->ask('Masukkan Tarikh Hujung Bulan Yang Bermasalah Dalam Format (Y-m-d):');
|
||||||
|
$cawangan = $this->ask('Masukkan Kod Cawangan : ');
|
||||||
$updategadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/backup/stok/audit/problem',[
|
$updategadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/backup/stok/audit/problem',[
|
||||||
'zone' => $zone,
|
// 'zone' => $zone,
|
||||||
|
'kodcaw' => $cawangan,
|
||||||
'dateProblem' =>$tarikh
|
'dateProblem' =>$tarikh
|
||||||
])->json();
|
])->json();
|
||||||
$this->info('sucess');
|
$this->info('sucess');
|
||||||
|
|||||||
Reference in New Issue
Block a user