fiix: fullfillment

This commit is contained in:
Ola Malmgren
2026-05-22 23:20:34 +02:00
parent 98e05193ec
commit 23fd84d85c

View File

@@ -36,9 +36,7 @@ export function FulfillmentTable({
{t('title')} {t('title')}
</h3> </h3>
<div className="flex gap-1"> <div className="flex gap-1">
<form <form action={markAllDelivered}>
action={(fd) => startTransition(() => markAllDelivered(fd))}
>
<input type="hidden" name="bookingId" value={bookingId} /> <input type="hidden" name="bookingId" value={bookingId} />
<button <button
type="submit" type="submit"
@@ -48,9 +46,7 @@ export function FulfillmentTable({
{t('deliverAll')} {t('deliverAll')}
</button> </button>
</form> </form>
<form <form action={markAllReturned}>
action={(fd) => startTransition(() => markAllReturned(fd))}
>
<input type="hidden" name="bookingId" value={bookingId} /> <input type="hidden" name="bookingId" value={bookingId} />
<button <button
type="submit" type="submit"