Defaults to unpaid invoices
This commit is contained in:
@@ -177,7 +177,7 @@
|
|||||||
"Home" ]
|
"Home" ]
|
||||||
(when (p/can? @user {:subject :invoice-page})
|
(when (p/can? @user {:subject :invoice-page})
|
||||||
[:a.navbar-item {:class [(active-when ap #{:unpaid-invoices :paid-invoices})]
|
[:a.navbar-item {:class [(active-when ap #{:unpaid-invoices :paid-invoices})]
|
||||||
:href (str (bidi/path-for ssr-routes/only-routes ::invoice-routes/all-page) "?date-range=month")}
|
:href (str (bidi/path-for ssr-routes/only-routes ::invoice-routes/unpaid-page) "?date-range=month")}
|
||||||
"Invoices" ])
|
"Invoices" ])
|
||||||
(when (p/can? @user {:subject :payment-page})
|
(when (p/can? @user {:subject :payment-page})
|
||||||
[:a.navbar-item {:class [(active-when ap = :payments)]
|
[:a.navbar-item {:class [(active-when ap = :payments)]
|
||||||
|
|||||||
Reference in New Issue
Block a user