add deleted_at,by on action delete all module
This commit is contained in:
parent
78756041b8
commit
7f662a70b8
@ -71,6 +71,8 @@
|
||||
{
|
||||
|
||||
$branch = Branch::find($id);
|
||||
$branch->delete_by = auth()->user()->id;
|
||||
$branch->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -70,6 +70,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$curency = Currency::find($id);
|
||||
$curency->delete_by = auth()->user()->id;
|
||||
$curency->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -88,6 +88,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$debitur = Debitur::find($id);
|
||||
$debitur->delete_by = auth()->user()->id;
|
||||
$debitur->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -88,6 +88,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$detailjaminan = DetailJaminan::find($id);
|
||||
$detailjaminan->delete_by = auth()->user()->id;
|
||||
$detailjaminan->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -85,6 +85,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$detailpembayaran = DetailPembayaran::find($id);
|
||||
$detailpembayaran->delete_by = auth()->user()->id;
|
||||
$detailpembayaran->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -95,6 +95,8 @@
|
||||
{
|
||||
// Emit a success event with a message
|
||||
$detailpenagihan = DetailPenagihan::find($id);
|
||||
$detailpenagihan->delete_by = auth()->user()->id;
|
||||
$detailpenagihan->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -96,6 +96,8 @@
|
||||
{
|
||||
// Emit a success event with a message
|
||||
$detailsubrogasi = DetailSubrogasiJamkrindo::find($id);
|
||||
$detailsubrogasi->delete_by = auth()->user()->id;
|
||||
$detailsubrogasi->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -70,6 +70,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$facility = FacilityType::find($id);
|
||||
$facility->delete_by = auth()->user()->id;
|
||||
$facility->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -70,6 +70,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$guarantee = GuaranteeType::find($id);
|
||||
$guarantee->delete_by = auth()->user()->id;
|
||||
$guarantee->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -49,6 +49,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$hapusbuku = HapusBuku::find($id);
|
||||
$hapusbuku->delete_by = auth()->user()->id;
|
||||
$hapusbuku->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -109,6 +109,8 @@
|
||||
{
|
||||
// Emit a success event with a message
|
||||
$klaimjamkrindo = KlaimJamkrindo::find($id);
|
||||
$klaimjamkrindo->delete_by = auth()->user()->id;
|
||||
$klaimjamkrindo->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -70,6 +70,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$loan = LoanType::find($id);
|
||||
$loan->delete_by = auth()->user()->id;
|
||||
$loan->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -108,6 +108,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$rekening = Rekening::find($id);
|
||||
$rekening->delete_by = auth()->user()->id;
|
||||
$rekening->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
@ -155,6 +155,8 @@
|
||||
public function delete($id)
|
||||
{
|
||||
$subrogasi = SubrogasiJamkrindo::find($id);
|
||||
$subrogasi->delete_by = auth()->user()->id;
|
||||
$subrogasi->deleted_at = now();
|
||||
|
||||
$approval = [
|
||||
'method' => 'delete',
|
||||
|
Loading…
Reference in New Issue
Block a user