Fix Pint formatting
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class PaymentTransaction extends BaseModel
|
||||
{
|
||||
protected $table = 'payment_transactions';
|
||||
@@ -29,11 +26,11 @@ class PaymentTransaction extends BaseModel
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'payment_id' => 'integer',
|
||||
'amount' => 'decimal:2', // adjust precision if needed
|
||||
'transaction_fee' => 'decimal:2', // adjust precision if needed
|
||||
'transaction_date' => 'datetime',
|
||||
'is_full_payment' => 'boolean',
|
||||
'payment_id' => 'integer',
|
||||
'amount' => 'decimal:2', // adjust precision if needed
|
||||
'transaction_fee' => 'decimal:2', // adjust precision if needed
|
||||
'transaction_date' => 'datetime',
|
||||
'is_full_payment' => 'boolean',
|
||||
];
|
||||
|
||||
/* Optional relationship */
|
||||
|
||||
Reference in New Issue
Block a user