This commit is contained in:
2025-11-10 19:18:53 +05:00
parent 8c24f00382
commit 0da1efe5c3
5 changed files with 119 additions and 105 deletions

View File

@@ -83,4 +83,12 @@ trait UserAdjustments
{
return $this->hasMany(UserBranch::class);
}
/**
* Full name
*/
public function fullName(): string
{
return sprintf('%s %s', $this->first_name, $this->last_name);
}
}

View File

@@ -41,6 +41,11 @@ return new class extends Migration
$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();