Recurring invoices

- Fix the delete link
- Cron should only flag recurring invoices that with a next-run in the past if the recurring invoice is active
This commit is contained in:
wrongecho
2025-03-31 08:28:22 +01:00
parent e92f2f714d
commit 393c0b8c11
3 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ if (isset($_GET['recurring_invoice_id'])) {
<i class="fa fa-fw fa-paper-plane text-secondary mr-2"></i>Force Send
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_recurring=<?php echo $recurring_invoice_id; ?>">
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_recurring_invoice=<?php echo $recurring_invoice_id; ?>">
<i class="fa fa-fw fa-trash mr-2"></i>Delete
</a>
</div>