diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-26 15:10:59 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-26 15:10:59 +0700 |
| commit | de5ef26bb1017540969f8847016193f7e1933ee1 (patch) | |
| tree | f78223e275de072c57122727300fc72e9adf7240 /src/lib/transaction/components/Transactions.jsx | |
| parent | 1f20fafef46b4eecaf0dd1b91592f3214e8144d3 (diff) | |
transaction detail
Diffstat (limited to 'src/lib/transaction/components/Transactions.jsx')
| -rw-r--r-- | src/lib/transaction/components/Transactions.jsx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/transaction/components/Transactions.jsx b/src/lib/transaction/components/Transactions.jsx index 3d3dd533..0a772967 100644 --- a/src/lib/transaction/components/Transactions.jsx +++ b/src/lib/transaction/components/Transactions.jsx @@ -17,6 +17,7 @@ import _ from 'lodash' import Alert from '@/core/components/elements/Alert/Alert' import MobileView from '@/core/components/views/MobileView' import DesktopView from '@/core/components/views/DesktopView' +import Menu from '@/lib/auth/components/Menu' const Transactions = () => { const router = useRouter() @@ -196,10 +197,15 @@ const Transactions = () => { <DesktopView> <div className='container mx-auto flex py-10'> - <div className='w-3/12'></div> + <div className='w-3/12 pr-4'> + <Menu /> + </div> <div className='w-9/12 p-4 bg-white border border-gray_r-6 rounded'> <div className='flex mb-6 items-center justify-between'> - <h1 className='text-title-sm font-semibold'>Daftar Transaksi</h1> + <h1 className='text-title-sm font-semibold'> + Daftar Transaksi{' '} + {transactions?.data?.saleOrders ? `(${transactions?.data?.saleOrders.length})` : ''} + </h1> <form className='flex gap-x-2' onSubmit={handleSubmit}> <input type='text' @@ -213,7 +219,7 @@ const Transactions = () => { </button> </form> </div> - <table className='table-data w-full'> + <table className='table-data'> <thead> <tr> <th>No. Transaksi</th> |
