1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #2806 from FELDSAM-INC/fix/invoice-signatures

Invoices - fix requesting signature if already signed
This commit is contained in:
Hillel Coren 2019-04-29 19:46:10 +03:00 committed by GitHub
commit 02890eee2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@
refreshPDF();
@endif
@if ($account->requiresAuthorization($invoice))
@if ($account->requiresAuthorization($invoice) && ! $invitation->signature_date)
$('.require-authorization a').on('click', function(e) {
e.preventDefault();
window.pendingPaymentHref = $(this).attr('href');