feat: Implement payment proof upload for orders, add payment method selection API, and seed bank transfer payment options.
This commit is contained in:
@@ -24,6 +24,10 @@ class Payment extends Model
|
||||
{
|
||||
return $this->belongsTo(\App\Models\Invoice::class);
|
||||
}
|
||||
public function order()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\Order::class);
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return match ($this->attributes['status']) {
|
||||
|
||||
Reference in New Issue
Block a user