payment providers and some stan
This commit is contained in:
@@ -111,4 +111,12 @@ class CardOrder extends Model implements BelongsToBranch, HasStatus
|
||||
static::creating(LoanOrderRepository::creating());
|
||||
static::created(LoanOrderRepository::created());
|
||||
}
|
||||
|
||||
/**
|
||||
* Price for card
|
||||
*/
|
||||
public function priceAmount(): int|float|string
|
||||
{
|
||||
return $this->cardState->price ?? 32;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user