authentication via username or phones

This commit is contained in:
nurmuhammet committed 2024-09-18 19:03:47 +05:00
1 parent c086feb6c0
commit f8194453eb
6 files changed
+33 -94

No files matched your search

@@ -3,6 +3,7 @@
namespace App\Modules\VisaMasterPaymentOrder\Models;
use App\Models\Branch\Branch;
use App\Repos\Order\Loan\LoanOrderRepo;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Spatie\MediaLibrary\HasMedia;
@@ -157,4 +158,14 @@ public static function senderFiles(): array
],
];
}
/**
* "boot" method for model
*/
protected static function boot(): void
{
parent::boot();
static::creating(LoanOrderRepo::creating());
}
}