feat(ticket): add refundable terminal states

This commit is contained in:
2026-09-10 16:10:08 -03:00
parent 1564985259
commit 18f739b712
5 changed files with 208 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
'discount_total',
'tax_total',
'total',
'refunded_amount',
])]
class PurchaseItem extends Model
{
@@ -47,6 +48,7 @@ class PurchaseItem extends Model
'discount_total' => 'decimal:2',
'tax_total' => 'decimal:2',
'total' => 'decimal:2',
'refunded_amount' => 'decimal:2',
];
}