diff --git a/src/components/Expenses/Filelist.jsx b/src/components/Expenses/Filelist.jsx index 96ae7901..81786057 100644 --- a/src/components/Expenses/Filelist.jsx +++ b/src/components/Expenses/Filelist.jsx @@ -55,7 +55,6 @@ const Filelist = ({ files, removeFile, expenseToEdit }) => { export default Filelist; export const FilelistView = ({ files, viewFile }) => { - console.log( files) return (
{files?.map((file, idx) => ( diff --git a/src/components/PaymentRequest/PaymentRequestList.jsx b/src/components/PaymentRequest/PaymentRequestList.jsx index 2c69e72f..8df4c3d9 100644 --- a/src/components/PaymentRequest/PaymentRequestList.jsx +++ b/src/components/PaymentRequest/PaymentRequestList.jsx @@ -224,7 +224,7 @@ const PaymentRequestList = ({ filters, groupBy = "submittedBy", search }) => { isOpen={IsDeleteModalOpen} type="delete" header="Delete Expense" - message="Are you sure you want delete?" + message="Under the woring?" onSubmit={handleDelete} onClose={() => setIsDeleteModalOpen(false)} // loading={isPending} diff --git a/src/components/PaymentRequest/ViewPaymentRequest.jsx b/src/components/PaymentRequest/ViewPaymentRequest.jsx index 5a3401eb..8c65c219 100644 --- a/src/components/PaymentRequest/ViewPaymentRequest.jsx +++ b/src/components/PaymentRequest/ViewPaymentRequest.jsx @@ -521,7 +521,7 @@ const ViewPaymentRequest = ({ requestId }) => { )}
- ) : !data?.isExpenseCreated ? ( + ) : (!data?.isExpenseCreated && ! data?.isAdvancePayment) ? (
+ +
+ - - {/* Date and Amount */} -
-
- - - {errors.strikeDate && ( - {errors.strikeDate.message} - )} -
- -
- - - {errors.amount && ( - {errors.amount.message} - )} -
-
- - {/* Payee and Currency */} -
-
- - - setValue("payee", val, { shouldValidate: true }) - } - error={errors.payee?.message} - placeholder="Select or enter payee" - /> -
- -
- - - {errors.currencyId && ( - {errors.currencyId.message} - )} -
-
- - {/* Frequency To and Status Id */} -
-
- - - {errors.frequency && ( - {errors.frequency.message} - )} -
- -
- - - {errors.statusId && ( - {errors.statusId.message} - )} -
-
- - {/* Payment Buffer Days and Number of Iteration */} -
-
- - - {errors.paymentBufferDays && ( - - {errors.paymentBufferDays.message} - - )} -
-
- - - {errors.numberOfIteration && ( - - {errors.numberOfIteration.message} - - )} -
-
- -
-
- - - -
-
- - {/* Description */} -
-
- - - {errors.description && ( - - {errors.description.message} - - )} -
-
- -
- - -
- - - ); + ) } -export default ManageRecurringExpense; +export default ManageRecurringExpense + diff --git a/src/components/RecurringExpense/RecurringExpenseList.jsx b/src/components/RecurringExpense/RecurringExpenseList.jsx index 1a61847f..8fb81227 100644 --- a/src/components/RecurringExpense/RecurringExpenseList.jsx +++ b/src/components/RecurringExpense/RecurringExpenseList.jsx @@ -148,7 +148,7 @@ const RecurringExpenseList = ({ search, filterStatuses }) => { isOpen={IsDeleteModalOpen} type="delete" header="Delete Recurring Expense" - message="Are you sure you want to delete?" + message="Under the working" onSubmit={handleDelete} onClose={() => setIsDeleteModalOpen(false)} paramData={deletingId} @@ -188,7 +188,7 @@ const RecurringExpenseList = ({ search, filterStatuses }) => { ))} -
+
@@ -198,7 +198,6 @@ const RecurringExpenseList = ({ search, filterStatuses }) => { // }) // } > - {/* Uncomment for edit/delete actions */}