Cleanup
This commit is contained in:
@@ -6,12 +6,12 @@ import { Product } from '@/types';
|
|||||||
import Fuse from 'fuse.js';
|
import Fuse from 'fuse.js';
|
||||||
import { Input } from '@/components/ui/crm-input'
|
import { Input } from '@/components/ui/crm-input'
|
||||||
import { Button } from '@/components/ui/crm-button'
|
import { Button } from '@/components/ui/crm-button'
|
||||||
import { Delete, Search, Plus, CheckIcon, ChevronDown } from "lucide-vue-next"
|
import { Delete, Search, Plus } from "lucide-vue-next"
|
||||||
import PlaceholderPattern from '@/components/PlaceholderPattern.vue';
|
import PlaceholderPattern from '@/components/PlaceholderPattern.vue';
|
||||||
import { toCurrency, toRoundedCurrency } from '@/lib/utils';
|
import { toCurrency } from '@/lib/utils';
|
||||||
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'
|
||||||
import { Kbd, KbdGroup } from '@/components/ui/kbd'
|
import { Kbd, KbdGroup } from '@/components/ui/kbd'
|
||||||
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, SelectSeparator } from '@/components/ui/select'
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, SelectSeparator } from '@/components/ui/select'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
productsData: Product[];
|
productsData: Product[];
|
||||||
@@ -143,7 +143,7 @@ const toggleAllCategories = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
<span>Neuen Kunden anlegen</span>
|
<span>Neues Produkt anlegen</span>
|
||||||
<KbdGroup class="ml-2">
|
<KbdGroup class="ml-2">
|
||||||
<Kbd class="visible-mac">⌘ N</Kbd>
|
<Kbd class="visible-mac">⌘ N</Kbd>
|
||||||
<Kbd class="visible-pc">Ctrl N</Kbd>
|
<Kbd class="visible-pc">Ctrl N</Kbd>
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ const createInvoice = async () => {
|
|||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell class="print:hidden">
|
<TableCell class="print:hidden">
|
||||||
<Button size="icon" variant="ghost" @click="deleteEntry(entry)">
|
<Button size="icon" variant="ghost" @click="deleteEntry(entry)">
|
||||||
<Trash2 class="size-4 text-muted-foreground" />
|
<Trash2 class="text-muted-foreground" />
|
||||||
</Button>
|
</Button>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user