Skip to content

Commit

Permalink
Merge branch 'main' into issue-304
Browse files Browse the repository at this point in the history
  • Loading branch information
pvvramakrishnarao234 committed Sep 18, 2024
2 parents e3063a4 + 77dc3bb commit c213f4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion backend/api/invoices/recurring/generate_next_invoice_now.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ def generate_next_invoice_now_endpoint(request: WebRequest, invoice_profile_id):
)

return render(
request, "pages/invoices/recurring/manage/next_invoice_block.html", {"invoiceProfile": invoice_recurring_profile} | context
request,
"pages/invoices/recurring/manage/next_invoice_block.html",
{
"invoiceProfile": invoice_recurring_profile,
"swap": True,
}
| context,
)
else:
logger.info(svc_resp.error)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div data-oob="next_invoice_block"
hx-swap-oob='outerHTML:div[data-oob="next_invoice_block"]'
{% if swap %}hx-swap-oob='outerHTML:div[data-oob="next_invoice_block"]'{% endif %}
class="card bg-base-100 shadow-xl w-full p-10 flex-row gap-x-4 mt-4">
<div class="card-body p-0">
<h1 class="text-2xl font-bold">Next Invoice</h1>
Expand Down

0 comments on commit c213f4f

Please sign in to comment.