feat: show customer branding on login page #7

Merged
ryan merged 2 commits from feature/login-branding into main 2026-04-05 16:19:32 +00:00
3 changed files with 1 additions and 3 deletions
Showing only changes of commit e589ff02f0 - Show all commits

View File

@@ -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'

View File

@@ -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) {

View File

@@ -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'