Card Order

This commit is contained in:
Nurmuhammet Allanov
2024-04-22 20:25:27 +05:00
committed by GitHub
parent 8aff8fab10
commit 009c3ac381
2 changed files with 12 additions and 3 deletions

View File

@@ -117,8 +117,7 @@ class CardOrder extends Model
*/
public function priceAmount(): float
{
return 1;
// return floatval($this->cardType->price);
return $this->cardType->price ?? 32;
}
/**