delete console

This commit is contained in:
bagusajisaputroo
2025-03-26 09:56:49 +07:00
parent f00a667591
commit d9dfe3e6a1
5 changed files with 31 additions and 34 deletions

View File

@ -254,7 +254,7 @@ const EditFeeDialog = () => {
<div className="card flex flex-col gap-5">
<div className="card-body grid gap-5 p-0">
<div className="w-full">
<label className="form-label">Transfer Free Name</label>
<label className="form-label">Transfer Free Name <span className="text-red-500">*</span></label>
<Input
className="input"
type="text"
@ -266,7 +266,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Description</label>
<label className="form-label">Description <span className="text-red-500">*</span></label>
<Input
className="input"
type="text"
@ -278,7 +278,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Minimum Amount</label>
<label className="form-label">Minimum Amount <span className="text-red-500">*</span></label>
<NumericFormat
className="input"
value={formField.minimum_amount}
@ -295,7 +295,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Maximum Amount</label>
<label className="form-label">Maximum Amount <span className="text-red-500">*</span></label>
<NumericFormat
className="input"
value={formField.maximum_amount}
@ -312,7 +312,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Period Start</label>
<label className="form-label">Period Start <span className="text-red-500">*</span></label>
<Input
className="input"
type="date"
@ -324,7 +324,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Period End</label>
<label className="form-label">Period End <span className="text-red-500">*</span></label>
<Input
className="input"
type="date"
@ -336,7 +336,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Deduct Amount</label>
<label className="form-label">Deduct Amount <span className="text-red-500">*</span></label>
<NumericFormat
className="input"
value={formField.deduct_amount}
@ -353,7 +353,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Deduct Percentage</label>
<label className="form-label">Deduct Percentage <span className="text-red-500">*</span></label>
<NumericFormat
className="input"
value={formField.deduct_percentage}
@ -370,7 +370,7 @@ const EditFeeDialog = () => {
/>
</div>
<div className="w-full">
<label className="form-label">Transacsion Type ID</label>
<label className="form-label">Transacsion Type ID <span className="text-red-500">*</span></label>
<Select
value={formField.transaction_type}
onValueChange={(transaction_type) =>
@ -390,7 +390,7 @@ const EditFeeDialog = () => {
</Select>
</div>
<div className="w-full">
<label className="form-label">Status</label>
<label className="form-label">Status <span className="text-red-500">*</span></label>
<Select
value={formField.status}
onValueChange={(value) => setFormField({ ...formField, status: value })}
@ -405,7 +405,7 @@ const EditFeeDialog = () => {
</Select>
</div>
<div className="w-full">
<label className="form-label">Status Included</label>
<label className="form-label">Status Included <span className="text-red-500">*</span></label>
<Select
value={formField.status_include}
onValueChange={(value) =>
@ -422,7 +422,7 @@ const EditFeeDialog = () => {
</Select>
</div>
<div className="w-full">
<label className="form-label">Priority</label>
<label className="form-label">Priority <span className="text-red-500">*</span></label>
<Select
value={formField.priority ? 'Y' : 'N'} // Menyesuaikan nilai
onValueChange={(value) =>
@ -440,7 +440,7 @@ const EditFeeDialog = () => {
</div>
{/* <div className="w-full">
<label className="form-label">Priotity</label>
<label className="form-label">Priotity <span className="text-red-500">*</span></label>
<Select
value={formField.priority}
onValueChange={(value) => setFormField({ ...formField, priority: value })}
@ -456,7 +456,7 @@ const EditFeeDialog = () => {
</div> */}
{/* <div className="w-full">
<label className="form-label">Priority</label>
<label className="form-label">Priority <span className="text-red-500">*</span></label>
<Select
value={formField.priority ? 'Y' : 'N'}
onValueChange={(value) =>