feat: Begins po detail.

This commit is contained in:
2025-01-10 17:13:43 -05:00
parent 455287fe1c
commit 59b6d46606
8 changed files with 156 additions and 7 deletions

View File

@@ -8,6 +8,28 @@
#extend("form-container"): #export("formContent"):
#extend("purchaseOrders/form", form)
#endexport #endextend
<div class="btn-row">
#if(hasPrevious):
<button hx-get="/purchase-orders?page=#(page - 1)&limit=#(limit)"
hx-target="body"
hx-swap="outerHTML"
hx-push-url="true"
style="float: left;"
>
&lsaquo; Previous
</button>
#endif
#if(hasNext):
<button hx-get="/purchase-orders?page=#(page + 1)&limit=#(limit)"
hx-target="body"
hx-swap="outerHTML"
hx-push-url="true"
style="float: right;"
>
Next &rsaquo;
</button>
#endif
</div>
#extend("purchaseOrders/table")
</div>
#endexport