payment providers and some stan

This commit is contained in:
2025-10-31 01:13:04 +05:00
parent 11f99caf42
commit 834527647d
11 changed files with 232 additions and 121 deletions

View File

@@ -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;
}
}