close #2186 Fixed: Invoice/Bill mark paid currency code issue. #nqbpdm
This commit is contained in:
@ -329,7 +329,7 @@ class Invoices extends Controller
|
||||
public function markPaid(Document $invoice)
|
||||
{
|
||||
try {
|
||||
event(new \App\Events\Document\PaymentReceived($invoice, ['type' => 'income']));
|
||||
event(new \App\Events\Document\PaymentReceived($invoice, ['type' => 'income', 'mark_paid' => 'invoice']));
|
||||
|
||||
$message = trans('documents.messages.marked_paid', ['type' => trans_choice('general.invoices', 1)]);
|
||||
|
||||
|
Reference in New Issue
Block a user