feat(ui): alışveriş sonrası giriş ekranı ve karşılaştırma raporu
- /alisveris/:id/tamamla: alınan ürün/muadil, paket, tutar, mağaza başına hesap ve fiş, alınmayanlar - tamamlanan listede planlanan vs. gerçekleşen raporu ve mağaza giderleri - liste sayfası ve alışveriş modunda "Alışverişi tamamla" Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { ArrowLeft, Check, Globe } from "lucide-react";
|
||||
import { ArrowLeft, Check, ClipboardCheck, Globe } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { startTransition, useOptimistic } from "react";
|
||||
import { toast } from "sonner";
|
||||
@@ -244,6 +244,14 @@ export function ShoppingModeView({
|
||||
</section>
|
||||
);
|
||||
})}
|
||||
{canWrite && done > 0 ? (
|
||||
<Button asChild size="lg" className="w-full">
|
||||
<Link href={`/alisveris/${list.id}/tamamla`}>
|
||||
<ClipboardCheck />
|
||||
{t.complete.action}
|
||||
</Link>
|
||||
</Button>
|
||||
) : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user