feat: Begins po detail.
This commit is contained in:
@@ -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;"
|
||||
>
|
||||
‹ 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 ›
|
||||
</button>
|
||||
#endif
|
||||
</div>
|
||||
#extend("purchaseOrders/table")
|
||||
</div>
|
||||
#endexport
|
||||
|
||||
Reference in New Issue
Block a user