Compare commits
No commits in common. "4692f841d4d5d94baab24df1dfe0e3b7f7685a33" and "cddb216526f907b167ec46faf5142c193646c223" have entirely different histories.
4692f841d4
...
cddb216526
|
@ -12,6 +12,7 @@
|
||||||
let newTransfer: Partial<Transfer> = $state({
|
let newTransfer: Partial<Transfer> = $state({
|
||||||
card_id: 0,
|
card_id: 0,
|
||||||
value: 0,
|
value: 0,
|
||||||
|
comment: "",
|
||||||
date: "2006-01-02T15:04:05Z",
|
date: "2006-01-02T15:04:05Z",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -122,6 +123,16 @@
|
||||||
{editingTransfer ? "Edit Transfer" : "Add New Transfer"}
|
{editingTransfer ? "Edit Transfer" : "Add New Transfer"}
|
||||||
</h2>
|
</h2>
|
||||||
<form onsubmit={saveTransfer} class="space-y-4">
|
<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">
|
<label class="block">
|
||||||
<span class="text-gray-700">From:</span>
|
<span class="text-gray-700">From:</span>
|
||||||
<select
|
<select
|
||||||
|
@ -150,16 +161,6 @@
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</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">
|
<div class="flex items-center space-x-4">
|
||||||
<label>
|
<label>
|
||||||
Date:
|
Date:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user