add controllers, servoices
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Payments;
|
||||
|
||||
use App\Models\Payment;
|
||||
|
||||
class PaymentBalanceService
|
||||
{
|
||||
public function updateBalance(int $paymentId, float $amountPaid): bool
|
||||
{
|
||||
return Payment::updateBalance($paymentId, $amountPaid);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user