Skip to content

Commit

Permalink
Merge pull request #73 from ConducereIT/dev
Browse files Browse the repository at this point in the history
update suma
  • Loading branch information
cristim67 authored Apr 29, 2024
2 parents 366e3f3 + a43c28f commit beb498f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/views/Checkin.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const initialFormData = {
revolute_cash: "",
phone: "",
checkin: "",
money: ""
suma: ""
};

const Checkin: React.FC = () => {
Expand Down Expand Up @@ -69,7 +69,7 @@ const Checkin: React.FC = () => {
formData.revolute_cash || initialFormData.revolute_cash,
formData.phone || initialFormData.phone,
formData.checkin || initialFormData.checkin,
formData.money || initialFormData.money
formData.suma || initialFormData.suma
);
window.location.reload();
} catch (error) {
Expand Down Expand Up @@ -135,8 +135,8 @@ const Checkin: React.FC = () => {
<td className="border border-gray-400 px-4 py-2">
<input
type="text"
value={formDataList[index]?.money || initialFormData.money}
onChange={(e) => handleInputChange(e, index, "money")}
value={formDataList[index]?.suma || initialFormData.suma}
onChange={(e) => handleInputChange(e, index, "suma")}
/>
</td>
<td className="border border-gray-400 px-4 py-2">
Expand Down

0 comments on commit beb498f

Please sign in to comment.