feature audit kaunter
This commit is contained in:
@@ -112,14 +112,14 @@ class PanjarController extends Controller
|
||||
]);
|
||||
|
||||
|
||||
$audit = new Audit();
|
||||
$audit->users = $request->tuntutoleh;
|
||||
$audit->actions = "Daftar Perbelanjaan";
|
||||
$audit->new_data = $panjar;
|
||||
$audit->kodcaw = $kodcaw;
|
||||
$audit->created_at = $harini;
|
||||
$audit->updated_at = $harini;
|
||||
$audit->save();
|
||||
// $audit = new Audit();
|
||||
// $audit->users = $request->tuntutoleh;
|
||||
// $audit->actions = "Daftar Perbelanjaan";
|
||||
// $audit->new_data = $panjar;
|
||||
// $audit->kodcaw = $kodcaw;
|
||||
// $audit->created_at = $harini;
|
||||
// $audit->updated_at = $harini;
|
||||
// $audit->save();
|
||||
|
||||
return response()->json($panjar);
|
||||
}
|
||||
@@ -279,8 +279,8 @@ class PanjarController extends Controller
|
||||
public function updateDenoPanjar($kodcaw,Request $request)
|
||||
{
|
||||
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
$harini = Carbon::now();
|
||||
$harini = new Carbon();
|
||||
|
||||
|
||||
$denopanjar=DenoPanjar::on('mysql7')
|
||||
|
||||
Reference in New Issue
Block a user