Add missing comment block for expense
This commit is contained in:
parent
41f30abcb4
commit
35726ae43f
|
@ -162,17 +162,6 @@
|
||||||
{editingExpense ? "Edit Expense" : "Add New Expense"}
|
{editingExpense ? "Edit Expense" : "Add New Expense"}
|
||||||
</h2>
|
</h2>
|
||||||
<form onsubmit={saveExpense} class="space-y-4">
|
<form onsubmit={saveExpense} class="space-y-4">
|
||||||
<label class="block">
|
|
||||||
<span class="text-gray-700">Value:</span>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
oninput={handleValueInput}
|
|
||||||
bind:this={valueRef}
|
|
||||||
required
|
|
||||||
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
|
|
||||||
/>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="block">
|
<label class="block">
|
||||||
<span class="text-gray-700">Card:</span>
|
<span class="text-gray-700">Card:</span>
|
||||||
<select
|
<select
|
||||||
|
@ -198,6 +187,27 @@
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<label class="block">
|
||||||
|
<span class="text-gray-700">Value:</span>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
oninput={handleValueInput}
|
||||||
|
bind:this={valueRef}
|
||||||
|
required
|
||||||
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="block">
|
||||||
|
<span class="text-gray-700">Comment:</span>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
bind:value={currentExpense.comment}
|
||||||
|
required
|
||||||
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
|
|
||||||
<div class="flex items-center space-x-4">
|
<div class="flex items-center space-x-4">
|
||||||
<label>
|
<label>
|
||||||
Date:
|
Date:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user