root 4 роки тому
джерело
коміт
4426dbe600

+ 2
- 2
app/Http/Controllers/ExportCompound.php Переглянути файл

@@ -127,11 +127,11 @@ class ExportCompound extends Controller

public function getData(Request $request)
{
info('encode request ' . json_encode($request->data));
// info('encode request ' . json_encode($request->data));
$data = $request->data;
$filename = time();
$location = 'public/uploads/cache/'.$filename.'.json';
info('filename location ' . $location);
// info('filename location ' . $location);
file_put_contents(base_path($location), stripslashes($data));

return $filename;

+ 1
- 1
app/Http/Controllers/Main/TaskController.php Переглянути файл

@@ -201,7 +201,7 @@ class TaskController extends Controller

// }

info(json_encode($data));
// info(json_encode($data));

if(!empty($staff)){
if($staff->token_firebase != '') {

+ 1
- 1
app/Http/Controllers/NotificationController.php Переглянути файл

@@ -85,7 +85,7 @@ class NotificationController extends BaseController
$data = $request->data;
$register_id = $request->register_id;

info($data);
// info($data);

if($register_id != null){
$result = $this->createNotifications($title, $msg, $data, $register_id);

+ 2
- 2
app/Jobs/StoreCompoundEPBT.php Переглянути файл

@@ -94,7 +94,7 @@ class StoreCompoundEPBT implements ShouldQueue

if($epbt_faulty){

info($epbt_faulty);
// info($epbt_faulty);

$roads = CodeMukim::where('MKM_MNAMA', $compound['nama_kawasan'])->first();

@@ -105,7 +105,7 @@ class StoreCompoundEPBT implements ShouldQueue
$no_akaun = $compound->no_plate;
$nama_pesalah = $compound->no_plate;
$no_kereta = $compound->no_plate;
$jenis_kereta = $compo->model_kenderaan;
$jenis_kereta = $compound->model_kenderaan;
$no_petak = $compound->no_parking;
$no_cukai_jalan = $compound->no_cukai_jalan;
$warna_kenderaan= $compound->warna_kenderaan;

Завантаження…
Відмінити
Зберегти