diff --git a/frontend/components/dailyIncome/IncomeForm.jsx b/frontend/components/dailyIncome/IncomeForm.jsx index 674287c..deccacc 100644 --- a/frontend/components/dailyIncome/IncomeForm.jsx +++ b/frontend/components/dailyIncome/IncomeForm.jsx @@ -2,42 +2,44 @@ import React from 'react'; import { Form, DatePicker, InputNumber, Button } from 'antd'; const IncomeForm = ({ form, handleSubmit, handleDateChange, income, setIncome, parseIncome }) => ( -
- - - - - `Q ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')} - parser={parseIncome} - onChange={setIncome} - style={{ width: '100%' }} - /> - - - - -
+
+
+ + + + + `Q ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')} + parser={parseIncome} + onChange={setIncome} + style={{ width: '100%' }} + /> + + + + +
+
); export default IncomeForm; \ No newline at end of file diff --git a/frontend/src/pages/income/DailyIncome.jsx b/frontend/src/pages/income/DailyIncome.jsx index 27f35be..ba5d4a1 100644 --- a/frontend/src/pages/income/DailyIncome.jsx +++ b/frontend/src/pages/income/DailyIncome.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { Layout, Card, Typography, message } from 'antd'; +import { Layout, Card, Typography, message, Form } from 'antd'; import moment from 'moment'; import IncomeHeader from '../../../components/dailyIncome/IncomeHeader';