wip
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user