"use client";

import Link from "next/link";
import { ArrowLeft, Printer } from "lucide-react";

import { Button } from "@/components/ui/button";

export function ReceiptControls() {
  return (
    <div className="mb-4 flex flex-wrap items-center justify-between gap-2 print:hidden">
      <Button asChild variant="outline" size="sm">
        <Link href="/finance">
          <ArrowLeft className="size-4" />
          Finansa dön
        </Link>
      </Button>
      <Button onClick={() => window.print()} size="sm">
        <Printer className="size-4" />
        Yazdır / PDF
      </Button>
    </div>
  );
}
