update format last update time
This commit is contained in:
parent
3d14dc2c2b
commit
839fe41686
@ -27,7 +27,7 @@
|
|||||||
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
||||||
}
|
}
|
||||||
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
||||||
return $row->updated_at->format('d-m-Y H:i:s');
|
return $row->updated_at->locale('id')->translatedFormat('d F Y H:i:s');
|
||||||
})->rawColumns(['action'])->addColumn('action', function ($branch) {
|
})->rawColumns(['action'])->addColumn('action', function ($branch) {
|
||||||
return view('writeoff::parameter.branches._actions', compact('branch'));
|
return view('writeoff::parameter.branches._actions', compact('branch'));
|
||||||
})->setRowId('id');
|
})->setRowId('id');
|
||||||
@ -74,7 +74,7 @@
|
|||||||
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
||||||
Column::make('kode')->title('Kode Branch'),
|
Column::make('kode')->title('Kode Branch'),
|
||||||
Column::make('name')->title('Nama Branch'),
|
Column::make('name')->title('Nama Branch'),
|
||||||
Column::make('updated_at')->title('Last Update')->visible(false),
|
Column::make('updated_at')->title('Last Update'),
|
||||||
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
||||||
}
|
}
|
||||||
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
||||||
return $row->updated_at->format('d-m-Y H:i:s');
|
return $row->updated_at->locale('id')->translatedFormat('d F Y H:i:s');
|
||||||
})->rawColumns(['action'])->addColumn('action', function ($currency) {
|
})->rawColumns(['action'])->addColumn('action', function ($currency) {
|
||||||
return view('writeoff::parameter.currencies._actions', compact('currency'));
|
return view('writeoff::parameter.currencies._actions', compact('currency'));
|
||||||
})->setRowId('id');
|
})->setRowId('id');
|
||||||
@ -74,7 +74,7 @@
|
|||||||
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
||||||
Column::make('kode')->title('Kode Currency'),
|
Column::make('kode')->title('Kode Currency'),
|
||||||
Column::make('name')->title('Nama Currency'),
|
Column::make('name')->title('Nama Currency'),
|
||||||
Column::make('updated_at')->title('Last Update')->visible(false),
|
Column::make('updated_at')->title('Last Update'),
|
||||||
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
->orWhere('name', 'like', "%" . $search['value'] . "%");
|
||||||
}
|
}
|
||||||
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
})->addIndexColumn()->editColumn('updated_at', function ($row) {
|
||||||
return $row->updated_at->format('d-m-Y H:i:s');
|
return $row->updated_at->locale('id')->translatedFormat('d F Y H:i:s');
|
||||||
})->rawColumns(['action'])->addColumn('action', function ($guarantee_type) {
|
})->rawColumns(['action'])->addColumn('action', function ($guarantee_type) {
|
||||||
return view('writeoff::parameter.guarantee_types._actions', compact('guarantee_type'));
|
return view('writeoff::parameter.guarantee_types._actions', compact('guarantee_type'));
|
||||||
})->setRowId('id');
|
})->setRowId('id');
|
||||||
@ -72,9 +72,9 @@
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
Column::make('DT_RowIndex')->title('No')->orderable(false)->searchable(false),
|
||||||
Column::make('kode')->title('Kode GuaranteeType'),
|
Column::make('kode')->title('Jenis Jaminan'),
|
||||||
Column::make('name')->title('Nama GuaranteeType'),
|
Column::make('name')->title('Jenis Jaminan'),
|
||||||
Column::make('updated_at')->title('Last Update')->visible(false),
|
Column::make('updated_at')->title('Last Update'),
|
||||||
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
Column::computed('action')->exportable(false)->printable(false)->width(60)->addClass('text-center'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user