update report
This commit is contained in:
parent
8735a6ef8c
commit
7a1ca30b84
@ -575,7 +575,11 @@
|
|||||||
|
|
||||||
return DataTables::of($data)->editColumn('branch', function ($row) {
|
return DataTables::of($data)->editColumn('branch', function ($row) {
|
||||||
$data = json_decode($row);
|
$data = json_decode($row);
|
||||||
return $data->subrogasi_jamkrindo->branch->kode . ' - ' . $data->subrogasi_jamkrindo->branch->name;
|
if(isset($data->subrogasi_jamkrindo->branch->id)) {
|
||||||
|
return $data->subrogasi_jamkrindo->branch->kode . ' - ' . $data->subrogasi_jamkrindo->branch->name;
|
||||||
|
} else{
|
||||||
|
return "-";
|
||||||
|
}
|
||||||
})->editColumn('debitur', function ($row) {
|
})->editColumn('debitur', function ($row) {
|
||||||
$data = json_decode($row);
|
$data = json_decode($row);
|
||||||
return $data->subrogasi_jamkrindo->debitur->kode . ' - ' . $data->subrogasi_jamkrindo->debitur->name;
|
return $data->subrogasi_jamkrindo->debitur->kode . ' - ' . $data->subrogasi_jamkrindo->debitur->name;
|
||||||
|
Loading…
Reference in New Issue
Block a user