close #2680 Fixed: Contact show invoices tab add payment and send email action not working - ( #3196abw )

This commit is contained in:
Cüneyt Şentürk
2022-10-20 15:25:27 +03:00
parent a849f5a78c
commit ca769e265c
5 changed files with 302 additions and 248 deletions

View File

@ -538,7 +538,7 @@ class Document extends Model
'permission' => 'read-' . $group . '-' . $permission_prefix,
'attributes' => [
'id' => 'index-line-actions-payment-' . $this->type . '-' . $this->id,
'@click' => 'onPayment("' . $this->id . '")',
'@click' => 'onAddPayment("' . route('modals.documents.document.transactions.create', $this->id) . '")',
],
];
} catch (\Exception $e) {}