feat: show customer branding on login page #7
@@ -4,7 +4,6 @@ import { posMutations, posKeys, type Transaction } from '@/api/pos'
|
|||||||
import { Button } from '@/components/ui/button'
|
import { Button } from '@/components/ui/button'
|
||||||
import { Separator } from '@/components/ui/separator'
|
import { Separator } from '@/components/ui/separator'
|
||||||
import { Input } from '@/components/ui/input'
|
import { Input } from '@/components/ui/input'
|
||||||
import { Label } from '@/components/ui/label'
|
|
||||||
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
||||||
import { X, Banknote, CreditCard, FileText, Ban, UserRound, Tag } from 'lucide-react'
|
import { X, Banknote, CreditCard, FileText, Ban, UserRound, Tag } from 'lucide-react'
|
||||||
import { toast } from 'sonner'
|
import { toast } from 'sonner'
|
||||||
|
|||||||
@@ -100,7 +100,6 @@ function useStoreLogo(companyId?: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function POSReceipt({ data, size = 'thermal', footerText, config }: POSReceiptProps) {
|
export function POSReceipt({ data, size = 'thermal', footerText, config }: POSReceiptProps) {
|
||||||
const { transaction: txn, company, location } = data
|
|
||||||
const isThermal = size === 'thermal'
|
const isThermal = size === 'thermal'
|
||||||
|
|
||||||
if (!isThermal) {
|
if (!isThermal) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { eq, and, sql, gte, lt } from 'drizzle-orm'
|
import { eq, and, gte, lt } from 'drizzle-orm'
|
||||||
import type { PostgresJsDatabase } from 'drizzle-orm/postgres-js'
|
import type { PostgresJsDatabase } from 'drizzle-orm/postgres-js'
|
||||||
import { transactions, drawerSessions, drawerAdjustments, registers } from '../db/schema/pos.js'
|
import { transactions, drawerSessions, drawerAdjustments, registers } from '../db/schema/pos.js'
|
||||||
import { locations } from '../db/schema/stores.js'
|
import { locations } from '../db/schema/stores.js'
|
||||||
|
|||||||
Reference in New Issue
Block a user