This commit is contained in:
nurmuhammet committed 2025-11-10 19:18:53 +05:00
1 parent 8c24f00382
commit 0da1efe5c3
5 files changed
+119 -105

No files matched your search

@@ -83,4 +83,12 @@ public function userBranches(): HasMany
{
return $this->hasMany(UserBranch::class);
}
/**
* Full name
*/
public function fullName(): string
{
return sprintf('%s %s', $this->first_name, $this->last_name);
}
}
@@ -41,6 +41,11 @@ public function up(): void
$table->string('sender_passport_number')->nullable();
$table->string('sender_deposit_account')->nullable();
$table->string('reciever_full_name')->nullable();
$table->string('reciever_passport_serie')->nullable();
$table->string('reciever_passport_number')->nullable();
$table->string('reciever_deposit_account')->nullable();
$table->boolean('paid')->default(true);
$table->softDeletes();