refactor(ticket): use refunds as amount source
This commit is contained in:
@@ -28,7 +28,6 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
'discount_total',
|
||||
'tax_total',
|
||||
'total',
|
||||
'refunded_amount',
|
||||
])]
|
||||
class PurchaseItem extends Model
|
||||
{
|
||||
@@ -49,7 +48,6 @@ class PurchaseItem extends Model
|
||||
'discount_total' => 'decimal:2',
|
||||
'tax_total' => 'decimal:2',
|
||||
'total' => 'decimal:2',
|
||||
'refunded_amount' => 'decimal:2',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user