Compare commits
2 Commits
cddb216526
...
4692f841d4
Author | SHA1 | Date | |
---|---|---|---|
4692f841d4 | |||
6e9d84deb9 |
|
@ -12,7 +12,6 @@
|
|||
let newTransfer: Partial<Transfer> = $state({
|
||||
card_id: 0,
|
||||
value: 0,
|
||||
comment: "",
|
||||
date: "2006-01-02T15:04:05Z",
|
||||
});
|
||||
|
||||
|
@ -123,16 +122,6 @@
|
|||
{editingTransfer ? "Edit Transfer" : "Add New Transfer"}
|
||||
</h2>
|
||||
<form onsubmit={saveTransfer} class="space-y-4">
|
||||
<label class="block">
|
||||
<span class="text-gray-700">Value:</span>
|
||||
<input
|
||||
type="text"
|
||||
bind:value={currentTransfer.value}
|
||||
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">From:</span>
|
||||
<select
|
||||
|
@ -161,6 +150,16 @@
|
|||
</select>
|
||||
</label>
|
||||
|
||||
<label class="block">
|
||||
<span class="text-gray-700">Value:</span>
|
||||
<input
|
||||
type="text"
|
||||
bind:value={currentTransfer.value}
|
||||
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">
|
||||
<label>
|
||||
Date:
|
||||
|
|
Loading…
Reference in New Issue
Block a user