credit limit to credit limit per trx on wallet rule
This commit is contained in:
@ -293,7 +293,7 @@ const AddDialog = () => {
|
||||
<div className="w-full">
|
||||
<div className="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||
<label className="form-label flex items-center gap-1 max-w-56">
|
||||
Credit Limit<span className="text-red-500">*</span>
|
||||
Credit Limit per Trx<span className="text-red-500">*</span>
|
||||
</label>
|
||||
<div className="w-full">
|
||||
<NumericFormat
|
||||
|
||||
@ -302,7 +302,7 @@ const EditDialog = () => {
|
||||
<div className="w-full">
|
||||
<div className="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||
<label className="form-label flex items-center gap-1 max-w-56">
|
||||
Credit Limit<span className="text-red-500">*</span>
|
||||
Credit Limit per Trx<span className="text-red-500">*</span>
|
||||
</label>
|
||||
<NumericFormat
|
||||
className="input"
|
||||
|
||||
@ -115,7 +115,7 @@ const ManageWalletRuleContextProvider = ({ children }: { children: React.ReactNo
|
||||
{
|
||||
accessorFn: (row) => row.credit_limit,
|
||||
id: 'credit_limit',
|
||||
header: ({ column }) => <DataGridColumnHeader title="Credit Limit" column={column} />,
|
||||
header: ({ column }) => <DataGridColumnHeader title="Credit Limit per Trx" column={column} />,
|
||||
enableSorting: true,
|
||||
enableHiding: false,
|
||||
cell: ({ row }) => currencyFormat(row.original.credit_limit),
|
||||
|
||||
Reference in New Issue
Block a user