diff --git a/components/transaction/transactionRoutes.js b/components/transaction/transactionRoutes.js index 5281f83..3692420 100644 --- a/components/transaction/transactionRoutes.js +++ b/components/transaction/transactionRoutes.js @@ -19,6 +19,18 @@ router.post( transactionController.createTransaction ) +router.post( + '/admin/index-all', + // perm.requires('getallbelongings'), + transactionController.indexAllTransactions +) + +router.get( + '/admin/search', + // perm.requires('getallbelongings'), + transactionController.searchTransactions +) + router.get( '/admin/belonging/:belongingId/inventory', // perm.requires('getallbelongings'),