|
|
@ -88,7 +88,7 @@ export default function HeaderTrx({ enable = 'deposit', dates, setDates }) {
|
|
|
|
<div className="flex flex-row gap-2 ">
|
|
|
|
<div className="flex flex-row gap-2 ">
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
href={route('transactions.deposit.index')}
|
|
|
|
href={route('transactions.deposit.index')}
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 ${
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 hover:text-white ${
|
|
|
|
enable === 'deposit'
|
|
|
|
enable === 'deposit'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
: 'bg-blue-100'
|
|
|
|
: 'bg-blue-100'
|
|
|
@ -98,7 +98,7 @@ export default function HeaderTrx({ enable = 'deposit', dates, setDates }) {
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
href={route('transactions.sale.index')}
|
|
|
|
href={route('transactions.sale.index')}
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 ${
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 hover:text-white ${
|
|
|
|
enable === 'trx'
|
|
|
|
enable === 'trx'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
: 'bg-blue-100'
|
|
|
|
: 'bg-blue-100'
|
|
|
@ -108,7 +108,7 @@ export default function HeaderTrx({ enable = 'deposit', dates, setDates }) {
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
href={route('transactions.poin.index')}
|
|
|
|
href={route('transactions.poin.index')}
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 ${
|
|
|
|
className={`px-3 py-1 rounded-full border hover:bg-blue-500 hover:text-white ${
|
|
|
|
enable === 'poin'
|
|
|
|
enable === 'poin'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
? 'bg-blue-700 text-white'
|
|
|
|
: 'bg-blue-100'
|
|
|
|
: 'bg-blue-100'
|
|
|
|