--
--

\restrict rBB5DxqVw70zvbBK7VzxKI4g3YUbgMrz9xLwVdF8GBGgivVpuNWTY7fbklyvosn


SELECT pg_catalog.set_config('search_path', '', false);

--
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: pg_database_owner
--

COMMENT ON SCHEMA public IS '';




--
-- Name: account_mappings; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_mappings (
    id integer NOT NULL,
    mapping_code character varying(50) NOT NULL,
    mapping_name character varying(100) NOT NULL,
    account_id integer NOT NULL,
    description text,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.account_mappings OWNER TO postgres;

--
-- Name: account_mappings_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.account_mappings ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.account_mappings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: account_transactions; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_transactions (
    id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    sale_id integer,
    account_type character varying(50) NOT NULL,
    account_id integer,
    cheque_id integer,
    card_type_id integer,
    card_last_four character varying(4),
    card_transaction_ref character varying(100),
    is_reconciled boolean DEFAULT false NOT NULL,
    amount numeric(10,2) NOT NULL,
    tip_amount numeric(10,2) DEFAULT 0.00,
    description character varying(255),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.account_transactions OWNER TO postgres;

--
-- Name: account_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.account_transactions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.account_transactions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: account_types; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.account_types (
    id integer NOT NULL,
    type_code character varying(10) NOT NULL,
    type_name character varying(50) NOT NULL,
    default_side character varying(255) NOT NULL,
    description text,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.account_types OWNER TO postgres;

--
-- Name: account_types_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.account_types ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.account_types_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: bank_access; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.bank_access (
    user_id integer NOT NULL,
    bank_account_id integer NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    created_by integer
);


ALTER TABLE public.bank_access OWNER TO postgres;

--
-- Name: bank_accounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.bank_accounts (
    id integer NOT NULL,
    bank_name character varying(100) NOT NULL,
    account_title character varying(150) NOT NULL,
    chart_of_account_id integer,
    mapped_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    mapped_by integer,
    account_number character varying(50) NOT NULL,
    iban character varying(50),
    branch_name character varying(100),
    branch_code character varying(50),
    swift_code character varying(50),
    address text,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.bank_accounts OWNER TO postgres;

--
-- Name: bank_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.bank_accounts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.bank_accounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: bom_components; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.bom_components (
    id integer NOT NULL,
    bom_id integer NOT NULL,
    component_item_id integer NOT NULL,
    quantity numeric(12,6) NOT NULL
);


ALTER TABLE public.bom_components OWNER TO postgres;

--
-- Name: bom_components_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.bom_components ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.bom_components_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: bom_master; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.bom_master (
    id integer NOT NULL,
    item_id integer NOT NULL,
    description text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.bom_master OWNER TO postgres;

--
-- Name: bom_master_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.bom_master ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.bom_master_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: branch_access; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.branch_access (
    user_id integer NOT NULL,
    branch_id integer NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    created_by integer
);


ALTER TABLE public.branch_access OWNER TO postgres;

--
-- Name: branch_info; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.branch_info (
    id integer NOT NULL,
    default_store_id integer,
    branch_name character varying(255),
    branch_code character varying(20),
    branch_address text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    ntn character varying(30),
    strn character varying(30),
    branch_phone character varying(50),
    facebook_url character varying(255),
    instagram_url character varying(255),
    youtube_url character varying(255),
    province character varying(100) DEFAULT 'Punjab'::character varying,
    is_active boolean DEFAULT true,
    branch_type character varying(255) DEFAULT 'branch'::character varying,
    is_default boolean DEFAULT false
);


ALTER TABLE public.branch_info OWNER TO postgres;

--
-- Name: branch_info_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.branch_info ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.branch_info_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: card_types; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.card_types (
    id integer NOT NULL,
    card_code character varying(50) NOT NULL,
    card_name character varying(100) NOT NULL,
    display_name character varying(100),
    icon_class character varying(100) DEFAULT 'fas fa-credit-card'::character varying,
    color_class character varying(100) DEFAULT 'btn-outline-primary'::character varying,
    default_charge_rate numeric(5,2) DEFAULT 0.00,
    sort_order integer DEFAULT 0,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    revenue_account_id integer
);


ALTER TABLE public.card_types OWNER TO postgres;

--
-- Name: COLUMN card_types.revenue_account_id; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON COLUMN public.card_types.revenue_account_id IS 'Chart of accounts revenue line for this card type; NULL = use rev_CardSale mapping';


--
-- Name: card_types_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.card_types ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.card_types_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.categories (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    icon character varying(255) DEFAULT 'assets/img/categories/category-01.png'::character varying
);


ALTER TABLE public.categories OWNER TO postgres;

--
-- Name: categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: chart_of_accounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.chart_of_accounts (
    id integer NOT NULL,
    account_code character varying(20) NOT NULL,
    account_name character varying(100) NOT NULL,
    account_type character varying(255) NOT NULL,
    account_category character varying(255) NOT NULL,
    parent_account_id integer,
    account_level integer DEFAULT 1,
    is_active boolean DEFAULT true,
    description text,
    opening_balance numeric(15,2) DEFAULT 0.00,
    current_balance numeric(15,2) DEFAULT 0.00,
    store_id integer DEFAULT 1,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.chart_of_accounts OWNER TO postgres;

--
-- Name: chart_of_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.chart_of_accounts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.chart_of_accounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: cheque_books; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.cheque_books (
    id integer NOT NULL,
    bank_account_id integer NOT NULL,
    branch_id integer DEFAULT 1 NOT NULL,
    first_cheque_number character(6) NOT NULL,
    last_cheque_number character(6) NOT NULL,
    cheque_count integer DEFAULT 0 NOT NULL,
    notes character varying(255),
    created_by integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.cheque_books OWNER TO postgres;

--
-- Name: cheque_books_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.cheque_books ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.cheque_books_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: cheques; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.cheques (
    id integer NOT NULL,
    cheque_book_id integer NOT NULL,
    bank_account_id integer NOT NULL,
    branch_id integer DEFAULT 1 NOT NULL,
    cheque_number character(6) NOT NULL,
    status character varying(255) DEFAULT 'unused'::character varying NOT NULL,
    amount numeric(12,2),
    sale_id integer,
    payee_name character varying(255),
    issue_date date,
    cleared_date date,
    bounced_date date,
    memo character varying(500),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.cheques OWNER TO postgres;

--
-- Name: cheques_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.cheques ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.cheques_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: cus_outstanding; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.cus_outstanding (
    id integer NOT NULL,
    sale_id integer NOT NULL,
    customer_id integer NOT NULL,
    amount numeric(10,2) NOT NULL,
    status character varying(255) DEFAULT 'unpaid'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.cus_outstanding OWNER TO postgres;

--
-- Name: cus_outstanding_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.cus_outstanding ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.cus_outstanding_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: cus_payments; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.cus_payments (
    id integer NOT NULL,
    store_id integer,
    customer_id integer NOT NULL,
    sale_id integer,
    balance_entry_id integer,
    amount_paid numeric(10,2) NOT NULL,
    payment_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    remarks character varying(255)
);


ALTER TABLE public.cus_payments OWNER TO postgres;

--
-- Name: cus_payments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.cus_payments ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.cus_payments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: customer_balance_entries; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.customer_balance_entries (
    id integer NOT NULL,
    entry_number character varying(30) NOT NULL,
    customer_id integer NOT NULL,
    store_id integer DEFAULT 1,
    entry_type character varying(255) DEFAULT 'receivable'::character varying NOT NULL,
    amount numeric(12,2) NOT NULL,
    remaining_amount numeric(12,2) NOT NULL,
    reference_no character varying(50),
    remarks character varying(255),
    map_account_id integer,
    journal_entry_id integer,
    status character varying(255) DEFAULT 'posted'::character varying NOT NULL,
    created_by integer NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.customer_balance_entries OWNER TO postgres;

--
-- Name: customer_balance_entries_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.customer_balance_entries ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.customer_balance_entries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: customer_categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.customer_categories (
    id integer NOT NULL,
    category_name character varying(100) NOT NULL,
    description text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.customer_categories OWNER TO postgres;

--
-- Name: customer_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.customer_categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.customer_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: customer_subscription_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.customer_subscription_invoices (
    id integer NOT NULL,
    subscription_id integer NOT NULL,
    sale_id integer NOT NULL,
    period_start date NOT NULL,
    period_end date NOT NULL,
    amount numeric(12,2) DEFAULT 0.00 NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.customer_subscription_invoices OWNER TO postgres;

--
-- Name: customer_subscription_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.customer_subscription_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.customer_subscription_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: customer_subscriptions; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.customer_subscriptions (
    id integer NOT NULL,
    store_id integer,
    customer_id integer NOT NULL,
    item_id integer NOT NULL,
    subscription_plan_id integer,
    status character varying(255) DEFAULT 'active'::character varying NOT NULL,
    start_date date NOT NULL,
    current_period_end date NOT NULL,
    next_renewal_date date,
    amount numeric(12,2) DEFAULT 0.00 NOT NULL,
    auto_renew boolean DEFAULT false NOT NULL,
    notes text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.customer_subscriptions OWNER TO postgres;

--
-- Name: customer_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.customer_subscriptions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.customer_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: customers; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.customers (
    id integer NOT NULL,
    primary_store_id integer,
    name character varying(100) NOT NULL,
    phone character varying(20),
    email character varying(100),
    address text,
    is_walk_in boolean DEFAULT false,
    ntn character varying(20),
    province character varying(100) DEFAULT 'Punjab'::character varying,
    active boolean DEFAULT true NOT NULL,
    discount_applied character varying(255) DEFAULT 'N'::character varying,
    discount_rate numeric(5,2) DEFAULT 0.00,
    withholding_rate numeric(5,2) DEFAULT 0.00,
    category_id integer,
    customer_type character varying(255) DEFAULT 'retail'::character varying NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.customers OWNER TO postgres;

--
-- Name: customers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.customers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.customers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: deal_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.deal_items (
    id integer NOT NULL,
    deal_id integer NOT NULL,
    selection_type character varying(255) NOT NULL,
    category_id integer,
    sub_category_id integer,
    item_id integer,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    min_selection integer DEFAULT 1,
    max_selection integer DEFAULT 1
);


ALTER TABLE public.deal_items OWNER TO postgres;

--
-- Name: deal_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.deal_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.deal_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: deals; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.deals (
    id integer NOT NULL,
    item_id integer NOT NULL,
    deal_name character varying(100) NOT NULL,
    deal_price numeric(10,2) NOT NULL,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.deals OWNER TO postgres;

--
-- Name: deals_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.deals ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.deals_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: delivery_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.delivery_orders (
    id integer NOT NULL,
    store_id integer,
    sale_id integer NOT NULL,
    customer_id integer NOT NULL,
    rider_id integer,
    delivery_status character varying(255) DEFAULT 'pending'::character varying,
    delivery_address text,
    delivery_time timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.delivery_orders OWNER TO postgres;

--
-- Name: delivery_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.delivery_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.delivery_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: delivery_riders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.delivery_riders (
    id integer NOT NULL,
    assigned_store_id integer,
    name character varying(100) NOT NULL,
    phone character varying(20),
    email character varying(100),
    vehicle_number character varying(50),
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.delivery_riders OWNER TO postgres;

--
-- Name: delivery_riders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.delivery_riders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.delivery_riders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: dinein_floors; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.dinein_floors (
    id integer NOT NULL,
    store_id integer,
    name character varying(100) NOT NULL,
    description text,
    is_active boolean DEFAULT true
);


ALTER TABLE public.dinein_floors OWNER TO postgres;

--
-- Name: dinein_floors_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.dinein_floors ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.dinein_floors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: dinein_tables; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.dinein_tables (
    id integer NOT NULL,
    store_id integer,
    floor_id integer NOT NULL,
    table_name character varying(50) NOT NULL,
    seats integer DEFAULT 4,
    status character varying(255) DEFAULT 'available'::character varying,
    is_active boolean DEFAULT true
);


ALTER TABLE public.dinein_tables OWNER TO postgres;

--
-- Name: dinein_tables_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.dinein_tables ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.dinein_tables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: discount_categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.discount_categories (
    id integer NOT NULL,
    category_name character varying(100) NOT NULL,
    display_order integer DEFAULT 0,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.discount_categories OWNER TO postgres;

--
-- Name: discount_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.discount_categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.discount_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: discounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.discounts (
    id integer NOT NULL,
    discount_name character varying(100) NOT NULL,
    discount_code character varying(20),
    discount_type character varying(255) NOT NULL,
    discount_rate numeric(10,2) NOT NULL,
    discount_cap numeric(10,2),
    category_id integer,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.discounts OWNER TO postgres;

--
-- Name: discounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.discounts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.discounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: expense_accounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.expense_accounts (
    id integer NOT NULL,
    category_id integer NOT NULL,
    subcategory_id integer NOT NULL,
    name character varying(100) NOT NULL,
    chart_of_account_id integer,
    mapped_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    mapped_by integer
);


ALTER TABLE public.expense_accounts OWNER TO postgres;

--
-- Name: expense_accounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.expense_accounts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.expense_accounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: expense_categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.expense_categories (
    id integer NOT NULL,
    name character varying(100) NOT NULL
);


ALTER TABLE public.expense_categories OWNER TO postgres;

--
-- Name: expense_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.expense_categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.expense_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: expense_subcategories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.expense_subcategories (
    id integer NOT NULL,
    category_id integer NOT NULL,
    name character varying(100) NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.expense_subcategories OWNER TO postgres;

--
-- Name: expense_subcategories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.expense_subcategories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.expense_subcategories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: expenses; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.expenses (
    id integer NOT NULL,
    store_id integer,
    branch_id integer,
    shift_id integer,
    expense_payment_group_id character varying(36),
    account_id integer NOT NULL,
    remarks text,
    amount numeric(10,2) NOT NULL,
    expense_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    payment_method character varying(255) DEFAULT 'cash'::character varying,
    bank_account_id integer,
    journal_entry_id integer,
    status character varying(255) DEFAULT 'approved'::character varying,
    approved_by integer,
    approved_at timestamp without time zone,
    reversal_date date,
    reversal_reason text,
    reversal_journal_id integer,
    rejection_reason text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.expenses OWNER TO postgres;

--
-- Name: expenses_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.expenses ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.expenses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_config; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_config (
    id integer NOT NULL,
    is_enabled boolean,
    display_name character varying(255) DEFAULT 'FBR'::character varying NOT NULL,
    api_url character varying(255),
    pos_id bigint,
    usin character varying(50)
);


ALTER TABLE public.fbr_config OWNER TO postgres;

--
-- Name: fbr_config_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_config ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_digital; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_digital (
    id integer NOT NULL,
    is_enabled boolean DEFAULT false,
    api_url character varying(255),
    token text,
    mode character varying(255) DEFAULT 'sandbox'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    validate_api_url character varying(255),
    sandbox_token text,
    production_token text,
    post_api_url_sandbox character varying(255) DEFAULT 'https://gw.fbr.gov.pk/di_data/v1/di/postinvoicedata_sb'::character varying,
    post_api_url_production character varying(255) DEFAULT 'https://gw.fbr.gov.pk/di_data/v1/di/postinvoicedata'::character varying,
    validate_api_url_sandbox character varying(255) DEFAULT 'https://gw.fbr.gov.pk/di_data/v1/di/validateinvoicedata_sb'::character varying,
    validate_api_url_production character varying(255) DEFAULT 'https://gw.fbr.gov.pk/di_data/v1/di/validateinvoicedata'::character varying,
    business_activity character varying(100) DEFAULT 'Manufacturer'::character varying,
    business_sector character varying(100) DEFAULT 'All Other Sectors'::character varying,
    eligible_scenario_ids text,
    block_sale_on_failure boolean DEFAULT true
);


ALTER TABLE public.fbr_digital OWNER TO postgres;

--
-- Name: fbr_digital_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_digital ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_digital_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_digital_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_digital_invoices (
    id integer NOT NULL,
    sale_id integer NOT NULL,
    fbr_invoice_number character varying(100) NOT NULL,
    qr_code text,
    scenario_id character varying(20),
    response_status character varying(50) DEFAULT 'success'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fbr_digital_invoices OWNER TO postgres;

--
-- Name: fbr_digital_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_digital_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_digital_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_digital_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_digital_logs (
    id integer NOT NULL,
    sale_id integer,
    scenario_id character varying(20),
    endpoint character varying(255),
    request_data text,
    response_data text,
    http_status integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fbr_digital_logs OWNER TO postgres;

--
-- Name: fbr_digital_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_digital_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_digital_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_digital_scenarios; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_digital_scenarios (
    id integer NOT NULL,
    scenario_id character varying(20) NOT NULL,
    status character varying(20) DEFAULT 'pending'::character varying,
    request_data text,
    response_data text,
    fbr_invoice_number character varying(100),
    error_message text,
    tested_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fbr_digital_scenarios OWNER TO postgres;

--
-- Name: fbr_digital_scenarios_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_digital_scenarios ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_digital_scenarios_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_invoices (
    id integer NOT NULL,
    sale_id integer NOT NULL,
    fbr_invoice_number character varying(100) NOT NULL,
    qr_code text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fbr_invoices OWNER TO postgres;

--
-- Name: fbr_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fbr_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fbr_logs (
    id integer NOT NULL,
    sale_id integer,
    response text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fbr_logs OWNER TO postgres;

--
-- Name: fbr_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fbr_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fbr_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: fiscal_period_setup; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fiscal_period_setup (
    start_year character varying(50) NOT NULL,
    start_month integer,
    start_day integer,
    month_count integer,
    open_year integer
);


ALTER TABLE public.fiscal_period_setup OWNER TO postgres;

--
-- Name: fiscal_periods; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.fiscal_periods (
    id integer NOT NULL,
    period_code character varying(50),
    period_name character varying(50) NOT NULL,
    period_year integer,
    start_date date NOT NULL,
    end_date date NOT NULL,
    is_closed boolean DEFAULT false,
    period_status character varying(50) DEFAULT 'Open'::character varying,
    closed_by integer,
    closed_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.fiscal_periods OWNER TO postgres;

--
-- Name: fiscal_periods_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.fiscal_periods ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.fiscal_periods_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: hold_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.hold_items (
    id integer NOT NULL,
    store_id integer,
    hold_id integer,
    item_id integer,
    item_name character varying(100),
    quantity numeric(12,3),
    unit_price numeric(10,2),
    original_unit_price numeric(10,2),
    discount_type character varying(255) DEFAULT 'none'::character varying NOT NULL,
    discount_value numeric(10,2) DEFAULT 0.00 NOT NULL,
    discount_per_unit numeric(10,2) DEFAULT 0.00 NOT NULL,
    discount_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    tax_rate numeric(5,2),
    modifiers text,
    remarks text,
    void_status character varying(255) DEFAULT 'active'::character varying NOT NULL,
    template_id integer,
    is_deal boolean DEFAULT false,
    deal_selections text,
    serial_ids text
);


ALTER TABLE public.hold_items OWNER TO postgres;

--
-- Name: hold_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.hold_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.hold_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: hold_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.hold_orders (
    id integer NOT NULL,
    token_number integer,
    shift_id integer,
    store_id integer,
    customer_name character varying(100),
    customer_id integer,
    table_id integer,
    order_mode character varying(50),
    rider_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_amount numeric(10,2) DEFAULT 0.00,
    discount_id integer,
    discount_type character varying(255) DEFAULT 'none'::character varying,
    discount_value numeric(10,2) DEFAULT 0.00,
    discount_amount numeric(10,2) DEFAULT 0.00,
    order_taker_id integer,
    number_of_guests integer,
    reserved_invoice_number character varying(20)
);


ALTER TABLE public.hold_orders OWNER TO postgres;

--
-- Name: hold_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.hold_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.hold_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: inventory_lots; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.inventory_lots (
    id integer NOT NULL,
    item_id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    purchase_id integer,
    purchase_item_id integer,
    lot_number character varying(50),
    expiry_date date NOT NULL,
    mfg_date date,
    qty_received numeric(12,3) NOT NULL,
    qty_on_hand numeric(12,3) NOT NULL,
    unit_cost numeric(10,2),
    status_code character varying(20) DEFAULT 'active'::character varying NOT NULL,
    remarks text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    CONSTRAINT inventory_lots_qty_on_hand_check CHECK ((qty_on_hand >= (0)::numeric)),
    CONSTRAINT inventory_lots_qty_on_hand_lte_received_check CHECK ((qty_on_hand <= qty_received)),
    CONSTRAINT inventory_lots_qty_received_check CHECK ((qty_received > (0)::numeric)),
    CONSTRAINT inventory_lots_status_code_check CHECK (((status_code)::text = ANY (ARRAY[('active'::character varying)::text, ('depleted'::character varying)::text, ('expired'::character varying)::text, ('written_off'::character varying)::text])))
);


ALTER TABLE public.inventory_lots OWNER TO postgres;

--
-- Name: TABLE inventory_lots; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON TABLE public.inventory_lots IS 'Per-batch stock for expiry-tracked items. Created on purchase; qty_on_hand reduced on sale (FEFO) in a later phase.';


--
-- Name: COLUMN inventory_lots.lot_number; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON COLUMN public.inventory_lots.lot_number IS 'Optional supplier batch / lot number from purchase.';


--
-- Name: COLUMN inventory_lots.expiry_date; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON COLUMN public.inventory_lots.expiry_date IS 'Product expiry date for this batch.';


--
-- Name: COLUMN inventory_lots.mfg_date; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON COLUMN public.inventory_lots.mfg_date IS 'Optional manufacturing date; expiry may be derived from shelf life in a later phase.';


--
-- Name: COLUMN inventory_lots.status_code; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON COLUMN public.inventory_lots.status_code IS 'active = has stock; depleted = qty 0; expired = past expiry; written_off = manual disposal.';


--
-- Name: inventory_lots_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.inventory_lots ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.inventory_lots_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: inventory_movements; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.inventory_movements (
    id integer NOT NULL,
    item_id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    movement_type character varying(255) NOT NULL,
    reference_type character varying(255) DEFAULT 'manual'::character varying,
    reference_id integer,
    quantity numeric(12,6) NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.inventory_movements OWNER TO postgres;

--
-- Name: inventory_movements_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.inventory_movements ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.inventory_movements_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_barcodes; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_barcodes (
    id integer NOT NULL,
    item_id integer NOT NULL,
    barcode character varying(100) NOT NULL,
    barcode_label character varying(100),
    is_active boolean DEFAULT true NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    scan_mode character varying(10) DEFAULT 'loose'::character varying NOT NULL
);


ALTER TABLE public.item_barcodes OWNER TO postgres;

--
-- Name: item_barcodes_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_barcodes ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_barcodes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_line_discounts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_line_discounts (
    id integer NOT NULL,
    item_id integer NOT NULL,
    discount_type character varying(255) NOT NULL,
    discount_value numeric(10,2) DEFAULT 0.00 NOT NULL,
    is_active boolean DEFAULT true NOT NULL,
    starts_at date,
    expires_at date,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public.item_line_discounts OWNER TO postgres;

--
-- Name: item_line_discounts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_line_discounts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_line_discounts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_modifier_group_assignments; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_modifier_group_assignments (
    id integer NOT NULL,
    item_id integer NOT NULL,
    modifier_group_id integer NOT NULL,
    is_required boolean DEFAULT false,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.item_modifier_group_assignments OWNER TO postgres;

--
-- Name: item_modifier_group_assignments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_modifier_group_assignments ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_modifier_group_assignments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_modifier_groups; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_modifier_groups (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    display_name character varying(100) NOT NULL,
    description text,
    is_required boolean DEFAULT false,
    is_multiple_choice boolean DEFAULT false,
    max_selections integer,
    min_selections integer DEFAULT 1,
    is_active boolean DEFAULT true,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.item_modifier_groups OWNER TO postgres;

--
-- Name: item_modifier_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_modifier_groups ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_modifier_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_modifiers; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_modifiers (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    short_name character varying(50),
    price_adjustment numeric(10,2) DEFAULT 0.00,
    cost_adjustment numeric(10,2) DEFAULT 0.00,
    is_default boolean DEFAULT false,
    is_active boolean DEFAULT true,
    sort_order integer DEFAULT 0,
    prep_time_adjustment integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.item_modifiers OWNER TO postgres;

--
-- Name: item_modifiers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_modifiers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_modifiers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_serial_transactions; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_serial_transactions (
    id bigint NOT NULL,
    serial_id bigint NOT NULL,
    item_id integer NOT NULL,
    trans_type character varying(3) NOT NULL,
    doc_type character varying(20) NOT NULL,
    doc_id bigint NOT NULL,
    header_id bigint,
    branch_id integer,
    user_id integer,
    remarks character varying(500),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public.item_serial_transactions OWNER TO postgres;

--
-- Name: item_serial_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_serial_transactions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_serial_transactions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: item_serials; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.item_serials (
    id bigint NOT NULL,
    item_id integer NOT NULL,
    serial_no character varying(191) NOT NULL,
    details text,
    cost_price numeric(10,2),
    selling_price numeric(10,2),
    warranty_name character varying(255),
    warranty_expiry date,
    status_code character varying(3) DEFAULT 'SIN'::character varying NOT NULL,
    branch_id integer,
    supplier_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public.item_serials OWNER TO postgres;

--
-- Name: item_serials_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.item_serials ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.item_serials_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.items (
    id integer NOT NULL,
    item_code character varying(50) NOT NULL,
    sku_number character varying(100) NOT NULL,
    name character varying(100) NOT NULL,
    description text,
    retail_price numeric(10,2) NOT NULL,
    wholesale_price numeric(10,2),
    cost_price numeric(10,2) NOT NULL,
    reorder_quantity integer DEFAULT 0,
    reorder_level integer DEFAULT 0,
    tax_type character varying(255) NOT NULL,
    tax_rate_id integer,
    category_id integer,
    sub_category_id integer,
    bulk_qty integer,
    bulk_price numeric(10,2),
    pkg_qty integer,
    uom_id integer NOT NULL,
    item_type character varying(255) DEFAULT 'loose'::character varying NOT NULL,
    product_image character varying(255),
    display_color character varying(50),
    item_role character varying(255) DEFAULT 'stock'::character varying NOT NULL,
    is_serialized boolean DEFAULT false NOT NULL,
    is_third_schedule boolean DEFAULT false NOT NULL,
    is_active boolean DEFAULT true NOT NULL,
    supplier_id integer,
    prep_time integer,
    fbr_uom character varying(100),
    fbr_sale_type character varying(150)
);


ALTER TABLE public.items OWNER TO postgres;

--
-- Name: items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: journal_entries; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.journal_entries (
    id integer NOT NULL,
    entry_number character varying(20) NOT NULL,
    entry_date date NOT NULL,
    period_id integer,
    transaction_date date NOT NULL,
    source_type character varying(255) NOT NULL,
    reference_id integer,
    description text,
    total_debit numeric(15,2) DEFAULT 0.00,
    total_credit numeric(15,2) DEFAULT 0.00,
    status character varying(255) DEFAULT 'draft'::character varying,
    store_id integer DEFAULT 1,
    branch_id integer DEFAULT 1 NOT NULL,
    user_id integer NOT NULL,
    posted_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.journal_entries OWNER TO postgres;

--
-- Name: journal_entries_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.journal_entries ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.journal_entries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: journal_entry_lines; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.journal_entry_lines (
    id integer NOT NULL,
    journal_entry_id integer NOT NULL,
    account_id integer NOT NULL,
    debit_amount numeric(15,2) DEFAULT 0.00,
    credit_amount numeric(15,2) DEFAULT 0.00,
    description text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.journal_entry_lines OWNER TO postgres;

--
-- Name: journal_entry_lines_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.journal_entry_lines ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.journal_entry_lines_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_activity_log; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_activity_log (
    id integer NOT NULL,
    store_id integer,
    kds_order_id integer,
    kds_order_item_id integer,
    action character varying(50) NOT NULL,
    details text,
    description text,
    user_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kds_activity_log OWNER TO postgres;

--
-- Name: kds_activity_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_activity_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_activity_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_cleanup_log; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_cleanup_log (
    id integer NOT NULL,
    cleanup_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    retention_days integer DEFAULT 7,
    orders_deleted integer DEFAULT 0,
    order_items_deleted integer DEFAULT 0,
    activity_logs_deleted integer DEFAULT 0,
    total_records_deleted integer DEFAULT 0,
    execution_time_ms integer DEFAULT 0,
    status character varying(255) DEFAULT 'success'::character varying,
    message text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kds_cleanup_log OWNER TO postgres;

--
-- Name: kds_cleanup_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_cleanup_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_cleanup_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_order_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_order_items (
    id integer NOT NULL,
    store_id integer,
    kds_order_id integer NOT NULL,
    sale_item_id integer NOT NULL,
    hold_item_id integer,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_price numeric(10,2) NOT NULL,
    total_price numeric(10,2) NOT NULL,
    item_status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
    special_instructions text,
    preparation_notes text,
    prepared_at timestamp without time zone,
    served_at timestamp without time zone,
    prepared_by integer,
    served_by integer,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    item_status_type character varying(255) DEFAULT 'original'::character varying,
    served_quantity numeric(12,3) DEFAULT 0.000,
    total_quantity numeric(12,3) DEFAULT 0.000
);


ALTER TABLE public.kds_order_items OWNER TO postgres;

--
-- Name: kds_order_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_order_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_order_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_orders (
    id integer NOT NULL,
    store_id integer,
    sale_id integer NOT NULL,
    hold_id integer,
    invoice_number character varying(50) NOT NULL,
    order_number character varying(50) NOT NULL,
    table_number character varying(20),
    customer_name character varying(100),
    order_type character varying(255) DEFAULT 'dine_in'::character varying NOT NULL,
    order_status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
    priority character varying(255) DEFAULT 'normal'::character varying NOT NULL,
    estimated_time integer,
    notes text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    prepared_at timestamp without time zone,
    served_at timestamp without time zone,
    created_by integer,
    prepared_by integer,
    served_by integer,
    order_taker_id integer,
    order_sequence integer DEFAULT 1,
    parent_order_id integer
);


ALTER TABLE public.kds_orders OWNER TO postgres;

--
-- Name: kds_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_settings; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_settings (
    id integer NOT NULL,
    store_id integer,
    setting_key character varying(100) NOT NULL,
    setting_value text,
    description text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kds_settings OWNER TO postgres;

--
-- Name: kds_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_settings ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_station_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_station_items (
    id integer NOT NULL,
    store_id integer,
    station_id integer NOT NULL,
    item_id integer NOT NULL,
    preparation_time integer,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kds_station_items OWNER TO postgres;

--
-- Name: kds_station_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_station_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_station_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kds_stations; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kds_stations (
    id integer NOT NULL,
    store_id integer,
    name character varying(100) NOT NULL,
    description text,
    printer_id integer,
    enable_kot_print boolean DEFAULT true,
    color character varying(7) DEFAULT '#007bff'::character varying,
    is_active boolean DEFAULT true,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    preparation_time integer DEFAULT 10
);


ALTER TABLE public.kds_stations OWNER TO postgres;

--
-- Name: kds_stations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kds_stations ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kds_stations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kpra_config; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kpra_config (
    id integer NOT NULL,
    is_enabled boolean DEFAULT false,
    key character varying(255),
    pos_id character varying(100),
    business_id character varying(50),
    api_url character varying(255) DEFAULT 'http://kpra.gov.pk/rims/integration/'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kpra_config OWNER TO postgres;

--
-- Name: kpra_config_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kpra_config ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kpra_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kpra_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kpra_invoices (
    id integer NOT NULL,
    sale_id integer NOT NULL,
    kpra_invoice_number character varying(100) NOT NULL,
    qr_code_url text,
    qr_code_image text,
    response_status character varying(10),
    response_message text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kpra_invoices OWNER TO postgres;

--
-- Name: kpra_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kpra_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kpra_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: kpra_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.kpra_logs (
    id integer NOT NULL,
    sale_id integer,
    request_data text,
    response_data text,
    status_code character varying(10),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.kpra_logs OWNER TO postgres;

--
-- Name: kpra_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.kpra_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.kpra_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: languages; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.languages (
    id integer NOT NULL,
    code character varying(5) NOT NULL,
    name character varying(50) NOT NULL,
    native_name character varying(50) NOT NULL,
    flag character varying(100),
    rtl boolean DEFAULT false,
    active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.languages OWNER TO postgres;

--
-- Name: languages_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.languages ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.languages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: line_discount_rules; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.line_discount_rules (
    id integer NOT NULL,
    scope_type character varying(20) NOT NULL,
    scope_id integer NOT NULL,
    discount_type character varying(20) DEFAULT 'percent'::character varying NOT NULL,
    discount_value numeric(10,2) DEFAULT 0.00 NOT NULL,
    is_active boolean DEFAULT true NOT NULL,
    starts_at date,
    expires_at date,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    CONSTRAINT line_discount_rules_discount_type_check CHECK (((discount_type)::text = ANY (ARRAY[('percent'::character varying)::text, ('fixed'::character varying)::text]))),
    CONSTRAINT line_discount_rules_scope_type_check CHECK (((scope_type)::text = ANY (ARRAY[('category'::character varying)::text, ('sub_category'::character varying)::text])))
);


ALTER TABLE public.line_discount_rules OWNER TO postgres;

--
-- Name: TABLE line_discount_rules; Type: COMMENT; Schema: public; Owner: postgres
--

COMMENT ON TABLE public.line_discount_rules IS 'Default POS line discounts by product category or sub-category. Item-specific rules stay in item_line_discounts. Precedence: item > sub_category > category.';


--
-- Name: line_discount_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.line_discount_rules ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.line_discount_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: modifier_group_assignments; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.modifier_group_assignments (
    id integer NOT NULL,
    modifier_id integer NOT NULL,
    modifier_group_id integer NOT NULL,
    is_required boolean DEFAULT false,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.modifier_group_assignments OWNER TO postgres;

--
-- Name: modifier_group_assignments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.modifier_group_assignments ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.modifier_group_assignments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: modifier_template_options; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.modifier_template_options (
    id integer NOT NULL,
    template_id integer NOT NULL,
    name character varying(100) NOT NULL,
    price_adjustment numeric(10,2) DEFAULT 0.00,
    is_active boolean DEFAULT true,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.modifier_template_options OWNER TO postgres;

--
-- Name: modifier_template_options_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.modifier_template_options ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.modifier_template_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: modifier_templates; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.modifier_templates (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    icon character varying(50) DEFAULT 'layers'::character varying,
    is_active boolean DEFAULT true,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.modifier_templates OWNER TO postgres;

--
-- Name: modifier_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.modifier_templates ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.modifier_templates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: order_takers; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.order_takers (
    id integer NOT NULL,
    assigned_store_id integer,
    name character varying(100) NOT NULL,
    employee_id character varying(50),
    phone character varying(20),
    email character varying(100),
    commission_rate numeric(5,2) DEFAULT 0.00,
    password character varying(255) NOT NULL,
    user_id integer,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.order_takers OWNER TO postgres;

--
-- Name: order_takers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.order_takers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.order_takers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: payment_method_tax_rates; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.payment_method_tax_rates (
    id integer NOT NULL,
    payment_method character varying(50) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00 NOT NULL,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.payment_method_tax_rates OWNER TO postgres;

--
-- Name: payment_method_tax_rates_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.payment_method_tax_rates ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.payment_method_tax_rates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: payment_methods; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.payment_methods (
    id integer NOT NULL,
    method_name character varying(50) NOT NULL,
    display_name character varying(100),
    icon_class character varying(50),
    color_class character varying(50),
    is_active boolean DEFAULT true,
    requires_bank_account boolean DEFAULT false,
    sort_order integer DEFAULT 0,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.payment_methods OWNER TO postgres;

--
-- Name: payment_methods_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.payment_methods ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.payment_methods_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: price_history; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.price_history (
    id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    vendor_id integer,
    old_cost_price numeric(10,2),
    new_cost_price numeric(10,2),
    old_retail_price numeric(10,2),
    new_retail_price numeric(10,2),
    changed_by character varying(100),
    changed_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.price_history OWNER TO postgres;

--
-- Name: price_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.price_history ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.price_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: print_devices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.print_devices (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    connection_type character varying(255) NOT NULL,
    print_type character varying(255) DEFAULT 'all'::character varying,
    terminal_id integer,
    printer_name character varying(100),
    printer_type character varying(255) DEFAULT 'thermal'::character varying,
    print_mode character varying(255) DEFAULT 'auto'::character varying,
    copies integer DEFAULT 1 NOT NULL,
    ip_address character varying(100),
    is_active boolean DEFAULT true,
    is_default boolean DEFAULT false,
    auto_detect boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.print_devices OWNER TO postgres;

--
-- Name: print_devices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.print_devices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.print_devices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: production_cost_lines; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.production_cost_lines (
    id integer NOT NULL,
    production_item_id integer NOT NULL,
    cost_type character varying(255) DEFAULT 'other'::character varying NOT NULL,
    description character varying(255),
    quantity numeric(12,4),
    unit_rate numeric(12,4),
    amount numeric(12,2) DEFAULT 0.00 NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.production_cost_lines OWNER TO postgres;

--
-- Name: production_cost_lines_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.production_cost_lines ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.production_cost_lines_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: production_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.production_items (
    id integer NOT NULL,
    production_order_id integer NOT NULL,
    material_store_id integer,
    finish_store_id integer,
    item_id integer NOT NULL,
    quantity numeric(10,2) NOT NULL,
    unit_cost numeric(10,2) DEFAULT 0.00,
    total_cost numeric(10,2) DEFAULT 0.00,
    status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.production_items OWNER TO postgres;

--
-- Name: production_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.production_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.production_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: production_materials; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.production_materials (
    id integer NOT NULL,
    production_item_id integer NOT NULL,
    material_item_id integer NOT NULL,
    quantity_consumed numeric(10,2) NOT NULL,
    unit_cost numeric(10,2) DEFAULT 0.00,
    total_cost numeric(10,2) DEFAULT 0.00,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.production_materials OWNER TO postgres;

--
-- Name: production_materials_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.production_materials ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.production_materials_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: production_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.production_orders (
    id integer NOT NULL,
    order_number character varying(50) NOT NULL,
    production_date date NOT NULL,
    status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
    remarks text,
    total_cost numeric(10,2) DEFAULT 0.00,
    created_by integer NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.production_orders OWNER TO postgres;

--
-- Name: production_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.production_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.production_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchase_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchase_items (
    id integer NOT NULL,
    store_id integer,
    purchase_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_cost numeric(10,2) NOT NULL,
    total_cost numeric(10,2) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00
);


ALTER TABLE public.purchase_items OWNER TO postgres;

--
-- Name: purchase_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchase_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchase_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchase_order_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchase_order_items (
    id integer NOT NULL,
    purchase_order_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    quantity_loose numeric(12,3) DEFAULT 0.000 NOT NULL,
    unit_cost numeric(10,2) NOT NULL,
    retail_price numeric(10,2) DEFAULT 0.00 NOT NULL,
    total_cost numeric(10,2) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00,
    purchase_mode character varying(10) DEFAULT 'loose'::character varying NOT NULL,
    bulk_base_qty numeric(12,3) DEFAULT 0.000 NOT NULL
);


ALTER TABLE public.purchase_order_items OWNER TO postgres;

--
-- Name: purchase_order_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchase_order_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchase_order_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchase_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchase_orders (
    id integer NOT NULL,
    po_number character varying(50) NOT NULL,
    vendor_id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    po_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    tax_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    discount_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    net_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    notes text,
    status character varying(20) DEFAULT 'pending'::character varying NOT NULL,
    converted_purchase_id integer,
    converted_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.purchase_orders OWNER TO postgres;

--
-- Name: purchase_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchase_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchase_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchase_return_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchase_return_items (
    id integer NOT NULL,
    purchase_return_id integer NOT NULL,
    item_id integer NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_cost numeric(10,2) NOT NULL,
    total_cost numeric(10,2) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00
);


ALTER TABLE public.purchase_return_items OWNER TO postgres;

--
-- Name: purchase_return_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchase_return_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchase_return_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchase_returns; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchase_returns (
    id integer NOT NULL,
    store_id integer,
    purchase_id integer,
    vendor_id integer NOT NULL,
    return_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_amount numeric(10,2) NOT NULL,
    remarks character varying(255),
    customer_remarks character varying(255),
    created_by integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.purchase_returns OWNER TO postgres;

--
-- Name: purchase_returns_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchase_returns ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchase_returns_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: purchases; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.purchases (
    id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    purchase_number character varying(50) NOT NULL,
    vendor_id integer NOT NULL,
    purchase_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_amount numeric(10,2) NOT NULL,
    tax_amount numeric(10,2) DEFAULT 0.00,
    discount_amount numeric(10,2) DEFAULT 0.00,
    net_amount numeric(10,2) NOT NULL,
    payment_method character varying(255) DEFAULT 'cash'::character varying,
    status character varying(20) DEFAULT 'pending'::character varying,
    source_po_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    advance_tax_rate numeric(5,2) DEFAULT 0.00 NOT NULL,
    advance_tax_amount numeric(10,2) DEFAULT 0.00 NOT NULL
);


ALTER TABLE public.purchases OWNER TO postgres;

--
-- Name: purchases_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.purchases ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.purchases_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: quotation_drafts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.quotation_drafts (
    id integer NOT NULL,
    user_id integer NOT NULL,
    store_id integer NOT NULL,
    payload text NOT NULL,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.quotation_drafts OWNER TO postgres;

--
-- Name: quotation_drafts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.quotation_drafts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.quotation_drafts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: quotation_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.quotation_items (
    id integer NOT NULL,
    quotation_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_price numeric(10,2) NOT NULL,
    total_price numeric(10,2) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00,
    line_discount_percent numeric(5,2) DEFAULT 0.00 NOT NULL,
    remarks text
);


ALTER TABLE public.quotation_items OWNER TO postgres;

--
-- Name: quotation_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.quotation_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.quotation_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: quotations; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.quotations (
    id integer NOT NULL,
    store_id integer,
    quotation_number character varying(50) NOT NULL,
    customer_id integer,
    customer_name character varying(100),
    quotation_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    subtotal numeric(10,2) DEFAULT 0.00 NOT NULL,
    tax_amount numeric(10,2) DEFAULT 0.00,
    discount_amount numeric(10,2) DEFAULT 0.00,
    net_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    status character varying(255) DEFAULT 'draft'::character varying,
    remarks text,
    created_by integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.quotations OWNER TO postgres;

--
-- Name: quotations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.quotations ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.quotations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: rights; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.rights (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    description text,
    category character varying(100)
);


ALTER TABLE public.rights OWNER TO postgres;

--
-- Name: rights_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.rights ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.rights_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: role_rights; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.role_rights (
    role_id integer NOT NULL,
    right_id integer NOT NULL
);


ALTER TABLE public.role_rights OWNER TO postgres;

--
-- Name: roles; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.roles (
    id integer NOT NULL,
    name character varying(100) NOT NULL
);


ALTER TABLE public.roles OWNER TO postgres;

--
-- Name: roles_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.roles ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.roles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sale_item_modifiers; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sale_item_modifiers (
    id integer NOT NULL,
    sale_item_id integer NOT NULL,
    modifier_id integer NOT NULL,
    modifier_group_id integer NOT NULL,
    modifier_name character varying(100) NOT NULL,
    price_adjustment numeric(10,2) DEFAULT 0.00,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.sale_item_modifiers OWNER TO postgres;

--
-- Name: sale_item_modifiers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sale_item_modifiers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sale_item_modifiers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sale_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sale_items (
    id integer NOT NULL,
    store_id integer,
    sale_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_price numeric(10,2) NOT NULL,
    original_unit_price numeric(10,2),
    total_price numeric(10,2) NOT NULL,
    discount_type character varying(255) DEFAULT 'none'::character varying NOT NULL,
    discount_value numeric(10,2) DEFAULT 0.00 NOT NULL,
    discount_per_unit numeric(10,2) DEFAULT 0.00 NOT NULL,
    discount_amount numeric(10,2) DEFAULT 0.00 NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00,
    remarks text,
    is_deal boolean DEFAULT false,
    deal_selections text
);


ALTER TABLE public.sale_items OWNER TO postgres;

--
-- Name: sale_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sale_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sale_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sale_return_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sale_return_items (
    id integer NOT NULL,
    sale_return_id integer NOT NULL,
    item_id integer NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_price numeric(10,2) NOT NULL,
    total_price numeric(10,2) NOT NULL,
    tax_rate numeric(5,2) DEFAULT 0.00
);


ALTER TABLE public.sale_return_items OWNER TO postgres;

--
-- Name: sale_return_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sale_return_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sale_return_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sale_returns; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sale_returns (
    id integer NOT NULL,
    store_id integer,
    sale_id integer,
    return_source character varying(20) DEFAULT 'invoice'::character varying NOT NULL,
    customer_id integer NOT NULL,
    return_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_amount numeric(10,2) NOT NULL,
    remarks character varying(255),
    customer_remarks character varying(255),
    payment_method character varying(255) DEFAULT 'cash'::character varying,
    bank_account_id integer,
    created_by integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.sale_returns OWNER TO postgres;

--
-- Name: sale_returns_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sale_returns ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sale_returns_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sales; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sales (
    id integer NOT NULL,
    terminal_id integer,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    invoice_number character varying(50) NOT NULL,
    sale_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    customer_name character varying(100),
    customer_id integer,
    total_amount numeric(10,2) NOT NULL,
    tax_amount numeric(10,2) DEFAULT 0.00,
    discount_amount numeric(10,2) DEFAULT 0.00,
    withholding_amount numeric(10,2) DEFAULT 0.00,
    discount_id integer,
    net_amount numeric(10,2) NOT NULL,
    payment_method character varying(50) DEFAULT 'cash'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    shift_id integer,
    is_fbr_enabled boolean DEFAULT false,
    is_kpra_enabled boolean DEFAULT false,
    zatca_phase2_invoice_id bigint,
    table_id integer,
    order_mode character varying(50),
    discount_type character varying(255),
    discount_value numeric(10,2) DEFAULT 0.00,
    service_charges numeric(10,2) DEFAULT 0.00,
    tip_amount numeric(10,2) DEFAULT 0.00,
    order_taker_id integer,
    number_of_guests integer,
    void_id integer
);


ALTER TABLE public.sales OWNER TO postgres;

--
-- Name: sales_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sales ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sales_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: setting_categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.setting_categories (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    code character varying(50) NOT NULL
);


ALTER TABLE public.setting_categories OWNER TO postgres;

--
-- Name: setting_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.setting_categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.setting_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: setting_options; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.setting_options (
    id integer NOT NULL,
    setting_id integer NOT NULL,
    option_label character varying(100),
    option_value character varying(100)
);


ALTER TABLE public.setting_options OWNER TO postgres;

--
-- Name: setting_options_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.setting_options ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.setting_options_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: settings; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.settings (
    id integer NOT NULL,
    store_id integer,
    category_id integer NOT NULL,
    name character varying(100) NOT NULL,
    code character varying(100) NOT NULL,
    type character varying(255),
    value text,
    default_value text,
    description text,
    is_active boolean DEFAULT true
);


ALTER TABLE public.settings OWNER TO postgres;

--
-- Name: settings_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.settings ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: shift_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shift_logs (
    id integer NOT NULL,
    store_id integer,
    shift_id integer NOT NULL,
    action_type character varying(255) NOT NULL,
    amount numeric(10,2) DEFAULT 0.00,
    note text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.shift_logs OWNER TO postgres;

--
-- Name: shift_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.shift_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.shift_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: shifts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shifts (
    id integer NOT NULL,
    store_id integer,
    branch_id integer DEFAULT 1 NOT NULL,
    user_id integer NOT NULL,
    start_time timestamp without time zone NOT NULL,
    end_time timestamp without time zone,
    opening_cash numeric(10,2) DEFAULT 0.00,
    closing_cash numeric(10,2) DEFAULT 0.00,
    expected_cash numeric(10,2) DEFAULT 0.00,
    actual_cash numeric(10,2) DEFAULT 0.00,
    discrepancy numeric(10,2) DEFAULT 0.00,
    status character varying(255) DEFAULT 'open'::character varying
);


ALTER TABLE public.shifts OWNER TO postgres;

--
-- Name: shifts_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.shifts ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.shifts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: site_installation; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.site_installation (
    id integer NOT NULL,
    installation_role character varying(20) DEFAULT 'branch_server'::character varying NOT NULL,
    license_key character varying(100),
    machine_id character varying(255),
    last_verified_at timestamp without time zone,
    license_cache text,
    license_type character varying(20),
    setup_completed_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT site_installation_role_chk CHECK (((installation_role)::text = ANY ((ARRAY['branch_server'::character varying, 'cloud_hub'::character varying])::text[])))
);


ALTER TABLE public.site_installation OWNER TO postgres;

--
-- Name: site_installation_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

CREATE SEQUENCE public.site_installation_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.site_installation_id_seq OWNER TO postgres;

--
-- Name: site_installation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--

ALTER SEQUENCE public.site_installation_id_seq OWNED BY public.site_installation.id;


--
-- Name: stock_adjustment_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.stock_adjustment_items (
    id integer NOT NULL,
    adjustment_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    current_quantity numeric(12,6) NOT NULL,
    adjustment_quantity numeric(12,6) NOT NULL,
    new_quantity numeric(12,6) NOT NULL,
    cost_price numeric(10,2) NOT NULL,
    current_stock_value numeric(12,2) NOT NULL,
    adjustment_value numeric(12,2) NOT NULL,
    new_stock_value numeric(12,2) NOT NULL
);


ALTER TABLE public.stock_adjustment_items OWNER TO postgres;

--
-- Name: stock_adjustment_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.stock_adjustment_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.stock_adjustment_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: stock_adjustments; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.stock_adjustments (
    id integer NOT NULL,
    adjustment_number character varying(50) NOT NULL,
    store_id integer NOT NULL,
    adjustment_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_items integer DEFAULT 0,
    total_adjustment_value numeric(12,2) DEFAULT 0.00,
    total_current_stock_value numeric(12,2) DEFAULT 0.00,
    total_new_stock_value numeric(12,2) DEFAULT 0.00,
    remarks text,
    created_by integer NOT NULL,
    journal_entry_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.stock_adjustments OWNER TO postgres;

--
-- Name: stock_adjustments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.stock_adjustments ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.stock_adjustments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: stock_transfer_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.stock_transfer_items (
    id integer NOT NULL,
    to_store_id integer,
    from_store_id integer,
    transfer_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(100) NOT NULL,
    quantity numeric(12,6) NOT NULL,
    cost_price numeric(10,2),
    remarks text
);


ALTER TABLE public.stock_transfer_items OWNER TO postgres;

--
-- Name: stock_transfer_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.stock_transfer_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.stock_transfer_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: stock_transfers; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.stock_transfers (
    id integer NOT NULL,
    transfer_number character varying(50) NOT NULL,
    from_store_id integer NOT NULL,
    to_store_id integer NOT NULL,
    transfer_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    status character varying(255) DEFAULT 'pending'::character varying,
    total_items integer DEFAULT 0,
    total_quantity numeric(12,6) DEFAULT 0.000000,
    notes text,
    requested_by integer,
    approved_by integer,
    received_by integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.stock_transfers OWNER TO postgres;

--
-- Name: stock_transfers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.stock_transfers ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.stock_transfers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: store_inventory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.store_inventory (
    id integer NOT NULL,
    store_id integer NOT NULL,
    item_id integer NOT NULL,
    quantity numeric(12,6) DEFAULT 0.000000,
    last_updated timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.store_inventory OWNER TO postgres;

--
-- Name: store_inventory_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.store_inventory ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.store_inventory_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: stores; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.stores (
    id integer NOT NULL,
    branch_id integer DEFAULT 1 NOT NULL,
    store_name character varying(100) NOT NULL,
    store_code character varying(20) NOT NULL,
    address text,
    phone character varying(20),
    email character varying(100),
    manager_name character varying(100),
    is_active boolean DEFAULT true,
    is_default boolean DEFAULT false,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.stores OWNER TO postgres;

--
-- Name: stores_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.stores ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.stores_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sub_categories; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sub_categories (
    id integer NOT NULL,
    category_id integer NOT NULL,
    name character varying(100) NOT NULL,
    display_color character varying(50)
);


ALTER TABLE public.sub_categories OWNER TO postgres;

--
-- Name: sub_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sub_categories ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sub_categories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: subscription_plans; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.subscription_plans (
    id integer NOT NULL,
    store_id integer,
    name character varying(100) NOT NULL,
    billing_interval character varying(255) NOT NULL,
    is_active boolean DEFAULT true NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.subscription_plans OWNER TO postgres;

--
-- Name: subscription_plans_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.subscription_plans ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.subscription_plans_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sup_outstanding; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sup_outstanding (
    id integer NOT NULL,
    purchase_id integer,
    vendor_id integer NOT NULL,
    amount numeric(10,2) NOT NULL,
    status character varying(255) DEFAULT 'unpaid'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.sup_outstanding OWNER TO postgres;

--
-- Name: sup_outstanding_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sup_outstanding ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sup_outstanding_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sup_payments; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sup_payments (
    id integer NOT NULL,
    store_id integer,
    vendor_id integer NOT NULL,
    purchase_id integer,
    balance_entry_id integer,
    amount_paid numeric(10,2) NOT NULL,
    discount_amount numeric(10,2) DEFAULT 0.00,
    withholding_rate numeric(5,2) DEFAULT 0.00,
    withholding_amount numeric(10,2) DEFAULT 0.00,
    gross_settlement_amount numeric(10,2) DEFAULT 0.00,
    net_cash_paid numeric(10,2) DEFAULT 0.00,
    payment_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    remarks character varying(255)
);


ALTER TABLE public.sup_payments OWNER TO postgres;

--
-- Name: sup_payments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sup_payments ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sup_payments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: supplier_balance_entries; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.supplier_balance_entries (
    id integer NOT NULL,
    entry_number character varying(30) NOT NULL,
    vendor_id integer NOT NULL,
    store_id integer DEFAULT 1,
    entry_type character varying(255) DEFAULT 'payable'::character varying NOT NULL,
    amount numeric(12,2) NOT NULL,
    remaining_amount numeric(12,2) NOT NULL,
    reference_no character varying(50),
    remarks character varying(255),
    map_account_id integer,
    journal_entry_id integer,
    status character varying(255) DEFAULT 'posted'::character varying NOT NULL,
    created_by integer NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.supplier_balance_entries OWNER TO postgres;

--
-- Name: supplier_balance_entries_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.supplier_balance_entries ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.supplier_balance_entries_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: sync_settings; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.sync_settings (
    id integer NOT NULL,
    sync_allow boolean DEFAULT false,
    db_prefix character varying(50),
    sync_mode character varying(255) DEFAULT 'HO'::character varying,
    server_name character varying(100),
    database_name character varying(100),
    username character varying(100),
    password character varying(255),
    last_sync_date timestamp without time zone,
    sync_status character varying(255) DEFAULT 'pending'::character varying,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    is_cloud_hub boolean DEFAULT false
);


ALTER TABLE public.sync_settings OWNER TO postgres;

--
-- Name: sync_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.sync_settings ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.sync_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: table_transfer_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.table_transfer_logs (
    id integer NOT NULL,
    source_table_id integer,
    target_table_id integer,
    hold_order_id integer,
    transferred_by integer,
    transfer_type character varying(255) DEFAULT 'transfer'::character varying NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.table_transfer_logs OWNER TO postgres;

--
-- Name: table_transfer_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.table_transfer_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.table_transfer_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: tax_rates; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.tax_rates (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    rate numeric(5,2) NOT NULL
);


ALTER TABLE public.tax_rates OWNER TO postgres;

--
-- Name: tax_rates_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.tax_rates ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.tax_rates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: terminals; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.terminals (
    id integer NOT NULL,
    terminal_name character varying(100) NOT NULL,
    computer_name character varying(100),
    ip_address character varying(50),
    terminal_type character varying(50) DEFAULT 'POS'::character varying,
    branch_id integer,
    store_id integer,
    description text,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp without time zone
);


ALTER TABLE public.terminals OWNER TO postgres;

--
-- Name: terminals_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.terminals ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.terminals_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: translations; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.translations (
    id integer NOT NULL,
    language_code character varying(5) NOT NULL,
    key character varying(255) NOT NULL,
    value text NOT NULL,
    context character varying(100),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.translations OWNER TO postgres;

--
-- Name: translations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.translations ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.translations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: uom_groups; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.uom_groups (
    id integer NOT NULL,
    code character varying(10) NOT NULL,
    name character varying(50) NOT NULL
);


ALTER TABLE public.uom_groups OWNER TO postgres;

--
-- Name: uom_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.uom_groups ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.uom_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: uoms; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.uoms (
    id integer NOT NULL,
    name character varying(50) NOT NULL,
    symbol character varying(10) NOT NULL,
    group_id integer NOT NULL,
    base_quantity numeric(10,4) DEFAULT 1.0000,
    is_base boolean DEFAULT false
);


ALTER TABLE public.uoms OWNER TO postgres;

--
-- Name: uoms_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.uoms ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.uoms_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: user_language_preferences; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.user_language_preferences (
    id integer NOT NULL,
    user_id integer NOT NULL,
    language_code character varying(5) NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.user_language_preferences OWNER TO postgres;

--
-- Name: user_language_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.user_language_preferences ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.user_language_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: users; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.users (
    id integer NOT NULL,
    assigned_store_id integer,
    default_branch_id integer DEFAULT 1 NOT NULL,
    username character varying(100) NOT NULL,
    email character varying(100),
    password character varying(255),
    role_id integer,
    is_active boolean DEFAULT true,
    last_login timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    pin character varying(10),
    profile_picture character varying(255),
    pin_required_for_void boolean DEFAULT true,
    pin_login_enabled boolean DEFAULT false NOT NULL,
    cash_access boolean DEFAULT true NOT NULL
);


ALTER TABLE public.users OWNER TO postgres;

--
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.users ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: vendors; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.vendors (
    id integer NOT NULL,
    primary_store_id integer,
    name character varying(100) NOT NULL,
    contact_number character varying(20),
    email character varying(100),
    address text,
    is_active boolean DEFAULT true NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.vendors OWNER TO postgres;

--
-- Name: vendors_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.vendors ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.vendors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: video_help; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.video_help (
    id integer NOT NULL,
    page_name character varying(100) NOT NULL,
    page_title character varying(255) NOT NULL,
    video_url text NOT NULL,
    video_title character varying(255) NOT NULL,
    description text,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.video_help OWNER TO postgres;

--
-- Name: video_help_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.video_help ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.video_help_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: void_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.void_items (
    id integer NOT NULL,
    source_type character varying(255) NOT NULL,
    source_id integer NOT NULL,
    hold_item_id integer,
    sale_item_id integer,
    item_id integer NOT NULL,
    item_name character varying(255) NOT NULL,
    quantity numeric(12,3) NOT NULL,
    unit_price numeric(10,2) NOT NULL,
    tax_rate numeric(6,2),
    modifiers jsonb,
    remarks character varying(500),
    void_reason_id integer NOT NULL,
    voided_by integer NOT NULL,
    voided_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public.void_items OWNER TO postgres;

--
-- Name: void_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.void_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.void_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: void_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.void_orders (
    id integer NOT NULL,
    store_id integer,
    sale_id integer NOT NULL,
    void_reason_id integer NOT NULL,
    voided_by integer NOT NULL,
    voided_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    notes text,
    original_amount numeric(10,2)
);


ALTER TABLE public.void_orders OWNER TO postgres;

--
-- Name: void_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.void_orders ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.void_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: void_reasons; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.void_reasons (
    id integer NOT NULL,
    reason_name character varying(100) NOT NULL,
    description text,
    is_active boolean DEFAULT true,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.void_reasons OWNER TO postgres;

--
-- Name: void_reasons_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.void_reasons ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.void_reasons_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: warranties; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.warranties (
    id integer NOT NULL,
    name character varying(100) NOT NULL,
    months integer DEFAULT 0 NOT NULL,
    days integer DEFAULT 0 NOT NULL,
    is_active boolean DEFAULT true NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL
);


ALTER TABLE public.warranties OWNER TO postgres;

--
-- Name: warranties_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.warranties ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.warranties_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: wastage; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.wastage (
    id integer NOT NULL,
    wastage_number character varying(50) NOT NULL,
    store_id integer NOT NULL,
    branch_id integer DEFAULT 1 NOT NULL,
    wastage_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    total_items integer DEFAULT 0,
    total_wastage_value numeric(12,2) DEFAULT 0.00,
    remarks text,
    created_by integer NOT NULL,
    journal_entry_id integer,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.wastage OWNER TO postgres;

--
-- Name: wastage_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.wastage ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.wastage_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: wastage_items; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.wastage_items (
    id integer NOT NULL,
    wastage_id integer NOT NULL,
    item_id integer NOT NULL,
    item_name character varying(255) NOT NULL,
    quantity numeric(12,6) NOT NULL,
    cost_price numeric(12,4) DEFAULT 0.0000 NOT NULL,
    line_value numeric(12,2) NOT NULL,
    loss_reason character varying(100)
);


ALTER TABLE public.wastage_items OWNER TO postgres;

--
-- Name: wastage_items_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.wastage_items ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.wastage_items_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_config; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_config (
    id integer NOT NULL,
    is_enabled boolean DEFAULT false,
    invoice_format character varying(255) DEFAULT 'pdf'::character varying,
    qr_code_size integer DEFAULT 150,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_config OWNER TO postgres;

--
-- Name: zatca_config_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_config ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_config_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_invoices (
    id integer NOT NULL,
    sale_id integer NOT NULL,
    invoice_number character varying(100) NOT NULL,
    invoice_type character varying(255) DEFAULT 'simplified'::character varying,
    invoice_date timestamp without time zone NOT NULL,
    seller_vat character varying(50),
    buyer_vat character varying(50),
    buyer_name character varying(255),
    total_amount numeric(10,2) NOT NULL,
    tax_amount numeric(10,2) NOT NULL,
    amount_excluding_tax numeric(10,2) NOT NULL,
    qr_code_data text,
    qr_code_image_url text,
    invoice_data text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_invoices OWNER TO postgres;

--
-- Name: zatca_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_api_logs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_api_logs (
    id bigint NOT NULL,
    zatca_phase2_invoice_id bigint,
    endpoint character varying(255) NOT NULL,
    http_method character varying(10) DEFAULT 'POST'::character varying NOT NULL,
    request_headers text,
    request_body text,
    response_status integer,
    response_headers text,
    response_body text,
    duration_ms integer,
    correlation_id character varying(255),
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_api_logs OWNER TO postgres;

--
-- Name: zatca_phase2_api_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_api_logs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_api_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_certificates; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_certificates (
    id bigint NOT NULL,
    store_id integer,
    environment character varying(255) DEFAULT 'sandbox'::character varying NOT NULL,
    device_identifier character varying(150),
    certificate_type character varying(255) DEFAULT 'compliance_csid'::character varying NOT NULL,
    certificate_serial character varying(255),
    issuer_dn text,
    subject_dn text,
    valid_from timestamp without time zone,
    valid_to timestamp without time zone,
    csr_pem text,
    certificate_pem text,
    private_key_ref character varying(255),
    fingerprint_sha256 character varying(128),
    is_active boolean DEFAULT false NOT NULL,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_certificates OWNER TO postgres;

--
-- Name: zatca_phase2_certificates_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_certificates ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_certificates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_device_state; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_device_state (
    id bigint NOT NULL,
    store_id integer NOT NULL,
    terminal_id integer,
    device_identifier character varying(150) NOT NULL,
    last_icv bigint DEFAULT 0 NOT NULL,
    last_invoice_uuid character(36),
    last_invoice_hash character varying(512),
    last_submission_at timestamp without time zone,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_device_state OWNER TO postgres;

--
-- Name: zatca_phase2_device_state_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_device_state ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_device_state_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_invoices; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_invoices (
    id bigint NOT NULL,
    sale_id integer NOT NULL,
    invoice_number character varying(100) NOT NULL,
    invoice_type character varying(255) DEFAULT 'simplified'::character varying NOT NULL,
    uuid character(36) NOT NULL,
    icv bigint,
    previous_invoice_hash character varying(512),
    invoice_hash character varying(512),
    unsigned_xml text,
    signed_xml text,
    canonical_xml_hash character varying(512),
    qr_tlv_base64 text,
    authority_submission_type character varying(255),
    authority_invoice_ref character varying(255),
    authority_status character varying(50),
    authority_response_code character varying(50),
    authority_response_message text,
    status character varying(255) DEFAULT 'draft'::character varying NOT NULL,
    retry_count integer DEFAULT 0 NOT NULL,
    next_retry_at timestamp without time zone,
    last_error_at timestamp without time zone,
    last_error_message text,
    submitted_at timestamp without time zone,
    cleared_at timestamp without time zone,
    reported_at timestamp without time zone,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_invoices OWNER TO postgres;

--
-- Name: zatca_phase2_invoices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_invoices ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_invoices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_jobs; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_jobs (
    id bigint NOT NULL,
    zatca_phase2_invoice_id bigint NOT NULL,
    job_type character varying(255) NOT NULL,
    status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
    attempt_count integer DEFAULT 0 NOT NULL,
    max_attempts integer DEFAULT 8 NOT NULL,
    run_after timestamp without time zone,
    locked_at timestamp without time zone,
    locked_by character varying(100),
    last_error text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
    updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_jobs OWNER TO postgres;

--
-- Name: zatca_phase2_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_jobs ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_jobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: zatca_phase2_status_history; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.zatca_phase2_status_history (
    id bigint NOT NULL,
    zatca_phase2_invoice_id bigint NOT NULL,
    from_status character varying(50),
    to_status character varying(50) NOT NULL,
    event_source character varying(255) DEFAULT 'system'::character varying NOT NULL,
    reason_code character varying(100),
    reason_message text,
    created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
);


ALTER TABLE public.zatca_phase2_status_history OWNER TO postgres;

--
-- Name: zatca_phase2_status_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.zatca_phase2_status_history ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.zatca_phase2_status_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: site_installation id; Type: DEFAULT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.site_installation ALTER COLUMN id SET DEFAULT nextval('public.site_installation_id_seq'::regclass);


--
-- Data for Name: account_mappings; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_mappings (id, mapping_code, mapping_name, account_id, description, is_active, created_at, updated_at) FROM stdin;
1	rev_Sale	Sales Revenue	1	Primary sales income	t	2025-11-05 22:16:22	2025-11-05 22:16:22
2	rev_Service	Service Income	2	Service-related income	t	2025-11-05 22:16:22	2025-11-05 22:16:22
3	rev_Discount	Sales Discount	3	Sales discounts given	t	2025-11-05 22:16:22	2025-11-05 22:16:22
4	rev_Return	Sales Return	4	Sales returns and refunds	t	2025-11-05 22:16:22	2025-11-05 22:16:22
5	rev_Other	Other Income	5	Miscellaneous income	t	2025-11-05 22:16:22	2025-11-05 22:16:22
6	exp_CostOfSales	Cost of Goods Sold	6	Direct cost of inventory sold	t	2025-11-05 22:16:22	2025-11-05 22:16:22
7	ast_Cash	Cash in Hand	20	Physical cash on hand	t	2025-11-05 22:16:22	2025-11-05 22:16:22
8	ast_Bank	Bank Accounts	21	All bank accounts	t	2025-11-05 22:16:22	2025-11-05 22:16:22
9	ast_PettyCash	Petty Cash	22	Petty cash fund	t	2025-11-05 22:16:22	2025-11-05 22:16:22
10	ast_Customer	Accounts Receivable	23	Money owed by customers	t	2025-11-05 22:16:22	2025-11-05 22:16:22
11	ast_Stock	Inventory	24	Stock and supplies	t	2025-11-05 22:16:22	2025-11-05 22:16:22
12	ast_Prepaid	Prepaid Expenses	25	Prepaid rent, insurance, etc.	t	2025-11-05 22:16:22	2025-11-05 22:16:22
13	ast_TaxRecoverable	Tax Recoverable	26	Input tax recoverable	t	2025-11-05 22:16:22	2025-11-05 22:16:22
14	ast_Equipment	Equipment	28	Kitchen equipment, POS systems	t	2025-11-05 22:16:22	2025-11-05 22:16:22
15	ast_Furniture	Furniture and Fixtures	29	Tables, chairs, decor	t	2025-11-05 22:16:22	2025-11-05 22:16:22
16	ast_Vehicles	Vehicles	30	Delivery vehicles	t	2025-11-05 22:16:22	2025-11-05 22:16:22
17	ast_Buildings	Buildings	31	Restaurant premises	t	2025-11-05 22:16:22	2025-11-05 22:16:22
18	ast_AccumulatedDepreciation	Accumulated Depreciation	32	Accumulated depreciation	t	2025-11-05 22:16:22	2025-11-05 22:16:22
19	lib_Supplier	Accounts Payable	34	Money owed to suppliers	t	2025-11-05 22:16:22	2025-11-05 22:16:22
20	lib_Accrued	Accrued Expenses	35	Accrued wages, utilities	t	2025-11-05 22:16:22	2025-11-05 22:16:22
21	lib_Tax	Taxes Payable	36	Sales tax, income tax	t	2025-11-05 22:16:22	2025-11-05 22:16:22
22	lib_Unearned	Unearned Revenue	37	Advance payments received	t	2025-11-05 22:16:22	2025-11-05 22:16:22
23	eqt_Investment	Owner's Investment	38	Initial and additional investments	t	2025-11-05 22:16:22	2025-11-05 22:16:22
24	eqt_RetainedEarnings	Retained Earnings	39	Accumulated profits/losses	t	2025-11-05 22:16:22	2025-11-05 22:16:22
25	eqt_CurrentYear	Current Year Earnings	40	Current year profit/loss	t	2025-11-05 22:16:22	2025-11-05 22:16:22
26	exp_Expenses	Operating Expenses	7	All operating expenses	t	2025-11-05 22:16:22	2025-11-05 22:16:22
27	exp_Payroll	Payroll Expenses	8	Wages and salaries	t	2025-11-05 22:16:22	2025-11-05 22:16:22
28	exp_Rent	Rent Expense	9	Premises rent	t	2025-11-05 22:16:22	2025-11-05 22:16:22
29	exp_Utilities	Utilities	10	Electricity, water, gas	t	2025-11-05 22:16:22	2025-11-05 22:16:22
30	exp_Marketing	Marketing	11	Advertising and promotion	t	2025-11-05 22:16:22	2025-11-05 22:16:22
31	exp_Supplies	Supplies	12	Operating supplies	t	2025-11-05 22:16:22	2025-11-05 22:16:22
32	exp_Maintenance	Maintenance	13	Equipment maintenance	t	2025-11-05 22:16:22	2025-11-05 22:16:22
33	exp_Insurance	Insurance	14	Business insurance	t	2025-11-05 22:16:22	2025-11-05 22:16:22
34	exp_ProfessionalFees	Professional Fees	15	Legal, accounting fees	t	2025-11-05 22:16:22	2025-11-05 22:16:22
35	exp_BankCharges	Bank Charges	16	Bank fees and charges	t	2025-11-05 22:16:22	2025-11-05 22:16:22
36	exp_Depreciation	Depreciation	17	Asset depreciation	t	2025-11-05 22:16:22	2025-11-05 22:16:22
37	exp_StockLoss	Stock Loss	41	Account for tracking inventory losses and stock adjustments	t	2025-11-05 22:16:23	2025-11-05 22:16:23
38	rev_StockGain	Stock Gain	45	Revenue from inventory count increases / stock adjustments	t	2026-04-03 18:59:27	2026-04-03 18:59:27
39	ast_CardUnsettled	Card Unsettled Receipts	46	Card receipts awaiting settlement	t	2026-04-24 17:33:50	2026-04-24 17:33:50
40	rev_CashSale	Cash Sales	48	Revenue credited for cash POS sales	t	2026-06-25 20:31:32.392817	2026-06-25 20:31:32.392817
41	rev_CardSale	Card Sales	49	Default revenue credited for card/QR POS sales	t	2026-06-25 20:31:32.398637	2026-06-25 20:31:32.398637
42	ast_AdvanceTax	Advance Income Tax	50	Advance income tax withheld on supplier purchases	t	2026-06-25 20:31:32.414774	2026-06-25 20:31:32.414774
\.


--
-- Data for Name: account_transactions; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_transactions (id, store_id, branch_id, sale_id, account_type, account_id, cheque_id, card_type_id, card_last_four, card_transaction_ref, is_reconciled, amount, tip_amount, description, created_at) FROM stdin;
1	1	1	1	cash	\N	\N	\N	\N	\N	f	1249.00	0.00	Cash payment for invoice INV-001736	2026-06-20 12:29:58.75718
2	1	2	2	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-001740	2026-06-20 12:43:19.541854
3	1	2	3	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001743	2026-06-20 13:04:08.928182
4	1	2	4	cash	\N	\N	\N	\N	\N	f	3149.00	0.00	Cash payment for invoice INV-001745	2026-06-20 13:10:11.754477
5	1	2	5	cash	\N	\N	\N	\N	\N	f	1050.00	0.00	Cash payment for invoice INV-001750	2026-06-20 13:14:00.346878
6	1	2	7	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001755	2026-06-20 13:17:41.276416
7	1	1	7	cash	\N	\N	\N	\N	\N	f	-100.00	0.00	Cash refund for sale return #1 (Sale #7)	2026-06-20 13:18:59.473915
8	1	1	5	cash	\N	\N	\N	\N	\N	f	-1050.00	0.00	Cash refund for sale return #2 (Sale #5)	2026-06-20 13:19:16.310079
9	1	1	4	cash	\N	\N	\N	\N	\N	f	-3149.00	0.00	Cash refund for sale return #3 (Sale #4)	2026-06-20 13:19:21.670616
10	1	1	3	cash	\N	\N	\N	\N	\N	f	-1650.00	0.00	Cash refund for sale return #4 (Sale #3)	2026-06-20 13:19:25.115256
11	1	1	2	cash	\N	\N	\N	\N	\N	f	-2650.00	0.00	Cash refund for sale return #5 (Sale #2)	2026-06-20 13:19:28.874751
12	1	1	1	cash	\N	\N	\N	\N	\N	f	-1249.00	0.00	Cash refund for sale return #6 (Sale #1)	2026-06-20 13:19:32.670325
13	1	1	8	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001763	2026-06-20 15:11:56.550459
14	1	1	9	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001774	2026-06-20 15:23:24.061965
15	1	1	10	cash	\N	\N	\N	\N	\N	f	400.00	0.00	Cash payment for invoice INV-001778	2026-06-20 15:33:38.383041
16	1	1	11	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-001779	2026-06-20 16:04:07.34436
17	1	1	12	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001782	2026-06-20 16:11:00.48111
18	1	1	13	cash	\N	\N	\N	\N	\N	f	700.00	0.00	Cash payment for invoice INV-001790	2026-06-20 16:51:18.910034
19	1	1	14	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001798	2026-06-20 17:32:47.922753
20	1	1	15	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001799	2026-06-20 17:39:24.491649
21	1	1	16	cash	\N	\N	\N	\N	\N	f	840.00	0.00	Cash payment for invoice INV-001800	2026-06-20 17:48:56.463754
22	1	1	17	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001801	2026-06-20 18:15:24.665003
23	1	1	18	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-001806	2026-06-20 18:57:51.113544
24	1	1	19	cash	\N	\N	\N	\N	\N	f	1998.00	0.00	Cash payment for invoice INV-001807	2026-06-20 19:19:06.724157
25	1	1	20	cash	\N	\N	\N	\N	\N	f	610.00	0.00	Cash payment for invoice INV-001811	2026-06-20 19:40:25.44298
26	1	1	21	cash	\N	\N	\N	\N	\N	f	690.00	0.00	Cash payment for invoice INV-001812	2026-06-20 19:45:37.60733
27	1	1	22	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-001813	2026-06-20 19:53:44.815005
28	1	1	23	cash	\N	\N	\N	\N	\N	f	4900.00	0.00	Cash payment for invoice INV-001814	2026-06-20 20:07:42.273198
29	1	1	24	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-001815	2026-06-20 20:09:11.329223
30	1	1	25	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001816	2026-06-20 20:29:14.915057
31	1	1	26	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001817	2026-06-20 20:29:50.93186
32	1	1	27	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001818	2026-06-20 20:40:14.750888
33	1	1	28	cash	\N	\N	\N	\N	\N	f	1689.00	0.00	Cash payment for invoice INV-001820	2026-06-20 21:09:11.440163
34	1	1	29	cash	\N	\N	\N	\N	\N	f	2198.00	0.00	Cash payment for invoice INV-001821	2026-06-20 21:17:51.482706
35	1	1	30	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-001822	2026-06-20 21:35:14.918518
36	1	1	31	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001823	2026-06-20 21:39:03.917544
37	1	1	32	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-001826	2026-06-20 21:58:49.105483
38	1	1	33	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001829	2026-06-20 22:28:45.467064
39	1	1	34	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-001830	2026-06-20 22:49:36.504951
40	1	1	35	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-001831	2026-06-20 22:50:01.238408
41	1	1	36	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001832	2026-06-20 22:50:24.070837
42	1	1	37	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-001835	2026-06-21 00:04:40.639969
43	1	1	38	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001836	2026-06-21 00:11:30.826491
44	1	1	39	cash	\N	\N	\N	\N	\N	f	660.00	0.00	Cash payment for invoice INV-001839	2026-06-21 00:23:45.28498
45	1	1	40	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001842	2026-06-21 00:41:25.916368
46	1	1	41	cash	\N	\N	\N	\N	\N	f	1000.00	0.00	Cash payment for invoice INV-001843	2026-06-21 00:56:52.287704
47	1	1	42	cash	\N	\N	\N	\N	\N	f	870.00	0.00	Cash payment for invoice INV-001845	2026-06-21 01:05:18.031112
48	1	1	43	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001846	2026-06-21 01:10:59.557131
49	1	1	44	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-001847	2026-06-21 01:29:25.163414
50	1	1	45	cash	\N	\N	\N	\N	\N	f	4898.00	0.00	Cash payment for invoice INV-001856	2026-06-21 15:18:52.83988
51	1	1	46	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-001857	2026-06-21 15:25:16.310126
52	1	1	47	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001858	2026-06-21 15:34:37.158079
53	1	1	48	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001859	2026-06-21 15:49:33.2696
54	1	1	49	cash	\N	\N	\N	\N	\N	f	670.00	0.00	Cash payment for invoice INV-001861	2026-06-21 16:03:13.940382
55	1	1	50	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-001862	2026-06-21 16:48:14.14639
56	1	1	51	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-001863	2026-06-21 16:49:22.001119
57	1	1	52	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-001864	2026-06-21 17:02:22.005054
58	1	1	53	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-001865	2026-06-21 18:48:18.755921
59	1	1	54	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-001866	2026-06-21 18:49:00.257856
60	1	1	55	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-001867	2026-06-21 19:18:05.561173
61	1	1	56	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-001868	2026-06-21 20:32:47.85695
62	1	1	57	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001870	2026-06-21 20:51:01.520655
63	1	1	58	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-001871	2026-06-21 21:23:07.54238
64	1	1	59	cash	\N	\N	\N	\N	\N	f	619.00	0.00	Cash payment for invoice INV-001872	2026-06-21 21:28:55.46377
65	1	1	60	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-001873	2026-06-21 21:50:41.966925
66	1	1	61	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001874	2026-06-21 22:41:50.400846
67	1	1	62	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001875	2026-06-21 23:12:10.285816
68	1	1	63	cash	\N	\N	\N	\N	\N	f	1250.00	0.00	Cash payment for invoice INV-001876	2026-06-21 23:43:32.926591
69	1	1	64	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-001877	2026-06-21 23:55:03.001583
70	1	1	65	cash	\N	\N	\N	\N	\N	f	1399.00	0.00	Cash payment for invoice INV-001878	2026-06-22 00:16:18.922913
71	1	1	66	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-001879	2026-06-22 00:51:50.229043
72	1	1	67	cash	\N	\N	\N	\N	\N	f	2318.00	0.00	Cash payment for invoice INV-001883	2026-06-22 02:09:32.356636
73	1	1	68	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001885	2026-06-22 02:14:16.997999
74	1	1	69	cash	\N	\N	\N	\N	\N	f	3500.00	0.00	Cash payment for invoice INV-001887	2026-06-22 15:05:29.018911
75	1	1	70	cash	\N	\N	\N	\N	\N	f	1857.00	0.00	Cash payment for invoice INV-001889	2026-06-22 16:34:14.905355
76	1	1	71	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-001890	2026-06-22 17:59:50.610952
77	1	1	72	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001891	2026-06-22 18:10:29.039575
78	1	1	73	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001892	2026-06-22 19:27:09.313776
79	1	1	74	cash	\N	\N	\N	\N	\N	f	1340.00	0.00	Cash payment for invoice INV-001893	2026-06-22 20:12:21.642631
80	1	1	75	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001896	2026-06-22 20:33:01.352117
81	1	1	76	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-001898	2026-06-22 21:38:54.040756
82	1	1	77	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-001899	2026-06-22 21:41:13.976765
83	1	1	78	cash	\N	\N	\N	\N	\N	f	5537.00	0.00	Cash payment for invoice INV-001900	2026-06-22 22:00:32.866334
84	1	1	79	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-001901	2026-06-22 22:01:17.3652
85	1	1	80	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-001902	2026-06-22 22:03:45.507081
86	1	1	81	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-001903	2026-06-22 22:14:28.025962
87	1	1	82	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001904	2026-06-22 22:20:55.759661
88	1	1	83	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001906	2026-06-22 22:45:00.968768
89	1	1	84	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-001907	2026-06-22 22:46:04.681402
90	1	1	85	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001908	2026-06-22 22:56:35.086511
91	1	1	86	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001909	2026-06-22 23:13:04.205419
92	1	1	87	cash	\N	\N	\N	\N	\N	f	3798.00	0.00	Cash payment for invoice INV-001910	2026-06-22 23:15:30.582745
93	1	1	88	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001911	2026-06-22 23:23:39.520958
94	1	1	89	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001915	2026-06-22 23:59:24.064419
95	1	1	90	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001923	2026-06-23 12:12:52.480144
96	1	1	91	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001926	2026-06-23 13:54:07.09401
97	1	1	92	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-001931	2026-06-23 14:39:14.104477
98	1	1	93	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-001933	2026-06-23 17:02:45.424513
99	1	1	94	cash	\N	\N	\N	\N	\N	f	1639.00	0.00	Cash payment for invoice INV-001936	2026-06-23 17:07:05.225819
100	1	1	95	cash	\N	\N	\N	\N	\N	f	619.00	0.00	Cash payment for invoice INV-001937	2026-06-23 17:16:37.309199
101	1	1	96	cash	\N	\N	\N	\N	\N	f	2449.00	0.00	Cash payment for invoice INV-001938	2026-06-23 18:22:30.660052
102	1	1	97	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-001939	2026-06-23 18:29:14.96974
103	1	1	98	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-001940	2026-06-23 18:35:37.704272
104	1	1	99	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-001941	2026-06-23 19:04:50.188865
105	1	1	100	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001942	2026-06-23 19:18:15.637949
106	1	1	101	cash	\N	\N	\N	\N	\N	f	1996.00	0.00	Cash payment for invoice INV-001946	2026-06-23 20:35:06.081193
107	1	1	102	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-001950	2026-06-23 20:46:21.19597
108	1	1	103	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-001955	2026-06-23 20:51:17.778977
109	1	1	104	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-001959	2026-06-23 21:35:57.180324
110	1	1	105	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001960	2026-06-23 21:44:53.96792
111	1	1	106	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001961	2026-06-23 22:23:29.339507
112	1	1	107	cash	\N	\N	\N	\N	\N	f	769.00	0.00	Cash payment for invoice INV-001962	2026-06-23 22:26:29.020562
113	1	1	108	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001963	2026-06-23 22:50:47.608215
114	1	1	109	cash	\N	\N	\N	\N	\N	f	2298.00	0.00	Cash payment for invoice INV-001964	2026-06-23 22:56:04.209379
115	1	1	110	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-001965	2026-06-23 22:57:20.040518
116	1	1	111	cash	\N	\N	\N	\N	\N	f	1269.00	0.00	Cash payment for invoice INV-001966	2026-06-23 22:59:59.461713
117	1	1	112	cash	\N	\N	\N	\N	\N	f	1849.00	0.00	Cash payment for invoice INV-001967	2026-06-23 23:19:08.304192
118	1	1	113	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-001968	2026-06-23 23:19:56.676264
119	1	1	114	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001969	2026-06-23 23:29:29.387103
120	1	1	115	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-001971	2026-06-23 23:38:09.222203
121	1	1	116	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-001972	2026-06-23 23:51:37.808193
122	1	1	117	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-001973	2026-06-23 23:56:53.768964
123	1	1	118	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-001974	2026-06-23 23:57:59.371047
124	1	1	119	cash	\N	\N	\N	\N	\N	f	1639.00	0.00	Cash payment for invoice INV-001975	2026-06-24 00:34:09.797358
125	1	1	120	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-001977	2026-06-24 01:28:44.689714
126	1	1	121	cash	\N	\N	\N	\N	\N	f	999.00	0.00	Cash payment for invoice INV-001980	2026-06-24 02:08:23.079579
127	1	1	122	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-001984	2026-06-24 02:18:16.327069
128	1	1	123	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-001994	2026-06-24 14:23:34.156169
129	1	1	124	cash	\N	\N	\N	\N	\N	f	650.00	0.00	Cash payment for invoice INV-001995	2026-06-24 16:31:40.983713
130	1	1	125	cash	\N	\N	\N	\N	\N	f	4298.00	0.00	Cash payment for invoice INV-001996	2026-06-24 17:25:09.695397
131	1	1	126	cash	\N	\N	\N	\N	\N	f	2799.00	0.00	Cash payment for invoice INV-001998	2026-06-24 18:06:06.810333
132	1	1	127	cash	\N	\N	\N	\N	\N	f	3500.00	0.00	Cash payment for invoice INV-002000	2026-06-24 18:53:34.3681
133	1	1	128	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002001	2026-06-24 20:19:41.607789
134	1	1	129	cash	\N	\N	\N	\N	\N	f	500.00	0.00	Cash payment for invoice INV-002002	2026-06-24 21:32:48.268759
135	1	1	130	cash	\N	\N	\N	\N	\N	f	1060.00	0.00	Cash payment for invoice INV-002003	2026-06-24 21:47:18.695064
136	1	1	131	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002004	2026-06-24 21:52:49.143805
137	1	1	132	cash	\N	\N	\N	\N	\N	f	750.00	0.00	Cash payment for invoice INV-002005	2026-06-24 22:06:06.960155
138	1	1	133	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002006	2026-06-24 22:28:00.176581
139	1	1	134	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002008	2026-06-24 22:35:10.741542
140	1	1	135	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002009	2026-06-24 22:55:59.117675
141	1	1	136	cash	\N	\N	\N	\N	\N	f	898.00	0.00	Cash payment for invoice INV-002010	2026-06-24 23:11:44.515399
142	1	1	137	cash	\N	\N	\N	\N	\N	f	250.00	0.00	Cash payment for invoice INV-002011	2026-06-24 23:16:27.385542
143	1	1	138	cash	\N	\N	\N	\N	\N	f	2399.00	0.00	Cash payment for invoice INV-002012	2026-06-24 23:19:51.78049
144	1	1	139	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002013	2026-06-24 23:34:59.344586
145	1	1	140	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002014	2026-06-24 23:41:17.348775
146	1	1	141	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002017	2026-06-25 01:31:33.279373
147	1	1	142	cash	\N	\N	\N	\N	\N	f	700.00	0.00	Cash payment for invoice INV-002019	2026-06-25 01:38:49.104134
148	1	1	143	cash	\N	\N	\N	\N	\N	f	1989.00	0.00	Cash payment for invoice INV-002021	2026-06-25 01:48:40.668398
149	1	1	144	cash	\N	\N	\N	\N	\N	f	700.00	0.00	Cash payment for invoice INV-002029	2026-06-25 15:58:16.265179
150	1	1	145	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002031	2026-06-25 17:06:24.581846
151	1	1	146	cash	\N	\N	\N	\N	\N	f	1180.00	0.00	Cash payment for invoice INV-002032	2026-06-25 17:13:18.692193
152	1	1	147	cash	\N	\N	\N	\N	\N	f	380.00	0.00	Cash payment for invoice INV-002033	2026-06-25 18:05:59.834804
153	1	1	148	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002034	2026-06-25 18:26:37.169349
154	1	1	149	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002035	2026-06-25 19:14:46.537091
155	1	1	150	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002036	2026-06-25 19:15:52.100897
156	1	1	151	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002037	2026-06-25 19:42:34.978474
157	1	1	152	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002038	2026-06-25 19:49:54.315637
158	1	1	153	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002039	2026-06-25 19:50:25.264407
159	1	1	154	cash	\N	\N	\N	\N	\N	f	3098.00	0.00	Cash payment for invoice INV-002041	2026-06-25 21:08:50.014223
160	1	1	155	cash	\N	\N	\N	\N	\N	f	2968.00	0.00	Cash payment for invoice INV-002042	2026-06-25 21:10:33.054312
161	1	1	156	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002043	2026-06-25 21:13:18.385195
162	1	1	157	cash	\N	\N	\N	\N	\N	f	1569.00	0.00	Cash payment for invoice INV-002044	2026-06-25 21:15:19.463321
163	1	1	158	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002045	2026-06-25 21:39:33.603985
164	1	1	159	cash	\N	\N	\N	\N	\N	f	2298.00	0.00	Cash payment for invoice INV-002046	2026-06-26 00:22:24.077016
165	1	1	160	cash	\N	\N	\N	\N	\N	f	1068.00	0.00	Cash payment for invoice INV-002047	2026-06-26 00:42:43.590803
166	1	1	161	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002054	2026-06-26 16:28:44.680763
167	1	1	162	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002055	2026-06-26 16:29:17.18108
168	1	1	163	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002057	2026-06-26 17:59:01.272999
169	1	1	164	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002058	2026-06-26 18:55:29.097619
170	1	1	165	cash	\N	\N	\N	\N	\N	f	1769.00	0.00	Cash payment for invoice INV-002059	2026-06-26 18:58:02.842271
171	1	1	166	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002060	2026-06-26 19:54:03.70327
172	1	1	167	cash	\N	\N	\N	\N	\N	f	899.00	0.00	Cash payment for invoice INV-002061	2026-06-26 20:00:31.15931
173	1	1	168	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002062	2026-06-26 20:03:48.075647
174	1	1	169	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002063	2026-06-26 20:34:32.893986
175	1	1	170	cash	\N	\N	\N	\N	\N	f	4449.00	0.00	Cash payment for invoice INV-002064	2026-06-26 20:48:04.87159
176	1	1	171	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002065	2026-06-26 20:52:01.687424
177	1	1	172	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002066	2026-06-26 20:55:48.514951
178	1	1	173	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002067	2026-06-26 21:32:46.803406
179	1	1	174	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002068	2026-06-26 21:34:02.071833
180	1	1	175	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002069	2026-06-26 21:47:52.359137
181	1	1	176	cash	\N	\N	\N	\N	\N	f	2599.00	0.00	Cash payment for invoice INV-002070	2026-06-26 21:49:50.24095
182	1	1	177	cash	\N	\N	\N	\N	\N	f	1439.00	0.00	Cash payment for invoice INV-002076	2026-06-26 23:51:32.483047
183	1	1	178	cash	\N	\N	\N	\N	\N	f	940.00	0.00	Cash payment for invoice INV-002077	2026-06-26 23:54:11.874145
184	1	1	179	cash	\N	\N	\N	\N	\N	f	4964.00	0.00	Cash payment for invoice INV-002078	2026-06-26 23:57:17.969139
185	1	1	180	cash	\N	\N	\N	\N	\N	f	769.00	0.00	Cash payment for invoice INV-002080	2026-06-27 00:13:41.247203
186	1	1	181	cash	\N	\N	\N	\N	\N	f	8195.00	0.00	Cash payment for invoice INV-002084	2026-06-27 17:24:09.156664
187	1	1	182	cash	\N	\N	\N	\N	\N	f	999.00	0.00	Cash payment for invoice INV-002085	2026-06-27 17:25:43.887006
188	1	1	183	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002086	2026-06-27 17:33:25.011782
189	1	1	184	cash	\N	\N	\N	\N	\N	f	250.00	0.00	Cash payment for invoice INV-002087	2026-06-27 18:02:18.61559
190	1	1	185	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002090	2026-06-27 18:25:46.216116
191	1	1	186	cash	\N	\N	\N	\N	\N	f	2800.00	0.00	Cash payment for invoice INV-002092	2026-06-27 20:42:45.622712
192	1	1	187	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002093	2026-06-27 20:43:58.331751
193	1	1	188	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002094	2026-06-27 20:48:57.364372
194	1	1	189	cash	\N	\N	\N	\N	\N	f	3598.00	0.00	Cash payment for invoice INV-002095	2026-06-27 21:06:41.476783
195	1	1	190	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002096	2026-06-27 21:07:35.177297
196	1	1	191	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002098	2026-06-27 21:31:06.382016
197	1	1	192	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002099	2026-06-27 21:33:24.565327
198	1	1	193	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002100	2026-06-27 21:40:28.136253
199	1	1	194	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002101	2026-06-27 21:42:23.40822
200	1	1	195	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002106	2026-06-28 00:40:32.265856
201	1	1	196	cash	\N	\N	\N	\N	\N	f	8466.00	0.00	Cash payment for invoice INV-002107	2026-06-28 00:46:58.072872
202	1	1	197	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002108	2026-06-28 00:47:54.882918
203	1	1	198	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002109	2026-06-28 00:49:09.535616
204	1	1	199	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002110	2026-06-28 01:13:20.679344
205	1	1	200	cash	\N	\N	\N	\N	\N	f	3449.00	0.00	Cash payment for invoice INV-002115	2026-06-28 15:54:38.696525
206	1	1	201	cash	\N	\N	\N	\N	\N	f	1170.00	0.00	Cash payment for invoice INV-002116	2026-06-28 16:35:41.097465
207	1	1	202	cash	\N	\N	\N	\N	\N	f	450.00	0.00	Cash payment for invoice INV-002117	2026-06-28 16:38:51.220741
208	1	1	203	cash	\N	\N	\N	\N	\N	f	390.00	0.00	Cash payment for invoice INV-002119	2026-06-28 16:43:08.368594
209	1	1	204	cash	\N	\N	\N	\N	\N	f	3049.00	0.00	Cash payment for invoice INV-002121	2026-06-28 17:31:53.468476
210	1	1	205	cash	\N	\N	\N	\N	\N	f	1498.00	0.00	Cash payment for invoice INV-002122	2026-06-28 17:44:57.144299
211	1	1	206	cash	\N	\N	\N	\N	\N	f	2298.00	0.00	Cash payment for invoice INV-002123	2026-06-28 17:49:08.866855
212	1	1	207	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002120	2026-06-28 18:27:16.566007
213	1	1	208	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002125	2026-06-28 18:44:27.551667
214	1	1	209	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002127	2026-06-28 18:51:39.399851
215	1	1	210	cash	\N	\N	\N	\N	\N	f	190.00	0.00	Cash payment for invoice INV-002128	2026-06-28 18:56:35.112641
216	1	1	211	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-002129	2026-06-28 19:08:16.153294
217	1	1	212	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002130	2026-06-28 19:30:42.271512
218	1	1	213	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002131	2026-06-28 19:35:08.649008
219	1	1	214	cash	\N	\N	\N	\N	\N	f	2750.00	0.00	Cash payment for invoice INV-002132	2026-06-28 19:36:01.532986
220	1	1	215	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002133	2026-06-28 20:07:12.079695
221	1	1	216	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002134	2026-06-28 20:17:06.367508
222	1	1	217	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002135	2026-06-28 20:27:34.236908
223	1	1	218	cash	\N	\N	\N	\N	\N	f	190.00	0.00	Cash payment for invoice INV-002136	2026-06-28 20:28:15.968593
224	1	1	219	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002137	2026-06-28 20:32:47.432591
225	1	1	220	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002138	2026-06-28 20:34:46.198262
226	1	1	221	cash	\N	\N	\N	\N	\N	f	1400.00	0.00	Cash payment for invoice INV-002139	2026-06-28 20:44:55.748128
227	1	1	222	cash	\N	\N	\N	\N	\N	f	1617.00	0.00	Cash payment for invoice INV-002141	2026-06-28 21:04:15.841252
228	1	1	223	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002142	2026-06-28 21:05:58.158155
229	1	1	224	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002143	2026-06-28 21:19:43.719255
230	1	1	225	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002144	2026-06-28 21:45:58.958962
231	1	1	226	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002145	2026-06-28 21:51:00.247078
232	1	1	227	cash	\N	\N	\N	\N	\N	f	2140.00	0.00	Cash payment for invoice INV-002146	2026-06-28 22:06:23.647007
233	1	1	228	cash	\N	\N	\N	\N	\N	f	1498.00	0.00	Cash payment for invoice INV-002147	2026-06-28 22:10:36.136866
234	1	1	229	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002148	2026-06-28 22:13:27.828716
235	1	1	230	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002149	2026-06-28 22:17:36.16698
236	1	1	231	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002150	2026-06-28 22:22:18.511986
237	1	1	232	cash	\N	\N	\N	\N	\N	f	2040.00	0.00	Cash payment for invoice INV-002151	2026-06-28 22:55:42.996664
238	1	1	233	cash	\N	\N	\N	\N	\N	f	2040.00	0.00	Cash payment for invoice INV-002152	2026-06-28 22:56:54.714469
239	1	1	234	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002153	2026-06-28 23:02:59.630348
240	1	1	235	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002154	2026-06-28 23:34:49.237853
241	1	1	236	cash	\N	\N	\N	\N	\N	f	5486.00	0.00	Cash payment for invoice INV-002157	2026-06-29 02:06:17.595946
242	1	1	237	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002158	2026-06-29 02:14:05.932583
243	1	1	238	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002164	2026-06-29 12:35:08.588551
244	1	1	239	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002165	2026-06-29 13:05:28.476954
245	1	1	240	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002166	2026-06-29 13:31:01.270129
246	1	1	241	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002167	2026-06-29 13:50:42.031599
247	1	1	242	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002168	2026-06-29 13:51:19.610459
248	1	1	243	cash	\N	\N	\N	\N	\N	f	1849.00	0.00	Cash payment for invoice INV-002173	2026-06-29 15:15:28.210667
249	1	1	244	cash	\N	\N	\N	\N	\N	f	1500.00	0.00	Cash payment for invoice INV-002175	2026-06-29 16:53:51.836721
250	1	1	245	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002176	2026-06-29 17:21:47.597471
251	1	1	246	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002179	2026-06-29 17:56:05.413029
252	1	1	247	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002180	2026-06-29 18:38:17.232992
253	1	1	248	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002182	2026-06-29 19:20:29.571359
254	1	1	249	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002183	2026-06-29 19:31:13.087368
255	1	1	250	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002184	2026-06-29 19:42:55.239167
256	1	1	251	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002185	2026-06-29 19:51:29.647856
257	1	1	252	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002186	2026-06-29 20:08:37.226952
258	1	1	253	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002187	2026-06-29 20:10:18.224556
259	1	1	254	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002188	2026-06-29 20:21:11.065166
260	1	1	255	cash	\N	\N	\N	\N	\N	f	2550.00	0.00	Cash payment for invoice INV-002189	2026-06-29 20:59:09.339736
261	1	1	256	cash	\N	\N	\N	\N	\N	f	2699.00	0.00	Cash payment for invoice INV-002190	2026-06-29 21:07:44.857811
262	1	1	257	cash	\N	\N	\N	\N	\N	f	2399.00	0.00	Cash payment for invoice INV-002191	2026-06-29 21:27:41.115859
263	1	1	258	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002192	2026-06-29 21:30:38.580093
264	1	1	259	cash	\N	\N	\N	\N	\N	f	190.00	0.00	Cash payment for invoice INV-002193	2026-06-29 22:07:13.809725
265	1	1	260	cash	\N	\N	\N	\N	\N	f	3648.00	0.00	Cash payment for invoice INV-002195	2026-06-29 22:38:20.852121
266	1	1	261	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002196	2026-06-29 22:53:30.073336
267	1	1	262	cash	\N	\N	\N	\N	\N	f	2698.00	0.00	Cash payment for invoice INV-002197	2026-06-29 22:58:46.611931
268	1	1	263	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002198	2026-06-29 23:12:11.819159
269	1	1	264	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002199	2026-06-29 23:13:47.196142
270	1	1	265	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002200	2026-06-29 23:17:51.716335
271	1	1	266	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002201	2026-06-29 23:20:03.757267
272	1	1	267	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002202	2026-06-29 23:25:05.460077
273	1	1	268	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002203	2026-06-29 23:33:34.274122
274	1	1	269	cash	\N	\N	\N	\N	\N	f	640.00	0.00	Cash payment for invoice INV-002204	2026-06-29 23:37:42.839775
275	1	1	270	cash	\N	\N	\N	\N	\N	f	120.00	0.00	Cash payment for invoice INV-002205	2026-06-29 23:47:53.654689
276	1	1	271	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002206	2026-06-29 23:49:33.835646
277	1	1	272	cash	\N	\N	\N	\N	\N	f	4396.00	0.00	Cash payment for invoice INV-002207	2026-06-29 23:56:29.114008
278	1	1	273	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002208	2026-06-29 23:57:55.079609
279	1	1	274	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002209	2026-06-30 00:05:14.236179
280	1	1	275	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002210	2026-06-30 00:18:32.499293
281	1	1	276	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002211	2026-06-30 00:20:32.331331
282	1	1	277	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002214	2026-06-30 01:05:30.113453
283	1	1	278	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002215	2026-06-30 01:07:33.805069
284	1	1	279	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002217	2026-06-30 01:46:07.90972
285	1	1	280	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002218	2026-06-30 01:46:57.47772
286	1	1	281	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002219	2026-06-30 01:49:15.972435
287	1	1	282	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002221	2026-06-30 02:51:15.878493
288	1	1	283	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002225	2026-06-30 14:24:09.461957
289	1	1	284	cash	\N	\N	\N	\N	\N	f	120.00	0.00	Cash payment for invoice INV-002226	2026-06-30 14:26:52.840767
290	1	1	285	cash	\N	\N	\N	\N	\N	f	2849.00	0.00	Cash payment for invoice INV-002228	2026-06-30 16:38:07.883788
291	1	1	286	cash	\N	\N	\N	\N	\N	f	899.00	0.00	Cash payment for invoice INV-002230	2026-06-30 17:08:01.595626
292	1	1	287	cash	\N	\N	\N	\N	\N	f	420.00	0.00	Cash payment for invoice INV-002234	2026-06-30 19:18:10.409451
293	1	1	288	cash	\N	\N	\N	\N	\N	f	998.00	0.00	Cash payment for invoice INV-002235	2026-06-30 19:26:43.261032
294	1	1	289	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002236	2026-06-30 19:35:31.759229
295	1	1	290	cash	\N	\N	\N	\N	\N	f	5300.00	0.00	Cash payment for invoice INV-002237	2026-06-30 19:49:35.146355
296	1	1	291	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002240	2026-06-30 20:14:06.845428
297	1	1	292	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002244	2026-06-30 21:22:56.82132
298	1	1	293	cash	\N	\N	\N	\N	\N	f	3499.00	0.00	Cash payment for invoice INV-002245	2026-06-30 21:50:03.429217
299	1	1	294	cash	\N	\N	\N	\N	\N	f	3549.00	0.00	Cash payment for invoice INV-002246	2026-06-30 21:58:13.986045
300	1	1	295	cash	\N	\N	\N	\N	\N	f	3098.00	0.00	Cash payment for invoice INV-002247	2026-06-30 22:03:49.775211
301	1	1	296	cash	\N	\N	\N	\N	\N	f	440.00	0.00	Cash payment for invoice INV-002248	2026-06-30 22:14:03.451917
302	1	1	297	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002250	2026-06-30 22:59:41.534388
303	1	1	298	cash	\N	\N	\N	\N	\N	f	2398.00	0.00	Cash payment for invoice INV-002252	2026-07-01 00:08:09.776737
304	1	1	299	cash	\N	\N	\N	\N	\N	f	2438.00	0.00	Cash payment for invoice INV-002254	2026-07-01 01:13:26.047833
305	1	1	300	cash	\N	\N	\N	\N	\N	f	1820.00	0.00	Cash payment for invoice INV-002255	2026-07-01 01:14:25.004444
306	1	1	301	cash	\N	\N	\N	\N	\N	f	870.00	0.00	Cash payment for invoice INV-002258	2026-07-01 02:02:40.075005
307	1	1	302	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002263	2026-07-01 12:15:52.857137
308	1	1	303	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002265	2026-07-01 14:00:49.542138
309	1	1	304	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002266	2026-07-01 14:17:53.490498
310	1	1	305	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002268	2026-07-01 15:42:42.589676
311	1	1	306	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002270	2026-07-01 17:17:06.802476
312	1	1	307	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002271	2026-07-01 17:23:39.472811
313	1	1	308	cash	\N	\N	\N	\N	\N	f	650.00	0.00	Cash payment for invoice INV-002273	2026-07-01 18:29:11.332912
314	1	1	309	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002274	2026-07-01 18:30:44.148043
315	1	1	310	cash	\N	\N	\N	\N	\N	f	1820.00	0.00	Cash payment for invoice INV-002275	2026-07-01 18:43:34.905592
316	1	1	311	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002276	2026-07-01 18:45:55.420555
317	1	1	312	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002277	2026-07-01 18:46:55.041705
318	1	1	313	cash	\N	\N	\N	\N	\N	f	2399.00	0.00	Cash payment for invoice INV-002278	2026-07-01 18:49:44.347259
319	1	1	314	cash	\N	\N	\N	\N	\N	f	390.00	0.00	Cash payment for invoice INV-002280	2026-07-01 19:55:09.171631
320	1	1	315	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-002281	2026-07-01 20:01:56.42704
321	1	1	316	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002282	2026-07-01 20:16:27.325264
322	1	1	317	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002283	2026-07-01 20:20:03.815038
323	1	1	318	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002284	2026-07-01 20:32:09.489854
324	1	1	319	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002285	2026-07-01 20:49:58.185622
325	1	1	320	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002286	2026-07-01 20:57:17.447513
326	1	1	321	cash	\N	\N	\N	\N	\N	f	1700.00	0.00	Cash payment for invoice INV-002287	2026-07-01 21:08:52.148418
327	1	1	322	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002288	2026-07-01 21:12:35.618742
328	1	1	323	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002289	2026-07-01 21:16:43.180715
329	1	1	324	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002290	2026-07-01 21:19:45.509703
330	1	1	325	cash	\N	\N	\N	\N	\N	f	2550.00	0.00	Cash payment for invoice INV-002291	2026-07-01 21:22:25.431186
331	1	1	326	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002292	2026-07-01 21:23:13.657759
332	1	1	327	cash	\N	\N	\N	\N	\N	f	1320.00	0.00	Cash payment for invoice INV-002293	2026-07-01 21:25:17.781967
333	1	1	328	cash	\N	\N	\N	\N	\N	f	320.00	0.00	Cash payment for invoice INV-002294	2026-07-01 21:28:15.192033
334	1	1	329	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002295	2026-07-01 22:02:14.509455
335	1	1	330	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002296	2026-07-01 22:12:46.344086
336	1	1	331	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002297	2026-07-01 22:25:30.619405
337	1	1	332	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002298	2026-07-01 22:28:57.553785
338	1	1	333	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002300	2026-07-01 22:43:45.114834
339	1	1	334	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002301	2026-07-01 22:45:17.086309
340	1	1	335	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002302	2026-07-01 22:46:31.101392
341	1	1	336	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002303	2026-07-01 22:51:27.843207
342	1	1	337	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002304	2026-07-01 23:23:37.795412
343	1	1	338	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002305	2026-07-01 23:25:44.324086
344	1	1	339	cash	\N	\N	\N	\N	\N	f	700.00	0.00	Cash payment for invoice INV-002306	2026-07-01 23:27:20.388443
345	1	1	340	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002308	2026-07-01 23:34:04.222774
346	1	1	341	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002309	2026-07-01 23:41:46.54533
347	1	1	342	cash	\N	\N	\N	\N	\N	f	400.00	0.00	Cash payment for invoice INV-002310	2026-07-01 23:44:24.510648
348	1	1	343	cash	\N	\N	\N	\N	\N	f	290.00	0.00	Cash payment for invoice INV-002311	2026-07-01 23:49:50.956028
349	1	1	344	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002312	2026-07-02 00:15:02.101076
350	1	1	345	cash	\N	\N	\N	\N	\N	f	360.00	0.00	Cash payment for invoice INV-002313	2026-07-02 00:19:42.041587
351	1	1	346	cash	\N	\N	\N	\N	\N	f	1559.00	0.00	Cash payment for invoice INV-002314	2026-07-02 00:23:27.649053
352	1	1	347	cash	\N	\N	\N	\N	\N	f	480.00	0.00	Cash payment for invoice INV-002315	2026-07-02 00:25:59.066938
353	1	1	348	cash	\N	\N	\N	\N	\N	f	2250.00	0.00	Cash payment for invoice INV-002316	2026-07-02 00:32:50.926562
354	1	1	349	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002319	2026-07-02 01:28:20.17634
355	1	1	350	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002327	2026-07-02 16:47:15.872532
356	1	1	351	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002328	2026-07-02 17:07:59.479169
357	1	1	352	cash	\N	\N	\N	\N	\N	f	2199.00	0.00	Cash payment for invoice INV-002329	2026-07-02 17:14:24.335873
358	1	1	353	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002330	2026-07-02 17:17:11.697746
359	1	1	354	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002332	2026-07-02 17:31:14.847537
360	1	1	355	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002334	2026-07-02 17:44:49.776895
361	1	1	356	cash	\N	\N	\N	\N	\N	f	1399.00	0.00	Cash payment for invoice INV-002336	2026-07-02 17:46:52.997206
362	1	1	357	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002340	2026-07-02 18:35:07.203705
363	1	1	358	cash	\N	\N	\N	\N	\N	f	700.00	0.00	Cash payment for invoice INV-002343	2026-07-02 18:44:24.337951
364	1	1	359	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002347	2026-07-02 20:16:49.891664
365	1	1	360	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002348	2026-07-02 20:19:31.877785
366	1	1	361	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002349	2026-07-02 20:21:28.884975
367	1	1	362	cash	\N	\N	\N	\N	\N	f	750.00	0.00	Cash payment for invoice INV-002350	2026-07-02 20:32:03.941034
368	1	1	363	cash	\N	\N	\N	\N	\N	f	2497.00	0.00	Cash payment for invoice INV-002351	2026-07-02 20:34:02.82815
369	1	1	364	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002352	2026-07-02 20:38:53.276732
370	1	1	365	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002353	2026-07-02 20:44:18.722365
371	1	1	366	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002355	2026-07-02 21:05:23.817461
372	1	1	367	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002356	2026-07-02 21:09:29.231033
373	1	1	368	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002357	2026-07-02 21:10:17.17784
374	1	1	369	cash	\N	\N	\N	\N	\N	f	400.00	0.00	Cash payment for invoice INV-002358	2026-07-02 21:13:57.305494
375	1	1	370	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002359	2026-07-02 21:20:32.297318
376	1	1	371	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002360	2026-07-02 21:21:44.071098
377	1	1	372	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002361	2026-07-02 21:27:53.925303
378	1	1	373	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002362	2026-07-02 21:32:49.096353
379	1	1	374	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002363	2026-07-02 22:07:23.288728
380	1	1	375	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002364	2026-07-02 22:25:50.53142
381	1	1	376	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002365	2026-07-02 22:31:48.016514
382	1	1	377	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002366	2026-07-02 22:37:46.401656
383	1	1	378	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002367	2026-07-02 22:40:47.121669
384	1	1	379	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002368	2026-07-02 22:43:32.729904
385	1	1	380	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002369	2026-07-02 22:46:55.719579
386	1	1	381	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002370	2026-07-02 22:47:29.312223
387	1	1	382	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002371	2026-07-02 22:48:13.960992
388	1	1	383	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002373	2026-07-02 23:13:08.642959
389	1	1	384	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002374	2026-07-02 23:18:19.597163
390	1	1	385	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002375	2026-07-02 23:19:38.600162
391	1	1	386	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002376	2026-07-02 23:37:35.745549
392	1	1	387	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002377	2026-07-02 23:38:42.968715
393	1	1	388	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002379	2026-07-03 00:22:19.804498
394	1	1	389	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002391	2026-07-03 14:20:30.650496
395	1	1	390	cash	\N	\N	\N	\N	\N	f	2258.00	0.00	Cash payment for invoice INV-002393	2026-07-03 15:23:16.17258
396	1	1	391	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002394	2026-07-03 15:41:04.985097
397	1	1	392	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002396	2026-07-03 16:22:41.925939
398	1	1	393	cash	\N	\N	\N	\N	\N	f	650.00	0.00	Cash payment for invoice INV-002399	2026-07-03 17:34:25.479243
399	1	1	394	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002400	2026-07-03 17:34:50.030523
400	1	1	395	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002401	2026-07-03 17:38:01.135059
401	1	1	396	cash	\N	\N	\N	\N	\N	f	2098.00	0.00	Cash payment for invoice INV-002403	2026-07-03 17:43:03.201675
402	1	1	397	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-002406	2026-07-03 17:58:19.335365
403	1	1	398	cash	\N	\N	\N	\N	\N	f	3500.00	0.00	Cash payment for invoice INV-002408	2026-07-03 18:26:28.944901
404	1	1	399	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002409	2026-07-03 19:00:50.902655
405	1	1	400	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002410	2026-07-03 19:04:05.544964
406	1	1	401	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002411	2026-07-03 19:05:09.177915
407	1	1	402	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002412	2026-07-03 19:28:32.458616
408	1	1	403	cash	\N	\N	\N	\N	\N	f	750.00	0.00	Cash payment for invoice INV-002413	2026-07-03 19:31:35.274468
409	1	1	404	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002414	2026-07-03 19:34:07.722413
410	1	1	405	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002415	2026-07-03 19:35:57.063758
411	1	1	406	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002416	2026-07-03 19:36:29.273358
412	1	1	407	cash	\N	\N	\N	\N	\N	f	1880.00	0.00	Cash payment for invoice INV-002417	2026-07-03 19:38:37.902642
413	1	1	408	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002418	2026-07-03 19:39:29.221414
414	1	1	409	cash	\N	\N	\N	\N	\N	f	1598.00	0.00	Cash payment for invoice INV-002419	2026-07-03 19:44:37.143057
415	1	1	410	cash	\N	\N	\N	\N	\N	f	1889.00	0.00	Cash payment for invoice INV-002420	2026-07-03 19:59:41.662632
416	1	1	411	cash	\N	\N	\N	\N	\N	f	2399.00	0.00	Cash payment for invoice INV-002421	2026-07-03 20:05:49.754797
417	1	1	412	cash	\N	\N	\N	\N	\N	f	1099.00	0.00	Cash payment for invoice INV-002422	2026-07-03 20:34:41.613121
418	1	1	413	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002423	2026-07-03 20:35:33.713249
419	1	1	414	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002424	2026-07-03 20:36:06.088541
420	1	1	415	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002425	2026-07-03 20:37:10.367028
421	1	1	416	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002426	2026-07-03 20:39:40.799665
422	1	1	417	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002427	2026-07-03 20:40:26.539096
423	1	1	418	cash	\N	\N	\N	\N	\N	f	2250.00	0.00	Cash payment for invoice INV-002428	2026-07-03 20:43:31.812181
424	1	1	419	cash	\N	\N	\N	\N	\N	f	2299.00	0.00	Cash payment for invoice INV-002429	2026-07-03 20:48:28.443316
425	1	1	420	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002430	2026-07-03 20:54:09.068432
426	1	1	421	cash	\N	\N	\N	\N	\N	f	1048.00	0.00	Cash payment for invoice INV-002431	2026-07-03 20:57:07.747116
427	1	1	422	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002433	2026-07-03 21:08:07.5259
428	1	1	423	cash	\N	\N	\N	\N	\N	f	1600.00	0.00	Cash payment for invoice INV-002434	2026-07-03 21:15:29.550364
429	1	1	424	cash	\N	\N	\N	\N	\N	f	1399.00	0.00	Cash payment for invoice INV-002435	2026-07-03 21:18:39.35653
430	1	1	425	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002436	2026-07-03 21:19:20.244722
431	1	1	426	cash	\N	\N	\N	\N	\N	f	190.00	0.00	Cash payment for invoice INV-002437	2026-07-03 21:20:00.579878
432	1	1	427	cash	\N	\N	\N	\N	\N	f	660.00	0.00	Cash payment for invoice INV-002438	2026-07-03 21:22:36.423349
433	1	1	428	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002439	2026-07-03 21:30:47.639482
434	1	1	429	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002440	2026-07-03 21:31:12.729099
435	1	1	430	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002441	2026-07-03 21:46:04.162972
436	1	1	431	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002442	2026-07-03 21:49:55.342382
437	1	1	432	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002443	2026-07-03 21:51:34.051304
438	1	1	433	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002444	2026-07-03 21:52:22.065136
439	1	1	434	cash	\N	\N	\N	\N	\N	f	1619.00	0.00	Cash payment for invoice INV-002445	2026-07-03 21:53:36.012059
440	1	1	435	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002446	2026-07-03 21:57:24.068139
441	1	1	436	cash	\N	\N	\N	\N	\N	f	880.00	0.00	Cash payment for invoice INV-002448	2026-07-03 22:45:17.504611
442	1	1	437	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002449	2026-07-03 22:48:58.595716
443	1	1	438	cash	\N	\N	\N	\N	\N	f	1268.00	0.00	Cash payment for invoice INV-002450	2026-07-03 22:58:59.805729
444	1	1	439	cash	\N	\N	\N	\N	\N	f	2549.00	0.00	Cash payment for invoice INV-002452	2026-07-03 23:38:38.717576
445	1	1	440	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002453	2026-07-03 23:40:38.194254
446	1	1	441	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002454	2026-07-03 23:45:21.264481
447	1	1	442	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002455	2026-07-04 00:22:39.305052
448	1	1	443	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002456	2026-07-04 00:49:13.758812
449	1	1	444	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002457	2026-07-04 01:03:56.238523
450	1	1	445	cash	\N	\N	\N	\N	\N	f	1399.00	0.00	Cash payment for invoice INV-002458	2026-07-04 01:04:31.737869
451	1	1	446	cash	\N	\N	\N	\N	\N	f	889.00	0.00	Cash payment for invoice INV-002460	2026-07-04 01:55:59.443987
452	1	1	447	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002464	2026-07-04 14:31:25.929086
453	1	1	448	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002465	2026-07-04 15:00:38.515373
454	1	1	449	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002466	2026-07-04 15:26:33.601814
455	1	1	450	cash	\N	\N	\N	\N	\N	f	1700.00	0.00	Cash payment for invoice INV-002468	2026-07-04 16:48:30.105391
456	1	1	451	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002469	2026-07-04 17:05:42.718405
457	1	1	452	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002470	2026-07-04 17:37:22.198352
458	1	1	453	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002472	2026-07-04 18:56:57.365001
459	1	1	454	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002473	2026-07-04 19:19:54.232743
460	1	1	455	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002474	2026-07-04 19:23:50.720634
461	1	1	456	cash	\N	\N	\N	\N	\N	f	2877.00	0.00	Cash payment for invoice INV-002475	2026-07-04 19:30:27.745138
462	1	1	457	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002476	2026-07-04 19:36:53.633639
463	1	1	458	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002477	2026-07-04 19:37:56.038187
464	1	1	459	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002478	2026-07-04 19:49:33.728005
465	1	1	460	cash	\N	\N	\N	\N	\N	f	3300.00	0.00	Cash payment for invoice INV-002479	2026-07-04 19:53:21.385593
466	1	1	461	cash	\N	\N	\N	\N	\N	f	3499.00	0.00	Cash payment for invoice INV-002484	2026-07-04 20:04:11.785462
467	1	1	462	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002487	2026-07-04 20:17:36.835322
468	1	1	463	cash	\N	\N	\N	\N	\N	f	390.00	0.00	Cash payment for invoice INV-002488	2026-07-04 20:19:37.03673
469	1	1	464	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002489	2026-07-04 20:20:26.114146
470	1	1	465	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002491	2026-07-04 20:55:54.119446
471	1	1	466	cash	\N	\N	\N	\N	\N	f	2949.00	0.00	Cash payment for invoice INV-002492	2026-07-04 21:01:50.856654
472	1	1	467	cash	\N	\N	\N	\N	\N	f	710.00	0.00	Cash payment for invoice INV-002493	2026-07-04 21:13:06.686816
473	1	1	468	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002494	2026-07-04 21:19:59.501686
474	1	1	469	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002495	2026-07-04 21:20:36.178864
475	1	1	470	cash	\N	\N	\N	\N	\N	f	2949.00	0.00	Cash payment for invoice INV-002497	2026-07-04 21:29:13.894394
476	1	1	471	cash	\N	\N	\N	\N	\N	f	320.00	0.00	Cash payment for invoice INV-002498	2026-07-04 21:37:00.064457
477	1	1	472	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002499	2026-07-04 21:53:27.715106
478	1	1	473	cash	\N	\N	\N	\N	\N	f	399.00	0.00	Cash payment for invoice INV-002501	2026-07-04 22:00:15.266891
479	1	1	474	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002503	2026-07-04 22:31:01.804929
480	1	1	475	cash	\N	\N	\N	\N	\N	f	400.00	0.00	Cash payment for invoice INV-002504	2026-07-04 22:32:26.511613
481	1	1	476	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002505	2026-07-04 22:38:40.67967
482	1	1	477	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002506	2026-07-04 22:40:10.087306
483	1	1	478	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002510	2026-07-04 23:25:35.342696
484	1	1	479	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002511	2026-07-04 23:32:43.28552
485	1	1	480	cash	\N	\N	\N	\N	\N	f	1348.00	0.00	Cash payment for invoice INV-002512	2026-07-04 23:53:04.75483
486	1	1	481	cash	\N	\N	\N	\N	\N	f	2099.00	0.00	Cash payment for invoice INV-002513	2026-07-04 23:58:46.828137
487	1	1	482	cash	\N	\N	\N	\N	\N	f	1200.00	0.00	Cash payment for invoice INV-002517	2026-07-05 00:25:46.10546
488	1	1	483	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002518	2026-07-05 00:26:30.740659
489	1	1	484	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002519	2026-07-05 00:29:25.303778
490	1	1	485	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002520	2026-07-05 00:49:04.68334
491	1	1	486	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002521	2026-07-05 01:08:55.193926
492	1	1	487	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002523	2026-07-05 01:48:27.622812
493	1	1	488	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002529	2026-07-05 14:14:29.525653
494	1	1	489	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002531	2026-07-05 14:46:50.339551
495	1	1	490	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002535	2026-07-05 16:57:20.498352
496	1	1	491	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002536	2026-07-05 17:00:56.473381
497	1	1	492	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002537	2026-07-05 17:22:01.435441
498	1	1	493	cash	\N	\N	\N	\N	\N	f	710.00	0.00	Cash payment for invoice INV-002538	2026-07-05 17:25:44.225966
499	1	1	494	cash	\N	\N	\N	\N	\N	f	1950.00	0.00	Cash payment for invoice INV-002539	2026-07-05 17:56:26.995556
500	1	1	495	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002540	2026-07-05 18:22:46.908495
501	1	1	496	cash	\N	\N	\N	\N	\N	f	390.00	0.00	Cash payment for invoice INV-002542	2026-07-05 18:54:28.033444
502	1	1	497	cash	\N	\N	\N	\N	\N	f	799.00	0.00	Cash payment for invoice INV-002543	2026-07-05 18:55:40.144938
503	1	1	498	cash	\N	\N	\N	\N	\N	f	450.00	0.00	Cash payment for invoice INV-002544	2026-07-05 18:56:43.262357
504	1	1	499	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002545	2026-07-05 19:11:23.496023
505	1	1	500	cash	\N	\N	\N	\N	\N	f	190.00	0.00	Cash payment for invoice INV-002546	2026-07-05 19:14:40.153853
506	1	1	501	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002547	2026-07-05 19:25:08.817981
507	1	1	502	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002548	2026-07-05 19:30:05.303916
508	1	1	503	cash	\N	\N	\N	\N	\N	f	450.00	0.00	Cash payment for invoice INV-002549	2026-07-05 19:34:51.13751
509	1	1	504	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002550	2026-07-05 19:36:04.087252
510	1	1	505	cash	\N	\N	\N	\N	\N	f	2599.00	0.00	Cash payment for invoice INV-002551	2026-07-05 19:52:14.355555
511	1	1	506	cash	\N	\N	\N	\N	\N	f	2650.00	0.00	Cash payment for invoice INV-002553	2026-07-05 20:14:45.960128
512	1	1	507	cash	\N	\N	\N	\N	\N	f	540.00	0.00	Cash payment for invoice INV-002555	2026-07-05 20:54:28.656023
513	1	1	508	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002557	2026-07-05 21:21:12.568989
514	1	1	509	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002558	2026-07-05 21:23:41.085035
515	1	1	510	cash	\N	\N	\N	\N	\N	f	380.00	0.00	Cash payment for invoice INV-002559	2026-07-05 21:35:08.579552
516	1	1	511	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002560	2026-07-05 21:48:36.356276
517	1	1	512	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002561	2026-07-05 22:00:12.753533
518	1	1	513	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002562	2026-07-05 22:02:05.822829
519	1	1	514	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-002564	2026-07-05 22:07:03.554073
520	1	1	515	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002565	2026-07-05 22:16:31.580095
521	1	1	516	cash	\N	\N	\N	\N	\N	f	3649.00	0.00	Cash payment for invoice INV-002566	2026-07-05 22:37:04.923457
522	1	1	517	cash	\N	\N	\N	\N	\N	f	1249.00	0.00	Cash payment for invoice INV-002567	2026-07-05 22:40:50.196472
523	1	1	518	cash	\N	\N	\N	\N	\N	f	689.00	0.00	Cash payment for invoice INV-002568	2026-07-05 23:02:36.10588
524	1	1	519	cash	\N	\N	\N	\N	\N	f	2150.00	0.00	Cash payment for invoice INV-002569	2026-07-05 23:24:33.168822
525	1	1	520	cash	\N	\N	\N	\N	\N	f	290.00	0.00	Cash payment for invoice INV-002570	2026-07-05 23:29:23.90967
526	1	1	521	cash	\N	\N	\N	\N	\N	f	1699.00	0.00	Cash payment for invoice INV-002571	2026-07-05 23:30:42.721182
527	1	1	522	cash	\N	\N	\N	\N	\N	f	2349.00	0.00	Cash payment for invoice INV-002572	2026-07-05 23:32:35.951976
528	1	1	523	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002573	2026-07-05 23:41:07.34824
529	1	1	524	cash	\N	\N	\N	\N	\N	f	1869.00	0.00	Cash payment for invoice INV-002575	2026-07-05 23:52:11.541835
530	1	1	525	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002576	2026-07-05 23:52:44.806645
531	1	1	526	cash	\N	\N	\N	\N	\N	f	1869.00	0.00	Cash payment for invoice INV-002577	2026-07-06 00:10:29.212311
532	1	1	527	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002578	2026-07-06 00:31:01.685375
533	1	1	528	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002579	2026-07-06 00:45:08.323455
534	1	1	529	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002580	2026-07-06 01:06:05.001769
535	1	1	530	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002581	2026-07-06 01:19:06.770721
536	1	1	531	cash	\N	\N	\N	\N	\N	f	360.00	0.00	Cash payment for invoice INV-002582	2026-07-06 01:59:10.116637
537	1	1	532	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002583	2026-07-06 02:02:51.985165
538	1	1	533	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002588	2026-07-06 13:33:16.97553
539	1	1	534	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002589	2026-07-06 13:43:26.127903
540	1	1	535	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002591	2026-07-06 14:10:49.456109
541	1	1	536	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002592	2026-07-06 14:19:06.25352
542	1	1	537	cash	\N	\N	\N	\N	\N	f	550.00	0.00	Cash payment for invoice INV-002593	2026-07-06 14:29:37.731688
543	1	1	538	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002594	2026-07-06 14:46:41.619667
544	1	1	539	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002596	2026-07-06 16:02:04.191608
545	1	1	540	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002597	2026-07-06 16:06:36.447274
546	1	1	541	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002598	2026-07-06 16:29:54.93655
547	1	1	542	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002599	2026-07-06 16:51:25.122226
548	1	1	543	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002600	2026-07-06 16:54:06.089563
549	1	1	544	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002602	2026-07-06 17:05:44.168621
550	1	1	545	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002603	2026-07-06 17:07:58.421863
551	1	1	546	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002604	2026-07-06 17:13:29.517607
552	1	1	547	cash	\N	\N	\N	\N	\N	f	499.00	0.00	Cash payment for invoice INV-002605	2026-07-06 17:18:37.94208
553	1	1	548	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002606	2026-07-06 17:36:06.356752
554	1	1	549	cash	\N	\N	\N	\N	\N	f	320.00	0.00	Cash payment for invoice INV-002608	2026-07-06 18:30:24.677859
555	1	1	550	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002609	2026-07-06 19:06:39.413008
556	1	1	551	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002610	2026-07-06 19:36:55.510719
557	1	1	552	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002612	2026-07-06 20:16:31.713588
558	1	1	553	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002614	2026-07-06 20:24:18.265927
559	1	1	554	cash	\N	\N	\N	\N	\N	f	400.00	0.00	Cash payment for invoice INV-002615	2026-07-06 20:27:26.630712
560	1	1	555	cash	\N	\N	\N	\N	\N	f	1840.00	0.00	Cash payment for invoice INV-002616	2026-07-06 20:29:42.945928
561	1	1	556	cash	\N	\N	\N	\N	\N	f	440.00	0.00	Cash payment for invoice INV-002617	2026-07-06 20:39:45.187679
562	1	1	557	cash	\N	\N	\N	\N	\N	f	599.00	0.00	Cash payment for invoice INV-002618	2026-07-06 20:47:42.600971
563	1	1	558	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002619	2026-07-06 20:51:06.361449
564	1	1	559	cash	\N	\N	\N	\N	\N	f	220.00	0.00	Cash payment for invoice INV-002620	2026-07-06 20:55:15.822354
565	1	1	560	cash	\N	\N	\N	\N	\N	f	2399.00	0.00	Cash payment for invoice INV-002622	2026-07-06 21:12:44.192551
566	1	1	561	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002623	2026-07-06 21:17:23.162824
567	1	1	562	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002624	2026-07-06 21:19:56.095315
568	1	1	563	cash	\N	\N	\N	\N	\N	f	1499.00	0.00	Cash payment for invoice INV-002625	2026-07-06 21:24:50.716394
569	1	1	564	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002626	2026-07-06 21:36:36.537463
570	1	1	565	cash	\N	\N	\N	\N	\N	f	440.00	0.00	Cash payment for invoice INV-002627	2026-07-06 21:48:33.943004
571	1	1	566	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002628	2026-07-06 22:19:06.733991
572	1	1	567	cash	\N	\N	\N	\N	\N	f	1199.00	0.00	Cash payment for invoice INV-002629	2026-07-06 22:24:24.215016
573	1	1	568	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002630	2026-07-06 22:26:44.886038
574	1	1	569	cash	\N	\N	\N	\N	\N	f	1599.00	0.00	Cash payment for invoice INV-002631	2026-07-06 22:29:13.757122
575	1	1	570	cash	\N	\N	\N	\N	\N	f	1299.00	0.00	Cash payment for invoice INV-002632	2026-07-06 22:32:53.929265
576	1	1	571	cash	\N	\N	\N	\N	\N	f	1820.00	0.00	Cash payment for invoice INV-002633	2026-07-06 22:34:30.187128
577	1	1	572	cash	\N	\N	\N	\N	\N	f	1020.00	0.00	Cash payment for invoice INV-002634	2026-07-06 22:39:39.139776
578	1	1	573	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002635	2026-07-06 22:41:09.208525
579	1	1	574	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002636	2026-07-06 22:52:20.46641
580	1	1	575	cash	\N	\N	\N	\N	\N	f	640.00	0.00	Cash payment for invoice INV-002638	2026-07-06 23:05:48.371347
581	1	1	576	cash	\N	\N	\N	\N	\N	f	100.00	0.00	Cash payment for invoice INV-002639	2026-07-06 23:20:45.011773
582	1	1	577	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002640	2026-07-06 23:21:38.577527
583	1	1	578	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002641	2026-07-06 23:38:47.998365
584	1	1	579	cash	\N	\N	\N	\N	\N	f	1399.00	0.00	Cash payment for invoice INV-002642	2026-07-06 23:42:45.955025
585	1	1	580	cash	\N	\N	\N	\N	\N	f	170.00	0.00	Cash payment for invoice INV-002643	2026-07-06 23:50:20.161304
586	1	1	581	cash	\N	\N	\N	\N	\N	f	2396.00	0.00	Cash payment for invoice INV-002644	2026-07-06 23:55:17.230537
587	1	1	582	cash	\N	\N	\N	\N	\N	f	699.00	0.00	Cash payment for invoice INV-002645	2026-07-07 00:08:40.18105
588	1	1	583	cash	\N	\N	\N	\N	\N	f	1650.00	0.00	Cash payment for invoice INV-002646	2026-07-07 00:13:40.2069
589	1	1	584	cash	\N	\N	\N	\N	\N	f	440.00	0.00	Cash payment for invoice INV-002647	2026-07-07 00:16:26.423845
590	1	1	585	cash	\N	\N	\N	\N	\N	f	1269.00	0.00	Cash payment for invoice INV-002649	2026-07-07 00:58:20.949991
591	1	1	586	cash	\N	\N	\N	\N	\N	f	1839.00	0.00	Cash payment for invoice INV-002650	2026-07-07 01:04:59.586377
592	1	1	587	cash	\N	\N	\N	\N	\N	f	200.00	0.00	Cash payment for invoice INV-002651	2026-07-07 01:11:13.246255
593	1	1	588	cash	\N	\N	\N	\N	\N	f	880.00	0.00	Cash payment for invoice INV-002659	2026-07-07 13:23:17.057428
594	1	1	589	cash	\N	\N	\N	\N	\N	f	850.00	0.00	Cash payment for invoice INV-002660	2026-07-07 13:57:13.133413
595	1	1	590	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002662	2026-07-07 15:02:30.801043
596	1	1	591	cash	\N	\N	\N	\N	\N	f	1899.00	0.00	Cash payment for invoice INV-002664	2026-07-07 16:44:49.620739
597	1	1	592	cash	\N	\N	\N	\N	\N	f	2189.00	0.00	Cash payment for invoice INV-002665	2026-07-07 16:47:56.717569
598	1	1	593	cash	\N	\N	\N	\N	\N	f	1850.00	0.00	Cash payment for invoice INV-002666	2026-07-07 16:49:01.888955
599	1	1	594	cash	\N	\N	\N	\N	\N	f	1150.00	0.00	Cash payment for invoice INV-002667	2026-07-07 17:30:06.062
\.


--
-- Data for Name: account_types; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.account_types (id, type_code, type_name, default_side, description, sort_order, created_at) FROM stdin;
1	AST	Assets	DR	All asset accounts	1	2025-11-05 22:16:22
2	LBT	Liabilities	CR	All liability accounts	2	2025-11-05 22:16:22
3	EQT	Equity	CR	All equity accounts	3	2025-11-05 22:16:22
4	REV	Revenue	CR	All revenue accounts	4	2025-11-05 22:16:22
5	EXP	Expenses	DR	All expense accounts	5	2025-11-05 22:16:22
\.


--
-- Data for Name: bank_access; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.bank_access (user_id, bank_account_id, created_at, created_by) FROM stdin;
\.


--
-- Data for Name: bank_accounts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.bank_accounts (id, bank_name, account_title, chart_of_account_id, mapped_at, mapped_by, account_number, iban, branch_name, branch_code, swift_code, address, is_active, created_at) FROM stdin;
\.


--
-- Data for Name: bom_components; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.bom_components (id, bom_id, component_item_id, quantity) FROM stdin;
\.


--
-- Data for Name: bom_master; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.bom_master (id, item_id, description, created_at) FROM stdin;
\.


--
-- Data for Name: branch_access; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.branch_access (user_id, branch_id, created_at, created_by) FROM stdin;
1	1	2026-06-02 16:05:21.122153	1
2	1	2026-06-23 20:53:17.246262	1
4	1	2026-06-23 20:53:28.22266	1
\.


--
-- Data for Name: branch_info; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.branch_info (id, default_store_id, branch_name, branch_code, branch_address, created_at, ntn, strn, branch_phone, facebook_url, instagram_url, youtube_url, province, is_active, branch_type, is_default) FROM stdin;
1	1	BiteSa	br1	Shah Alla Dita D-12, near Saver Cash n Carry Islamabad	2026-06-20 12:34:35.265759			03369717867	\N	\N	\N	Islamabad Capital Territory	t	branch	t
\.


--
-- Data for Name: card_types; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.card_types (id, card_code, card_name, display_name, icon_class, color_class, default_charge_rate, sort_order, is_active, created_at, revenue_account_id) FROM stdin;
1	VISA	VISA	VISA Card	fab fa-cc-visa	btn-outline-primary	0.00	1	t	2025-11-05 22:16:38	49
2	MASTER	MasterCard	MasterCard	fab fa-cc-mastercard	btn-outline-warning	0.00	2	t	2025-11-05 22:16:38	49
3	QR	QR Code	QR Payment	fas fa-qrcode	btn-outline-success	0.00	3	t	2025-11-05 22:16:38	49
\.


--
-- Data for Name: categories; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.categories (id, name, icon) FROM stdin;
5	Extra Toppings	assets/img/categories/main.png
4	DRINKS	assets/img/categories/bevrages.png
3	DEAL	assets/img/categories/burger.png
2	PIZZA	assets/img/categories/pizza.png
1	STARTER	assets/img/icons/heart.svg
\.


--
-- Data for Name: chart_of_accounts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.chart_of_accounts (id, account_code, account_name, account_type, account_category, parent_account_id, account_level, is_active, description, opening_balance, current_balance, store_id, created_at, updated_at) FROM stdin;
2	4001	Service Income	revenue	revenue	\N	1	t	Service-related income	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
3	4002	Sales Discount	revenue	revenue	\N	1	t	Sales discounts given	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
5	4004	Other Income	revenue	revenue	\N	1	t	Miscellaneous income	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
7	6000	Operating Expenses	expense	operating_expense	\N	1	t	All operating expenses	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
8	6001	Payroll Expenses	expense	operating_expense	\N	2	t	Wages and salaries	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
9	6002	Rent Expense	expense	operating_expense	\N	2	t	Premises rent	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
11	6004	Marketing	expense	operating_expense	\N	2	t	Advertising and promotion	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
12	6005	Supplies	expense	operating_expense	\N	2	t	Operating supplies	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
22	1103	Petty Cash	asset	current_asset	\N	3	t	Petty cash fund	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
13	6006	Maintenance	expense	operating_expense	\N	2	t	Equipment maintenance	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
14	6007	Insurance	expense	operating_expense	\N	2	t	Business insurance	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
15	6008	Professional Fees	expense	operating_expense	\N	2	t	Legal, accounting fees	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
16	6009	Bank Charges	expense	operating_expense	\N	2	t	Bank fees and charges	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
17	6010	Depreciation	expense	operating_expense	\N	2	t	Asset depreciation	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
19	1100	Cash and Cash Equivalents	asset	current_asset	\N	2	t	Cash and bank accounts	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
21	1102	Bank Accounts	asset	current_asset	\N	3	t	All bank accounts	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
23	1200	Accounts Receivable	asset	current_asset	\N	2	t	Money owed by customers	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
25	1400	Prepaid Expenses	asset	current_asset	\N	2	t	Prepaid rent, insurance, etc.	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
26	1500	Tax Recoverable	asset	current_asset	\N	2	t	Input tax recoverable	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
27	2000	Fixed Assets	asset	fixed_asset	\N	1	t	All fixed assets	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
28	2100	Equipment	asset	fixed_asset	\N	2	t	Kitchen equipment, POS systems	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
29	2200	Furniture and Fixtures	asset	fixed_asset	\N	2	t	Tables, chairs, decor	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
30	2300	Vehicles	asset	fixed_asset	\N	2	t	Delivery vehicles	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
31	2400	Buildings	asset	fixed_asset	\N	2	t	Restaurant premises	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
32	2500	Accumulated Depreciation	asset	fixed_asset	\N	2	t	Accumulated depreciation	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
33	3000	Current Liabilities	liability	current_liability	\N	1	t	All current liabilities	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
35	3200	Accrued Expenses	liability	current_liability	\N	2	t	Accrued wages, utilities	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
36	3300	Taxes Payable	liability	current_liability	\N	2	t	Sales tax, income tax	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
38	4100	Owner's Investment	equity	equity	\N	2	t	Initial and additional investments	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
37	3400	Unearned Revenue	liability	current_liability	\N	2	t	Advance payments received	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
39	4200	Retained Earnings	equity	equity	\N	2	t	Accumulated profits/losses	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
40	4300	Current Year Earnings	equity	equity	\N	2	t	Current year profit/loss	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
41	6011	Stock Loss	expense	operating_expense	\N	2	t	Losses due to stock adjustments, damage, theft, or obsolescence	0.00	0.00	1	2025-11-05 22:16:23	2026-06-02 21:15:22.959671
43	7910	Cash Adjustments	expense	other_expense	\N	2	t	Adjustments made to reconcile cash balances	0.00	0.00	1	2026-04-02 19:24:27	2026-06-02 21:15:22.959671
44	7911	Supplier Account Payable	liability	current_liability	\N	1	t		0.00	0.00	1	2026-04-02 20:07:09	2026-06-02 21:15:22.959671
45	4005	Stock Gain	revenue	revenue	\N	1	t	Income from physical inventory increases (stock adjustments)	0.00	0.00	1	2026-04-03 18:59:27	2026-06-02 21:15:22.959671
46	1104	Card Unsettled Receipts	asset	current_asset	19	3	t	Card payments pending settlement from bank/processor	0.00	0.00	1	2026-04-24 17:33:50	2026-06-02 21:15:22.959671
1	4000	Sales Revenue	revenue	revenue	\N	1	t	Primary sales income	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
34	3100	Accounts Payable	liability	current_liability	\N	2	t	Money owed to suppliers	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
6	5000	Cost of Goods Sold	expense	cost_of_sales	\N	1	t	Direct cost of inventory sold	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
18	1000	Current Assets	asset	current_asset	\N	1	t	All current assets	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
10	6003	Utilities	expense	operating_expense	\N	2	t	Electricity, water, gas	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
4	4003	Sales Return	revenue	revenue	\N	1	t	Sales returns and refunds	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
42	6012	Sample Test Bank	asset	current_asset	\N	1	t		0.00	0.00	1	2026-03-29 16:17:23	2026-06-02 21:15:22.959671
24	1300	Inventory	asset	current_asset	\N	2	t	Stock and supplies	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
20	1101	Cash in Hand	asset	current_asset	\N	3	t	Physical cash on hand	0.00	0.00	1	2025-11-05 22:16:22	2026-06-02 21:15:22.959671
48	4010	Cash Sales	revenue	revenue	1	2	t	Revenue from cash sales at POS	0.00	0.00	1	2026-06-25 20:31:32.386299	2026-06-25 20:31:32.386299
49	4011	Card Sales	revenue	revenue	1	2	t	Revenue from card / QR sales at POS (default when card type has no mapping)	0.00	0.00	1	2026-06-25 20:31:32.39197	2026-06-25 20:31:32.39197
50	1510	Advance Income Tax	asset	current_asset	\N	2	t	Advance / prepaid income tax on purchases (adjustable against income tax)	0.00	0.00	1	2026-06-25 20:31:32.413697	2026-06-25 20:31:32.413697
\.


--
-- Data for Name: cheque_books; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.cheque_books (id, bank_account_id, branch_id, first_cheque_number, last_cheque_number, cheque_count, notes, created_by, created_at) FROM stdin;
\.


--
-- Data for Name: cheques; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.cheques (id, cheque_book_id, bank_account_id, branch_id, cheque_number, status, amount, sale_id, payee_name, issue_date, cleared_date, bounced_date, memo, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: cus_outstanding; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.cus_outstanding (id, sale_id, customer_id, amount, status, created_at) FROM stdin;
\.


--
-- Data for Name: cus_payments; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.cus_payments (id, store_id, customer_id, sale_id, balance_entry_id, amount_paid, payment_date, remarks) FROM stdin;
\.


--
-- Data for Name: customer_balance_entries; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.customer_balance_entries (id, entry_number, customer_id, store_id, entry_type, amount, remaining_amount, reference_no, remarks, map_account_id, journal_entry_id, status, created_by, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: customer_categories; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.customer_categories (id, category_name, description, created_at) FROM stdin;
\.


--
-- Data for Name: customer_subscription_invoices; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.customer_subscription_invoices (id, subscription_id, sale_id, period_start, period_end, amount, created_at) FROM stdin;
\.


--
-- Data for Name: customer_subscriptions; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.customer_subscriptions (id, store_id, customer_id, item_id, subscription_plan_id, status, start_date, current_period_end, next_renewal_date, amount, auto_renew, notes, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: customers; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.customers (id, primary_store_id, name, phone, email, address, is_walk_in, ntn, province, active, discount_applied, discount_rate, withholding_rate, category_id, customer_type, created_at) FROM stdin;
1	\N	NAEEM AFTAB	03006673061		xyz	f	\N	Punjab	t	N	0.00	0.00	\N	retail	2026-06-20 13:17:09.700052
2	\N	st5	03071436992		shah alla ditta st 5	f	\N	Punjab	t	N	0.00	0.00	\N	retail	2026-07-03 16:21:04.938637
3	\N	zohaib	03079670332		st 8	f	\N	Punjab	t	N	0.00	0.00	\N	retail	2026-07-04 18:54:45.747453
\.


--
-- Data for Name: deal_items; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.deal_items (id, deal_id, selection_type, category_id, sub_category_id, item_id, sort_order, created_at, min_selection, max_selection) FROM stdin;
\.


--
-- Data for Name: deals; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.deals (id, item_id, deal_name, deal_price, is_active, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: delivery_orders; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.delivery_orders (id, store_id, sale_id, customer_id, rider_id, delivery_status, delivery_address, delivery_time, created_at) FROM stdin;
1	\N	7	1	1	pending	xyz	2026-06-20 14:16:00	2026-06-20 13:17:41.276416
2	\N	392	2	1	pending	shah alla ditta st 5	2026-07-03 17:21:00	2026-07-03 16:22:41.925939
3	\N	453	3	1	pending	st 8	2026-07-04 19:55:00	2026-07-04 18:56:57.365001
\.


--
-- Data for Name: delivery_riders; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.delivery_riders (id, assigned_store_id, name, phone, email, vehicle_number, is_active, created_at) FROM stdin;
1	\N	RAMEEZ				t	2026-06-20 13:16:40.781672
\.


--
-- Data for Name: dinein_floors; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.dinein_floors (id, store_id, name, description, is_active) FROM stdin;
1	\N	Dine In Hall		t
\.


--
-- Data for Name: dinein_tables; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.dinein_tables (id, store_id, floor_id, table_name, seats, status, is_active) FROM stdin;
2	\N	1	2	4	available	t
3	\N	1	3	4	available	t
4	\N	1	4	4	available	t
5	\N	1	5	4	available	t
6	\N	1	6	4	available	t
1	\N	1	1	4	occupied	t
\.


--
-- Data for Name: discount_categories; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.discount_categories (id, category_name, display_order, is_active, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: discounts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.discounts (id, discount_name, discount_code, discount_type, discount_rate, discount_cap, category_id, is_active, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: expense_accounts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.expense_accounts (id, category_id, subcategory_id, name, chart_of_account_id, mapped_at, mapped_by) FROM stdin;
\.


--
-- Data for Name: expense_categories; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.expense_categories (id, name) FROM stdin;
\.


--
-- Data for Name: expense_subcategories; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.expense_subcategories (id, category_id, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: expenses; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.expenses (id, store_id, branch_id, shift_id, expense_payment_group_id, account_id, remarks, amount, expense_date, payment_method, bank_account_id, journal_entry_id, status, approved_by, approved_at, reversal_date, reversal_reason, reversal_journal_id, rejection_reason, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: fbr_config; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_config (id, is_enabled, display_name, api_url, pos_id, usin) FROM stdin;
\.


--
-- Data for Name: fbr_digital; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_digital (id, is_enabled, api_url, token, mode, created_at, updated_at, validate_api_url, sandbox_token, production_token, post_api_url_sandbox, post_api_url_production, validate_api_url_sandbox, validate_api_url_production, business_activity, business_sector, eligible_scenario_ids, block_sale_on_failure) FROM stdin;
\.


--
-- Data for Name: fbr_digital_invoices; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_digital_invoices (id, sale_id, fbr_invoice_number, qr_code, scenario_id, response_status, created_at) FROM stdin;
\.


--
-- Data for Name: fbr_digital_logs; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_digital_logs (id, sale_id, scenario_id, endpoint, request_data, response_data, http_status, created_at) FROM stdin;
\.


--
-- Data for Name: fbr_digital_scenarios; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_digital_scenarios (id, scenario_id, status, request_data, response_data, fbr_invoice_number, error_message, tested_at, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: fbr_invoices; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_invoices (id, sale_id, fbr_invoice_number, qr_code, created_at) FROM stdin;
\.


--
-- Data for Name: fbr_logs; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fbr_logs (id, sale_id, response, created_at) FROM stdin;
\.


--
-- Data for Name: fiscal_period_setup; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fiscal_period_setup (start_year, start_month, start_day, month_count, open_year) FROM stdin;
\.


--
-- Data for Name: fiscal_periods; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.fiscal_periods (id, period_code, period_name, period_year, start_date, end_date, is_closed, period_status, closed_by, closed_at, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: hold_items; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.hold_items (id, store_id, hold_id, item_id, item_name, quantity, unit_price, original_unit_price, discount_type, discount_value, discount_per_unit, discount_amount, tax_rate, modifiers, remarks, void_status, template_id, is_deal, deal_selections, serial_ids) FROM stdin;
7	1	3	26	FIRE BAKED WINGS	1.000	400.00	400.00	none	0.00	0.00	0.00	0.00	[]		void	\N	f	\N	\N
8	1	3	27	CHUNKS WITH FRESHLY SAUCE	1.000	999.00	999.00	none	0.00	0.00	0.00	0.00	[]		void	\N	f	\N	\N
9	1	3	28	CALZONE STICKS	1.000	650.00	650.00	none	0.00	0.00	0.00	0.00	[]		void	\N	f	\N	\N
10	1	3	21	CRISPY CHICKEN WINGS 10	1.000	699.00	699.00	none	0.00	0.00	0.00	0.00	[]		void	\N	f	\N	\N
11	1	3	23	CHICKEN NUGGETS 5 PCS	1.000	399.00	399.00	none	0.00	0.00	0.00	0.00	[]		void	\N	f	\N	\N
1	1	1	11	NR  DRINKS	1.000	100.00	100.00	none	0.00	0.00	0.00	0.00	[]		active	\N	f	\N	\N
2	1	2	11	NR  DRINKS	1.000	100.00	100.00	none	0.00	0.00	0.00	0.00	[]		active	\N	f	\N	\N
\.


--
-- Data for Name: hold_orders; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.hold_orders (id, token_number, shift_id, store_id, customer_name, customer_id, table_id, order_mode, rider_id, created_at, updated_at, total_amount, discount_id, discount_type, discount_value, discount_amount, order_taker_id, number_of_guests, reserved_invoice_number) FROM stdin;
1	1	20	1	Walk-in Customer	0	\N	take_away	\N	2026-07-07 21:11:07.034536	2026-07-07 21:11:07.034536	100.00	\N	none	0.00	0.00	\N	\N	INV-002683
2	\N	\N	1	Walk-in Customer	0	1	dine_in	\N	2026-07-07 21:19:44.265869	2026-07-07 21:19:44.265869	100.00	\N	none	0.00	0.00	\N	\N	INV-002693
\.


--
-- Data for Name: inventory_lots; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.inventory_lots (id, item_id, store_id, branch_id, purchase_id, purchase_item_id, lot_number, expiry_date, mfg_date, qty_received, qty_on_hand, unit_cost, status_code, remarks, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: inventory_movements; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.inventory_movements (id, item_id, store_id, branch_id, movement_type, reference_type, reference_id, quantity, created_at) FROM stdin;
1	40	1	1	out	sale	1	1.000000	2026-06-20 12:29:58.75718
2	36	1	1	out	sale	1	1.000000	2026-06-20 12:29:58.75718
3	71	1	2	out	sale	2	1.000000	2026-06-20 12:43:19.541854
4	10	1	2	out	sale	3	1.000000	2026-06-20 13:04:08.928182
5	71	1	2	out	sale	4	1.000000	2026-06-20 13:10:11.754477
6	36	1	2	out	sale	4	1.000000	2026-06-20 13:10:11.754477
7	40	1	2	out	sale	5	1.000000	2026-06-20 13:14:00.346878
8	14	1	2	out	sale	5	1.000000	2026-06-20 13:14:00.346878
9	13	1	2	out	sale	5	1.000000	2026-06-20 13:14:00.346878
10	11	1	2	out	sale	7	1.000000	2026-06-20 13:17:41.276416
11	11	1	1	in	sale_return	1	1.000000	2026-06-20 13:18:59.473915
12	13	1	1	in	sale_return	2	1.000000	2026-06-20 13:19:16.310079
13	14	1	1	in	sale_return	2	1.000000	2026-06-20 13:19:16.310079
14	40	1	1	in	sale_return	2	1.000000	2026-06-20 13:19:16.310079
15	36	1	1	in	sale_return	3	1.000000	2026-06-20 13:19:21.670616
16	71	1	1	in	sale_return	3	1.000000	2026-06-20 13:19:21.670616
17	10	1	1	in	sale_return	4	1.000000	2026-06-20 13:19:25.115256
18	71	1	1	in	sale_return	5	1.000000	2026-06-20 13:19:28.874751
19	36	1	1	in	sale_return	6	1.000000	2026-06-20 13:19:32.670325
20	40	1	1	in	sale_return	6	1.000000	2026-06-20 13:19:32.670325
21	14	1	1	out	sale	8	1.000000	2026-06-20 15:11:56.550459
22	11	1	1	out	sale	9	1.000000	2026-06-20 15:23:24.061965
23	26	1	1	out	sale	10	1.000000	2026-06-20 15:33:38.383041
24	68	1	1	out	sale	11	1.000000	2026-06-20 16:04:07.34436
25	11	1	1	out	sale	12	1.000000	2026-06-20 16:11:00.48111
26	5	1	1	out	sale	13	1.000000	2026-06-20 16:51:18.910034
27	11	1	1	out	sale	14	1.000000	2026-06-20 17:32:47.922753
28	56	1	1	out	sale	15	1.000000	2026-06-20 17:39:24.491649
29	17	1	1	out	sale	16	1.000000	2026-06-20 17:48:56.463754
30	28	1	1	out	sale	16	1.000000	2026-06-20 17:48:56.463754
31	10	1	1	out	sale	17	1.000000	2026-06-20 18:15:24.665003
32	47	1	1	out	sale	18	1.000000	2026-06-20 18:57:51.113544
33	1	1	1	out	sale	19	1.000000	2026-06-20 19:19:06.724157
34	47	1	1	out	sale	19	1.000000	2026-06-20 19:19:06.724157
35	11	1	1	out	sale	20	2.000000	2026-06-20 19:40:25.44298
36	17	1	1	out	sale	20	1.000000	2026-06-20 19:40:25.44298
37	8	1	1	out	sale	20	1.000000	2026-06-20 19:40:25.44298
38	16	1	1	out	sale	21	1.000000	2026-06-20 19:45:37.60733
39	26	1	1	out	sale	21	1.000000	2026-06-20 19:45:37.60733
40	43	1	1	out	sale	22	1.000000	2026-06-20 19:53:44.815005
41	13	1	1	out	sale	23	1.000000	2026-06-20 20:07:42.273198
42	65	1	1	out	sale	23	1.000000	2026-06-20 20:07:42.273198
43	26	1	1	out	sale	23	1.000000	2026-06-20 20:07:42.273198
44	71	1	1	out	sale	23	1.000000	2026-06-20 20:07:42.273198
45	68	1	1	out	sale	24	1.000000	2026-06-20 20:09:11.329223
46	76	1	1	out	sale	25	1.000000	2026-06-20 20:29:14.915057
47	76	1	1	out	sale	26	1.000000	2026-06-20 20:29:50.93186
48	56	1	1	out	sale	27	1.000000	2026-06-20 20:40:14.750888
49	13	1	1	out	sale	28	1.000000	2026-06-20 21:09:11.440163
50	16	1	1	out	sale	28	1.000000	2026-06-20 21:09:11.440163
51	47	1	1	out	sale	28	1.000000	2026-06-20 21:09:11.440163
52	62	1	1	out	sale	29	2.000000	2026-06-20 21:17:51.482706
53	64	1	1	out	sale	30	1.000000	2026-06-20 21:35:14.918518
54	11	1	1	out	sale	31	1.000000	2026-06-20 21:39:03.917544
55	58	1	1	out	sale	32	1.000000	2026-06-20 21:58:49.105483
56	13	1	1	out	sale	33	1.000000	2026-06-20 22:28:45.467064
57	47	1	1	out	sale	34	1.000000	2026-06-20 22:49:36.504951
58	12	1	1	out	sale	35	1.000000	2026-06-20 22:50:01.238408
59	76	1	1	out	sale	36	1.000000	2026-06-20 22:50:24.070837
60	13	1	1	out	sale	37	1.000000	2026-06-21 00:04:40.639969
61	56	1	1	out	sale	37	1.000000	2026-06-21 00:04:40.639969
62	76	1	1	out	sale	38	1.000000	2026-06-21 00:11:30.826491
63	8	1	1	out	sale	39	3.000000	2026-06-21 00:23:45.28498
64	11	1	1	out	sale	40	2.000000	2026-06-21 00:41:25.916368
65	13	1	1	out	sale	41	5.000000	2026-06-21 00:56:52.287704
66	11	1	1	out	sale	42	1.000000	2026-06-21 01:05:18.031112
67	24	1	1	out	sale	42	1.000000	2026-06-21 01:05:18.031112
68	17	1	1	out	sale	42	1.000000	2026-06-21 01:05:18.031112
69	61	1	1	out	sale	43	1.000000	2026-06-21 01:10:59.557131
70	36	1	1	out	sale	44	1.000000	2026-06-21 01:29:25.163414
71	1	1	1	out	sale	45	2.000000	2026-06-21 15:18:52.83988
72	11	1	1	out	sale	46	1.000000	2026-06-21 15:25:16.310126
73	53	1	1	out	sale	47	1.000000	2026-06-21 15:34:37.158079
74	9	1	1	out	sale	48	1.000000	2026-06-21 15:49:33.2696
75	14	1	1	out	sale	49	1.000000	2026-06-21 16:03:13.940382
76	24	1	1	out	sale	49	1.000000	2026-06-21 16:03:13.940382
77	21	1	1	out	sale	50	1.000000	2026-06-21 16:48:14.14639
78	21	1	1	out	sale	51	1.000000	2026-06-21 16:49:22.001119
79	73	1	1	out	sale	52	1.000000	2026-06-21 17:02:22.005054
80	12	1	1	out	sale	53	1.000000	2026-06-21 18:48:18.755921
81	12	1	1	out	sale	54	1.000000	2026-06-21 18:49:00.257856
82	36	1	1	out	sale	55	1.000000	2026-06-21 19:18:05.561173
83	50	1	1	out	sale	56	1.000000	2026-06-21 20:32:47.85695
84	10	1	1	out	sale	57	1.000000	2026-06-21 20:51:01.520655
85	48	1	1	out	sale	58	1.000000	2026-06-21 21:23:07.54238
86	8	1	1	out	sale	59	1.000000	2026-06-21 21:28:55.46377
87	38	1	1	out	sale	59	1.000000	2026-06-21 21:28:55.46377
88	68	1	1	out	sale	60	1.000000	2026-06-21 21:50:41.966925
89	13	1	1	out	sale	61	1.000000	2026-06-21 22:41:50.400846
90	11	1	1	out	sale	62	1.000000	2026-06-21 23:12:10.285816
91	13	1	1	out	sale	62	1.000000	2026-06-21 23:12:10.285816
92	57	1	1	out	sale	62	1.000000	2026-06-21 23:12:10.285816
93	11	1	1	out	sale	63	1.000000	2026-06-21 23:43:32.926591
94	73	1	1	out	sale	63	1.000000	2026-06-21 23:43:32.926591
95	71	1	1	out	sale	64	1.000000	2026-06-21 23:55:03.001583
96	57	1	1	out	sale	65	1.000000	2026-06-22 00:16:18.922913
97	66	1	1	out	sale	66	1.000000	2026-06-22 00:51:50.229043
98	20	1	1	out	sale	67	1.000000	2026-06-22 02:09:32.356636
99	26	1	1	out	sale	67	1.000000	2026-06-22 02:09:32.356636
100	5	1	1	out	sale	67	1.000000	2026-06-22 02:09:32.356636
101	12	1	1	out	sale	67	1.000000	2026-06-22 02:09:32.356636
102	38	1	1	out	sale	67	2.000000	2026-06-22 02:09:32.356636
103	9	1	1	out	sale	68	1.000000	2026-06-22 02:14:16.997999
104	13	1	1	out	sale	69	1.000000	2026-06-22 15:05:29.018911
105	10	1	1	out	sale	69	2.000000	2026-06-22 15:05:29.018911
106	12	1	1	out	sale	70	1.000000	2026-06-22 16:34:14.905355
107	17	1	1	out	sale	70	1.000000	2026-06-22 16:34:14.905355
108	36	1	1	out	sale	70	3.000000	2026-06-22 16:34:14.905355
109	73	1	1	out	sale	71	1.000000	2026-06-22 17:59:50.610952
110	9	1	1	out	sale	72	1.000000	2026-06-22 18:10:29.039575
111	10	1	1	out	sale	73	1.000000	2026-06-22 19:27:09.313776
112	17	1	1	out	sale	74	1.000000	2026-06-22 20:12:21.642631
113	73	1	1	out	sale	74	1.000000	2026-06-22 20:12:21.642631
114	10	1	1	out	sale	75	1.000000	2026-06-22 20:33:01.352117
115	43	1	1	out	sale	76	1.000000	2026-06-22 21:38:54.040756
116	43	1	1	out	sale	77	1.000000	2026-06-22 21:41:13.976765
117	17	1	1	out	sale	78	1.000000	2026-06-22 22:00:32.866334
118	13	1	1	out	sale	78	1.000000	2026-06-22 22:00:32.866334
119	68	1	1	out	sale	78	1.000000	2026-06-22 22:00:32.866334
120	10	1	1	out	sale	78	1.000000	2026-06-22 22:00:32.866334
121	21	1	1	out	sale	78	2.000000	2026-06-22 22:00:32.866334
122	48	1	1	out	sale	79	1.000000	2026-06-22 22:01:17.3652
123	73	1	1	out	sale	80	1.000000	2026-06-22 22:03:45.507081
124	58	1	1	out	sale	81	1.000000	2026-06-22 22:14:28.025962
125	9	1	1	out	sale	82	1.000000	2026-06-22 22:20:55.759661
126	61	1	1	out	sale	83	1.000000	2026-06-22 22:45:00.968768
127	21	1	1	out	sale	84	1.000000	2026-06-22 22:46:04.681402
128	76	1	1	out	sale	85	1.000000	2026-06-22 22:56:35.086511
129	9	1	1	out	sale	86	1.000000	2026-06-22 23:13:04.205419
130	60	1	1	out	sale	87	1.000000	2026-06-22 23:15:30.582745
131	62	1	1	out	sale	87	1.000000	2026-06-22 23:15:30.582745
132	10	1	1	out	sale	88	1.000000	2026-06-22 23:23:39.520958
133	76	1	1	out	sale	89	1.000000	2026-06-22 23:59:24.064419
134	10	1	1	out	sale	90	1.000000	2026-06-23 12:12:52.480144
135	13	1	1	out	sale	91	1.000000	2026-06-23 13:54:07.09401
136	8	1	1	out	sale	92	1.000000	2026-06-23 14:39:14.104477
137	62	1	1	out	sale	93	1.000000	2026-06-23 17:02:45.424513
138	13	1	1	out	sale	94	1.000000	2026-06-23 17:07:05.225819
139	17	1	1	out	sale	94	1.000000	2026-06-23 17:07:05.225819
140	23	1	1	out	sale	94	1.000000	2026-06-23 17:07:05.225819
141	9	1	1	out	sale	94	1.000000	2026-06-23 17:07:05.225819
142	14	1	1	out	sale	95	1.000000	2026-06-23 17:16:37.309199
143	36	1	1	out	sale	95	1.000000	2026-06-23 17:16:37.309199
144	1	1	1	out	sale	96	1.000000	2026-06-23 18:22:30.660052
145	10	1	1	out	sale	96	1.000000	2026-06-23 18:22:30.660052
146	58	1	1	out	sale	97	1.000000	2026-06-23 18:29:14.96974
147	48	1	1	out	sale	98	1.000000	2026-06-23 18:35:37.704272
148	11	1	1	out	sale	99	1.000000	2026-06-23 19:04:50.188865
149	48	1	1	out	sale	99	1.000000	2026-06-23 19:04:50.188865
150	76	1	1	out	sale	100	1.000000	2026-06-23 19:18:15.637949
151	38	1	1	out	sale	101	2.000000	2026-06-23 20:35:06.081193
152	44	1	1	out	sale	101	2.000000	2026-06-23 20:35:06.081193
153	24	1	1	out	sale	102	1.000000	2026-06-23 20:46:21.19597
154	9	1	1	out	sale	103	1.000000	2026-06-23 20:51:17.778977
155	73	1	1	out	sale	104	1.000000	2026-06-23 21:35:57.180324
156	65	1	1	out	sale	105	1.000000	2026-06-23 21:44:53.96792
157	11	1	1	out	sale	106	2.000000	2026-06-23 22:23:29.339507
158	12	1	1	out	sale	107	1.000000	2026-06-23 22:26:29.020562
159	48	1	1	out	sale	107	1.000000	2026-06-23 22:26:29.020562
160	10	1	1	out	sale	108	1.000000	2026-06-23 22:50:47.608215
161	13	1	1	out	sale	109	1.000000	2026-06-23 22:56:04.209379
162	63	1	1	out	sale	109	1.000000	2026-06-23 22:56:04.209379
163	27	1	1	out	sale	109	1.000000	2026-06-23 22:56:04.209379
164	56	1	1	out	sale	110	1.000000	2026-06-23 22:57:20.040518
165	12	1	1	out	sale	111	1.000000	2026-06-23 22:59:59.461713
166	63	1	1	out	sale	111	1.000000	2026-06-23 22:59:59.461713
167	13	1	1	out	sale	112	1.000000	2026-06-23 23:19:08.304192
168	9	1	1	out	sale	112	1.000000	2026-06-23 23:19:08.304192
169	1	1	1	out	sale	112	1.000000	2026-06-23 23:19:08.304192
170	76	1	1	out	sale	113	1.000000	2026-06-23 23:19:56.676264
171	10	1	1	out	sale	114	1.000000	2026-06-23 23:29:29.387103
172	13	1	1	out	sale	115	1.000000	2026-06-23 23:38:09.222203
173	57	1	1	out	sale	115	1.000000	2026-06-23 23:38:09.222203
174	65	1	1	out	sale	116	1.000000	2026-06-23 23:51:37.808193
175	13	1	1	out	sale	117	1.000000	2026-06-23 23:56:53.768964
176	66	1	1	out	sale	118	1.000000	2026-06-23 23:57:59.371047
177	14	1	1	out	sale	119	2.000000	2026-06-24 00:34:09.797358
178	26	1	1	out	sale	119	1.000000	2026-06-24 00:34:09.797358
179	27	1	1	out	sale	119	1.000000	2026-06-24 00:34:09.797358
180	13	1	1	out	sale	120	1.000000	2026-06-24 01:28:44.689714
181	53	1	1	out	sale	120	1.000000	2026-06-24 01:28:44.689714
182	27	1	1	out	sale	121	1.000000	2026-06-24 02:08:23.079579
183	12	1	1	out	sale	122	1.000000	2026-06-24 02:18:16.327069
184	68	1	1	out	sale	123	1.000000	2026-06-24 14:23:34.156169
185	28	1	1	out	sale	124	1.000000	2026-06-24 16:31:40.983713
186	13	1	1	out	sale	125	1.000000	2026-06-24 17:25:09.695397
187	56	1	1	out	sale	125	2.000000	2026-06-24 17:25:09.695397
188	8	1	1	out	sale	126	5.000000	2026-06-24 18:06:06.810333
189	56	1	1	out	sale	126	1.000000	2026-06-24 18:06:06.810333
190	13	1	1	out	sale	127	1.000000	2026-06-24 18:53:34.3681
191	10	1	1	out	sale	127	2.000000	2026-06-24 18:53:34.3681
192	13	1	1	out	sale	128	1.000000	2026-06-24 20:19:41.607789
193	10	1	1	out	sale	128	1.000000	2026-06-24 20:19:41.607789
194	20	1	1	out	sale	129	2.000000	2026-06-24 21:32:48.268759
195	14	1	1	out	sale	130	1.000000	2026-06-24 21:47:18.695064
196	17	1	1	out	sale	130	1.000000	2026-06-24 21:47:18.695064
197	67	1	1	out	sale	130	1.000000	2026-06-24 21:47:18.695064
198	10	1	1	out	sale	131	1.000000	2026-06-24 21:52:49.143805
199	67	1	1	out	sale	132	1.000000	2026-06-24 22:06:06.960155
200	48	1	1	out	sale	133	1.000000	2026-06-24 22:28:00.176581
201	48	1	1	out	sale	134	1.000000	2026-06-24 22:35:10.741542
202	72	1	1	out	sale	135	1.000000	2026-06-24 22:55:59.117675
203	36	1	1	out	sale	136	1.000000	2026-06-24 23:11:44.515399
204	38	1	1	out	sale	136	1.000000	2026-06-24 23:11:44.515399
205	20	1	1	out	sale	137	1.000000	2026-06-24 23:16:27.385542
206	41	1	1	out	sale	138	1.000000	2026-06-24 23:19:51.78049
207	13	1	1	out	sale	139	1.000000	2026-06-24 23:34:59.344586
208	10	1	1	out	sale	139	1.000000	2026-06-24 23:34:59.344586
209	12	1	1	out	sale	140	1.000000	2026-06-24 23:41:17.348775
210	36	1	1	out	sale	141	1.000000	2026-06-25 01:31:33.279373
211	16	1	1	out	sale	143	1.000000	2026-06-25 01:48:40.668398
212	61	1	1	out	sale	143	1.000000	2026-06-25 01:48:40.668398
213	5	1	1	out	sale	144	1.000000	2026-06-25 15:58:16.265179
214	73	1	1	out	sale	145	1.000000	2026-06-25 17:06:24.581846
215	11	1	1	out	sale	146	1.000000	2026-06-25 17:13:18.692193
216	16	1	1	out	sale	146	2.000000	2026-06-25 17:13:18.692193
217	20	1	1	out	sale	146	2.000000	2026-06-25 17:13:18.692193
218	17	1	1	out	sale	147	2.000000	2026-06-25 18:05:59.834804
219	62	1	1	out	sale	148	1.000000	2026-06-25 18:26:37.169349
220	72	1	1	out	sale	149	1.000000	2026-06-25 19:14:46.537091
221	72	1	1	out	sale	150	1.000000	2026-06-25 19:15:52.100897
222	66	1	1	out	sale	151	1.000000	2026-06-25 19:42:34.978474
223	68	1	1	out	sale	152	1.000000	2026-06-25 19:49:54.315637
224	76	1	1	out	sale	153	1.000000	2026-06-25 19:50:25.264407
225	75	1	1	out	sale	154	1.000000	2026-06-25 21:08:50.014223
226	64	1	1	out	sale	154	1.000000	2026-06-25 21:08:50.014223
227	12	1	1	out	sale	155	1.000000	2026-06-25 21:10:33.054312
228	48	1	1	out	sale	155	1.000000	2026-06-25 21:10:33.054312
229	2	1	1	out	sale	155	1.000000	2026-06-25 21:10:33.054312
230	58	1	1	out	sale	156	1.000000	2026-06-25 21:13:18.385195
231	12	1	1	out	sale	157	1.000000	2026-06-25 21:15:19.463321
232	57	1	1	out	sale	157	1.000000	2026-06-25 21:15:19.463321
233	73	1	1	out	sale	158	1.000000	2026-06-25 21:39:33.603985
234	13	1	1	out	sale	159	1.000000	2026-06-26 00:22:24.077016
235	38	1	1	out	sale	159	1.000000	2026-06-26 00:22:24.077016
236	56	1	1	out	sale	159	1.000000	2026-06-26 00:22:24.077016
237	12	1	1	out	sale	160	1.000000	2026-06-26 00:42:43.590803
238	36	1	1	out	sale	160	1.000000	2026-06-26 00:42:43.590803
239	23	1	1	out	sale	160	1.000000	2026-06-26 00:42:43.590803
240	10	1	1	out	sale	161	1.000000	2026-06-26 16:28:44.680763
241	73	1	1	out	sale	162	1.000000	2026-06-26 16:29:17.18108
242	73	1	1	out	sale	163	1.000000	2026-06-26 17:59:01.272999
243	11	1	1	out	sale	164	1.000000	2026-06-26 18:55:29.097619
244	44	1	1	out	sale	164	1.000000	2026-06-26 18:55:29.097619
245	12	1	1	out	sale	165	1.000000	2026-06-26 18:58:02.842271
246	42	1	1	out	sale	165	1.000000	2026-06-26 18:58:02.842271
247	68	1	1	out	sale	166	1.000000	2026-06-26 19:54:03.70327
248	11	1	1	out	sale	167	1.000000	2026-06-26 20:00:31.15931
249	1	1	1	out	sale	167	1.000000	2026-06-26 20:00:31.15931
250	76	1	1	out	sale	168	1.000000	2026-06-26 20:03:48.075647
251	68	1	1	out	sale	169	1.000000	2026-06-26 20:34:32.893986
252	59	1	1	out	sale	170	1.000000	2026-06-26 20:48:04.87159
253	3	1	1	out	sale	170	1.000000	2026-06-26 20:48:04.87159
254	36	1	1	out	sale	171	1.000000	2026-06-26 20:52:01.687424
255	68	1	1	out	sale	172	1.000000	2026-06-26 20:55:48.514951
256	13	1	1	out	sale	173	1.000000	2026-06-26 21:32:46.803406
257	56	1	1	out	sale	173	1.000000	2026-06-26 21:32:46.803406
258	12	1	1	out	sale	174	1.000000	2026-06-26 21:34:02.071833
259	10	1	1	out	sale	175	1.000000	2026-06-26 21:47:52.359137
260	13	1	1	out	sale	176	1.000000	2026-06-26 21:49:50.24095
261	55	1	1	out	sale	176	1.000000	2026-06-26 21:49:50.24095
262	16	1	1	out	sale	177	1.000000	2026-06-26 23:51:32.483047
263	11	1	1	out	sale	177	1.000000	2026-06-26 23:51:32.483047
264	23	1	1	out	sale	177	1.000000	2026-06-26 23:51:32.483047
265	28	1	1	out	sale	177	1.000000	2026-06-26 23:51:32.483047
266	17	1	1	out	sale	178	1.000000	2026-06-26 23:54:11.874145
267	67	1	1	out	sale	178	1.000000	2026-06-26 23:54:11.874145
268	13	1	1	out	sale	179	1.000000	2026-06-26 23:57:17.969139
269	8	1	1	out	sale	179	1.000000	2026-06-26 23:57:17.969139
270	22	1	1	out	sale	179	1.000000	2026-06-26 23:57:17.969139
271	36	1	1	out	sale	179	5.000000	2026-06-26 23:57:17.969139
272	65	1	1	out	sale	179	1.000000	2026-06-26 23:57:17.969139
273	12	1	1	out	sale	180	1.000000	2026-06-27 00:13:41.247203
274	48	1	1	out	sale	180	1.000000	2026-06-27 00:13:41.247203
275	13	1	1	out	sale	181	1.000000	2026-06-27 17:24:09.156664
276	48	1	1	out	sale	181	1.000000	2026-06-27 17:24:09.156664
277	75	1	1	out	sale	181	1.000000	2026-06-27 17:24:09.156664
278	10	1	1	out	sale	181	1.000000	2026-06-27 17:24:09.156664
279	71	1	1	out	sale	181	1.000000	2026-06-27 17:24:09.156664
280	36	1	1	out	sale	181	3.000000	2026-06-27 17:24:09.156664
281	11	1	1	out	sale	182	2.000000	2026-06-27 17:25:43.887006
282	66	1	1	out	sale	182	1.000000	2026-06-27 17:25:43.887006
283	44	1	1	out	sale	183	1.000000	2026-06-27 17:33:25.011782
284	20	1	1	out	sale	184	1.000000	2026-06-27 18:02:18.61559
285	64	1	1	out	sale	185	1.000000	2026-06-27 18:25:46.216116
286	9	1	1	out	sale	186	1.000000	2026-06-27 20:42:45.622712
287	58	1	1	out	sale	186	1.000000	2026-06-27 20:42:45.622712
288	58	1	1	out	sale	187	1.000000	2026-06-27 20:43:58.331751
289	11	1	1	out	sale	188	1.000000	2026-06-27 20:48:57.364372
290	27	1	1	out	sale	188	1.000000	2026-06-27 20:48:57.364372
291	13	1	1	out	sale	189	1.000000	2026-06-27 21:06:41.476783
292	56	1	1	out	sale	189	2.000000	2026-06-27 21:06:41.476783
293	36	1	1	out	sale	190	1.000000	2026-06-27 21:07:35.177297
294	10	1	1	out	sale	191	1.000000	2026-06-27 21:31:06.382016
295	62	1	1	out	sale	192	1.000000	2026-06-27 21:33:24.565327
296	22	1	1	out	sale	193	1.000000	2026-06-27 21:40:28.136253
297	11	1	1	out	sale	194	1.000000	2026-06-27 21:42:23.40822
298	75	1	1	out	sale	195	1.000000	2026-06-28 00:40:32.265856
299	71	1	1	out	sale	196	1.000000	2026-06-28 00:46:58.072872
300	27	1	1	out	sale	196	1.000000	2026-06-28 00:46:58.072872
301	8	1	1	out	sale	196	1.000000	2026-06-28 00:46:58.072872
302	64	1	1	out	sale	196	2.000000	2026-06-28 00:46:58.072872
303	75	1	1	out	sale	196	1.000000	2026-06-28 00:46:58.072872
304	73	1	1	out	sale	197	1.000000	2026-06-28 00:47:54.882918
305	13	1	1	out	sale	198	1.000000	2026-06-28 00:49:09.535616
306	56	1	1	out	sale	198	1.000000	2026-06-28 00:49:09.535616
307	71	1	1	out	sale	199	1.000000	2026-06-28 01:13:20.679344
308	66	1	1	out	sale	200	1.000000	2026-06-28 15:54:38.696525
309	71	1	1	out	sale	200	1.000000	2026-06-28 15:54:38.696525
310	7	1	1	out	sale	201	1.000000	2026-06-28 16:35:41.097465
311	9	1	1	out	sale	201	1.000000	2026-06-28 16:35:41.097465
312	25	1	1	out	sale	202	1.000000	2026-06-28 16:38:51.220741
313	15	1	1	out	sale	203	1.000000	2026-06-28 16:43:08.368594
314	38	1	1	out	sale	204	1.000000	2026-06-28 17:31:53.468476
315	71	1	1	out	sale	204	1.000000	2026-06-28 17:31:53.468476
316	36	1	1	out	sale	205	1.000000	2026-06-28 17:44:57.144299
317	27	1	1	out	sale	205	1.000000	2026-06-28 17:44:57.144299
318	13	1	1	out	sale	206	1.000000	2026-06-28 17:49:08.866855
319	62	1	1	out	sale	206	1.000000	2026-06-28 17:49:08.866855
320	27	1	1	out	sale	206	1.000000	2026-06-28 17:49:08.866855
321	74	1	1	out	sale	207	1.000000	2026-06-28 18:27:16.566007
322	10	1	1	out	sale	208	1.000000	2026-06-28 18:44:27.551667
323	10	1	1	out	sale	209	1.000000	2026-06-28 18:51:39.399851
324	17	1	1	out	sale	210	1.000000	2026-06-28 18:56:35.112641
325	24	1	1	out	sale	211	1.000000	2026-06-28 19:08:16.153294
326	48	1	1	out	sale	212	1.000000	2026-06-28 19:30:42.271512
327	48	1	1	out	sale	213	1.000000	2026-06-28 19:35:08.649008
328	49	1	1	out	sale	214	1.000000	2026-06-28 19:36:01.532986
329	9	1	1	out	sale	215	1.000000	2026-06-28 20:07:12.079695
330	42	1	1	out	sale	216	1.000000	2026-06-28 20:17:06.367508
331	42	1	1	out	sale	217	1.000000	2026-06-28 20:27:34.236908
332	17	1	1	out	sale	218	1.000000	2026-06-28 20:28:15.968593
333	74	1	1	out	sale	219	1.000000	2026-06-28 20:32:47.432591
334	11	1	1	out	sale	220	1.000000	2026-06-28 20:34:46.198262
335	5	1	1	out	sale	221	2.000000	2026-06-28 20:44:55.748128
336	14	1	1	out	sale	222	1.000000	2026-06-28 21:04:15.841252
337	21	1	1	out	sale	222	1.000000	2026-06-28 21:04:15.841252
338	23	1	1	out	sale	222	2.000000	2026-06-28 21:04:15.841252
339	73	1	1	out	sale	223	1.000000	2026-06-28 21:05:58.158155
340	36	1	1	out	sale	224	1.000000	2026-06-28 21:19:43.719255
341	76	1	1	out	sale	225	1.000000	2026-06-28 21:45:58.958962
342	11	1	1	out	sale	226	1.000000	2026-06-28 21:51:00.247078
343	16	1	1	out	sale	227	1.000000	2026-06-28 22:06:23.647007
344	13	1	1	out	sale	227	1.000000	2026-06-28 22:06:23.647007
345	10	1	1	out	sale	227	1.000000	2026-06-28 22:06:23.647007
346	22	1	1	out	sale	228	1.000000	2026-06-28 22:10:36.136866
347	62	1	1	out	sale	228	1.000000	2026-06-28 22:10:36.136866
348	9	1	1	out	sale	229	1.000000	2026-06-28 22:13:27.828716
349	73	1	1	out	sale	230	1.000000	2026-06-28 22:17:36.16698
350	73	1	1	out	sale	231	1.000000	2026-06-28 22:22:18.511986
351	15	1	1	out	sale	232	1.000000	2026-06-28 22:55:42.996664
352	10	1	1	out	sale	232	1.000000	2026-06-28 22:55:42.996664
353	10	1	1	out	sale	233	1.000000	2026-06-28 22:56:54.714469
354	15	1	1	out	sale	233	1.000000	2026-06-28 22:56:54.714469
355	22	1	1	out	sale	234	1.000000	2026-06-28 23:02:59.630348
356	64	1	1	out	sale	235	1.000000	2026-06-28 23:34:49.237853
357	13	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
358	11	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
359	9	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
360	23	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
361	44	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
362	48	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
363	74	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
364	17	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
365	57	1	1	out	sale	236	1.000000	2026-06-29 02:06:17.595946
366	76	1	1	out	sale	237	1.000000	2026-06-29 02:14:05.932583
367	56	1	1	out	sale	238	1.000000	2026-06-29 12:35:08.588551
368	42	1	1	out	sale	239	1.000000	2026-06-29 13:05:28.476954
369	13	1	1	out	sale	240	1.000000	2026-06-29 13:31:01.270129
370	46	1	1	out	sale	241	1.000000	2026-06-29 13:50:42.031599
371	73	1	1	out	sale	242	1.000000	2026-06-29 13:51:19.610459
372	32	1	1	out	sale	243	1.000000	2026-06-29 15:15:28.210667
373	10	1	1	out	sale	243	1.000000	2026-06-29 15:15:28.210667
374	11	1	1	out	sale	244	1.000000	2026-06-29 16:53:51.836721
375	5	1	1	out	sale	244	2.000000	2026-06-29 16:53:51.836721
376	73	1	1	out	sale	245	1.000000	2026-06-29 17:21:47.597471
377	68	1	1	out	sale	246	1.000000	2026-06-29 17:56:05.413029
378	68	1	1	out	sale	247	1.000000	2026-06-29 18:38:17.232992
379	9	1	1	out	sale	248	1.000000	2026-06-29 19:20:29.571359
380	56	1	1	out	sale	249	1.000000	2026-06-29 19:31:13.087368
381	21	1	1	out	sale	250	1.000000	2026-06-29 19:42:55.239167
382	43	1	1	out	sale	251	1.000000	2026-06-29 19:51:29.647856
383	26	1	1	out	sale	252	1.000000	2026-06-29 20:08:37.226952
384	38	1	1	out	sale	252	1.000000	2026-06-29 20:08:37.226952
385	12	1	1	out	sale	253	1.000000	2026-06-29 20:10:18.224556
386	36	1	1	out	sale	254	1.000000	2026-06-29 20:21:11.065166
387	59	1	1	out	sale	255	1.000000	2026-06-29 20:59:09.339736
388	60	1	1	out	sale	256	1.000000	2026-06-29 21:07:44.857811
389	55	1	1	out	sale	257	1.000000	2026-06-29 21:27:41.115859
390	56	1	1	out	sale	258	1.000000	2026-06-29 21:30:38.580093
391	17	1	1	out	sale	259	1.000000	2026-06-29 22:07:13.809725
392	36	1	1	out	sale	260	2.000000	2026-06-29 22:38:20.852121
393	71	1	1	out	sale	260	1.000000	2026-06-29 22:38:20.852121
394	73	1	1	out	sale	261	1.000000	2026-06-29 22:53:30.073336
395	27	1	1	out	sale	262	1.000000	2026-06-29 22:58:46.611931
396	56	1	1	out	sale	262	1.000000	2026-06-29 22:58:46.611931
397	68	1	1	out	sale	263	1.000000	2026-06-29 23:12:11.819159
398	10	1	1	out	sale	264	1.000000	2026-06-29 23:13:47.196142
399	13	1	1	out	sale	265	1.000000	2026-06-29 23:17:51.716335
400	1	1	1	out	sale	266	1.000000	2026-06-29 23:20:03.757267
401	9	1	1	out	sale	267	1.000000	2026-06-29 23:25:05.460077
402	13	1	1	out	sale	268	1.000000	2026-06-29 23:33:34.274122
403	10	1	1	out	sale	268	1.000000	2026-06-29 23:33:34.274122
404	13	1	1	out	sale	269	1.000000	2026-06-29 23:37:42.839775
405	8	1	1	out	sale	269	2.000000	2026-06-29 23:37:42.839775
406	14	1	1	out	sale	270	1.000000	2026-06-29 23:47:53.654689
407	13	1	1	out	sale	271	1.000000	2026-06-29 23:49:33.835646
408	13	1	1	out	sale	272	1.000000	2026-06-29 23:56:29.114008
409	36	1	1	out	sale	272	3.000000	2026-06-29 23:56:29.114008
410	48	1	1	out	sale	272	1.000000	2026-06-29 23:56:29.114008
411	48	1	1	out	sale	273	1.000000	2026-06-29 23:57:55.079609
412	8	1	1	out	sale	274	1.000000	2026-06-30 00:05:14.236179
413	76	1	1	out	sale	275	1.000000	2026-06-30 00:18:32.499293
414	36	1	1	out	sale	276	1.000000	2026-06-30 00:20:32.331331
415	68	1	1	out	sale	277	1.000000	2026-06-30 01:05:30.113453
416	56	1	1	out	sale	278	1.000000	2026-06-30 01:07:33.805069
417	71	1	1	out	sale	279	1.000000	2026-06-30 01:46:07.90972
418	58	1	1	out	sale	280	1.000000	2026-06-30 01:46:57.47772
419	13	1	1	out	sale	281	1.000000	2026-06-30 01:49:15.972435
420	11	1	1	out	sale	282	1.000000	2026-06-30 02:51:15.878493
421	44	1	1	out	sale	282	1.000000	2026-06-30 02:51:15.878493
422	62	1	1	out	sale	283	1.000000	2026-06-30 14:24:09.461957
423	14	1	1	out	sale	284	1.000000	2026-06-30 14:26:52.840767
424	13	1	1	out	sale	285	1.000000	2026-06-30 16:38:07.883788
425	10	1	1	out	sale	285	1.000000	2026-06-30 16:38:07.883788
426	27	1	1	out	sale	285	1.000000	2026-06-30 16:38:07.883788
427	66	1	1	out	sale	286	1.000000	2026-06-30 17:08:01.595626
428	11	1	1	out	sale	286	1.000000	2026-06-30 17:08:01.595626
429	11	1	1	out	sale	287	1.000000	2026-06-30 19:18:10.409451
430	7	1	1	out	sale	287	1.000000	2026-06-30 19:18:10.409451
431	36	1	1	out	sale	288	2.000000	2026-06-30 19:26:43.261032
432	76	1	1	out	sale	289	1.000000	2026-06-30 19:35:31.759229
433	71	1	1	out	sale	290	2.000000	2026-06-30 19:49:35.146355
434	13	1	1	out	sale	291	1.000000	2026-06-30 20:14:06.845428
435	56	1	1	out	sale	291	1.000000	2026-06-30 20:14:06.845428
436	10	1	1	out	sale	292	1.000000	2026-06-30 21:22:56.82132
437	6	1	1	out	sale	293	1.000000	2026-06-30 21:50:03.429217
438	74	1	1	out	sale	294	1.000000	2026-06-30 21:58:13.986045
439	41	1	1	out	sale	294	1.000000	2026-06-30 21:58:13.986045
440	35	1	1	out	sale	295	1.000000	2026-06-30 22:03:49.775211
441	41	1	1	out	sale	295	1.000000	2026-06-30 22:03:49.775211
442	8	1	1	out	sale	296	2.000000	2026-06-30 22:14:03.451917
443	76	1	1	out	sale	297	1.000000	2026-06-30 22:59:41.534388
444	36	1	1	out	sale	298	1.000000	2026-07-01 00:08:09.776737
445	5	1	1	out	sale	298	1.000000	2026-07-01 00:08:09.776737
446	43	1	1	out	sale	298	1.000000	2026-07-01 00:08:09.776737
447	14	1	1	out	sale	299	2.000000	2026-07-01 01:13:26.047833
448	62	1	1	out	sale	299	2.000000	2026-07-01 01:13:26.047833
449	12	1	1	out	sale	300	1.000000	2026-07-01 01:14:25.004444
450	10	1	1	out	sale	300	1.000000	2026-07-01 01:14:25.004444
451	12	1	1	out	sale	301	1.000000	2026-07-01 02:02:40.075005
452	36	1	1	out	sale	302	1.000000	2026-07-01 12:15:52.857137
453	13	1	1	out	sale	303	1.000000	2026-07-01 14:00:49.542138
454	62	1	1	out	sale	303	1.000000	2026-07-01 14:00:49.542138
455	9	1	1	out	sale	304	1.000000	2026-07-01 14:17:53.490498
456	73	1	1	out	sale	305	1.000000	2026-07-01 15:42:42.589676
457	58	1	1	out	sale	306	1.000000	2026-07-01 17:17:06.802476
458	64	1	1	out	sale	307	1.000000	2026-07-01 17:23:39.472811
459	28	1	1	out	sale	308	1.000000	2026-07-01 18:29:11.332912
460	48	1	1	out	sale	309	1.000000	2026-07-01 18:30:44.148043
461	12	1	1	out	sale	310	1.000000	2026-07-01 18:43:34.905592
462	10	1	1	out	sale	310	1.000000	2026-07-01 18:43:34.905592
463	73	1	1	out	sale	311	1.000000	2026-07-01 18:45:55.420555
464	58	1	1	out	sale	312	1.000000	2026-07-01 18:46:55.041705
465	55	1	1	out	sale	313	1.000000	2026-07-01 18:49:44.347259
466	16	1	1	out	sale	314	1.000000	2026-07-01 19:55:09.171631
467	11	1	1	out	sale	314	1.000000	2026-07-01 19:55:09.171631
468	11	1	1	out	sale	315	1.000000	2026-07-01 20:01:56.42704
469	25	1	1	out	sale	315	1.000000	2026-07-01 20:01:56.42704
470	10	1	1	out	sale	316	1.000000	2026-07-01 20:16:27.325264
471	66	1	1	out	sale	317	1.000000	2026-07-01 20:20:03.815038
472	13	1	1	out	sale	318	1.000000	2026-07-01 20:32:09.489854
473	10	1	1	out	sale	318	1.000000	2026-07-01 20:32:09.489854
474	9	1	1	out	sale	319	1.000000	2026-07-01 20:49:58.185622
475	42	1	1	out	sale	320	1.000000	2026-07-01 20:57:17.447513
476	9	1	1	out	sale	321	2.000000	2026-07-01 21:08:52.148418
477	10	1	1	out	sale	322	1.000000	2026-07-01 21:12:35.618742
478	71	1	1	out	sale	323	1.000000	2026-07-01 21:16:43.180715
479	13	1	1	out	sale	324	1.000000	2026-07-01 21:19:45.509703
480	10	1	1	out	sale	324	1.000000	2026-07-01 21:19:45.509703
481	59	1	1	out	sale	325	1.000000	2026-07-01 21:22:25.431186
482	56	1	1	out	sale	326	1.000000	2026-07-01 21:23:13.657759
483	8	1	1	out	sale	327	6.000000	2026-07-01 21:25:17.781967
484	7	1	1	out	sale	328	1.000000	2026-07-01 21:28:15.192033
485	73	1	1	out	sale	329	1.000000	2026-07-01 22:02:14.509455
486	53	1	1	out	sale	330	1.000000	2026-07-01 22:12:46.344086
487	13	1	1	out	sale	331	1.000000	2026-07-01 22:25:30.619405
488	10	1	1	out	sale	331	1.000000	2026-07-01 22:25:30.619405
489	13	1	1	out	sale	332	1.000000	2026-07-01 22:28:57.553785
490	10	1	1	out	sale	332	1.000000	2026-07-01 22:28:57.553785
491	66	1	1	out	sale	333	1.000000	2026-07-01 22:43:45.114834
492	13	1	1	out	sale	334	1.000000	2026-07-01 22:45:17.086309
493	53	1	1	out	sale	334	1.000000	2026-07-01 22:45:17.086309
494	9	1	1	out	sale	335	1.000000	2026-07-01 22:46:31.101392
495	48	1	1	out	sale	336	1.000000	2026-07-01 22:51:27.843207
496	43	1	1	out	sale	337	1.000000	2026-07-01 23:23:37.795412
497	65	1	1	out	sale	338	1.000000	2026-07-01 23:25:44.324086
498	5	1	1	out	sale	339	1.000000	2026-07-01 23:27:20.388443
499	11	1	1	out	sale	340	1.000000	2026-07-01 23:34:04.222774
500	46	1	1	out	sale	341	1.000000	2026-07-01 23:41:46.54533
501	13	1	1	out	sale	342	2.000000	2026-07-01 23:44:24.510648
502	16	1	1	out	sale	343	1.000000	2026-07-01 23:49:50.956028
503	13	1	1	out	sale	344	1.000000	2026-07-02 00:15:02.101076
504	63	1	1	out	sale	344	1.000000	2026-07-02 00:15:02.101076
505	12	1	1	out	sale	345	1.000000	2026-07-02 00:19:42.041587
506	17	1	1	out	sale	345	1.000000	2026-07-02 00:19:42.041587
507	12	1	1	out	sale	346	1.000000	2026-07-02 00:23:27.649053
508	16	1	1	out	sale	346	1.000000	2026-07-02 00:23:27.649053
509	20	1	1	out	sale	346	2.000000	2026-07-02 00:23:27.649053
510	48	1	1	out	sale	346	1.000000	2026-07-02 00:23:27.649053
511	17	1	1	out	sale	347	1.000000	2026-07-02 00:25:59.066938
512	16	1	1	out	sale	347	1.000000	2026-07-02 00:25:59.066938
513	69	1	1	out	sale	348	1.000000	2026-07-02 00:32:50.926562
514	48	1	1	out	sale	349	1.000000	2026-07-02 01:28:20.17634
515	63	1	1	out	sale	350	1.000000	2026-07-02 16:47:15.872532
516	36	1	1	out	sale	351	1.000000	2026-07-02 17:07:59.479169
517	13	1	1	out	sale	352	1.000000	2026-07-02 17:14:24.335873
518	48	1	1	out	sale	352	1.000000	2026-07-02 17:14:24.335873
519	5	1	1	out	sale	352	2.000000	2026-07-02 17:14:24.335873
520	36	1	1	out	sale	353	1.000000	2026-07-02 17:17:11.697746
521	11	1	1	out	sale	354	1.000000	2026-07-02 17:31:14.847537
522	67	1	1	out	sale	354	1.000000	2026-07-02 17:31:14.847537
523	64	1	1	out	sale	355	1.000000	2026-07-02 17:44:49.776895
524	57	1	1	out	sale	356	1.000000	2026-07-02 17:46:52.997206
525	11	1	1	out	sale	357	1.000000	2026-07-02 18:35:07.203705
526	5	1	1	out	sale	358	1.000000	2026-07-02 18:44:24.337951
527	36	1	1	out	sale	359	1.000000	2026-07-02 20:16:49.891664
528	10	1	1	out	sale	360	1.000000	2026-07-02 20:19:31.877785
529	13	1	1	out	sale	361	1.000000	2026-07-02 20:21:28.884975
530	10	1	1	out	sale	361	1.000000	2026-07-02 20:21:28.884975
531	22	1	1	out	sale	363	1.000000	2026-07-02 20:34:02.82815
532	23	1	1	out	sale	363	1.000000	2026-07-02 20:34:02.82815
533	56	1	1	out	sale	363	1.000000	2026-07-02 20:34:02.82815
534	68	1	1	out	sale	364	1.000000	2026-07-02 20:38:53.276732
535	12	1	1	out	sale	365	1.000000	2026-07-02 20:44:18.722365
536	10	1	1	out	sale	366	1.000000	2026-07-02 21:05:23.817461
537	20	1	1	out	sale	367	2.000000	2026-07-02 21:09:29.231033
538	63	1	1	out	sale	367	1.000000	2026-07-02 21:09:29.231033
539	75	1	1	out	sale	368	1.000000	2026-07-02 21:10:17.17784
540	26	1	1	out	sale	369	1.000000	2026-07-02 21:13:57.305494
541	61	1	1	out	sale	370	1.000000	2026-07-02 21:20:32.297318
542	70	1	1	out	sale	371	1.000000	2026-07-02 21:21:44.071098
543	10	1	1	out	sale	372	1.000000	2026-07-02 21:27:53.925303
544	76	1	1	out	sale	373	1.000000	2026-07-02 21:32:49.096353
545	76	1	1	out	sale	374	1.000000	2026-07-02 22:07:23.288728
546	11	1	1	out	sale	375	1.000000	2026-07-02 22:25:50.53142
547	44	1	1	out	sale	375	1.000000	2026-07-02 22:25:50.53142
548	9	1	1	out	sale	376	1.000000	2026-07-02 22:31:48.016514
549	61	1	1	out	sale	377	1.000000	2026-07-02 22:37:46.401656
550	63	1	1	out	sale	378	1.000000	2026-07-02 22:40:47.121669
551	12	1	1	out	sale	379	1.000000	2026-07-02 22:43:32.729904
552	13	1	1	out	sale	380	1.000000	2026-07-02 22:46:55.719579
553	10	1	1	out	sale	381	1.000000	2026-07-02 22:47:29.312223
554	10	1	1	out	sale	382	1.000000	2026-07-02 22:48:13.960992
555	44	1	1	out	sale	383	1.000000	2026-07-02 23:13:08.642959
556	13	1	1	out	sale	384	1.000000	2026-07-02 23:18:19.597163
557	13	1	1	out	sale	385	1.000000	2026-07-02 23:19:38.600162
558	8	1	1	out	sale	386	1.000000	2026-07-02 23:37:35.745549
559	11	1	1	out	sale	387	1.000000	2026-07-02 23:38:42.968715
560	8	1	1	out	sale	388	1.000000	2026-07-03 00:22:19.804498
561	66	1	1	out	sale	389	1.000000	2026-07-03 14:20:30.650496
562	14	1	1	out	sale	390	1.000000	2026-07-03 15:23:16.17258
563	22	1	1	out	sale	390	1.000000	2026-07-03 15:23:16.17258
564	16	1	1	out	sale	390	1.000000	2026-07-03 15:23:16.17258
565	2	1	1	out	sale	390	1.000000	2026-07-03 15:23:16.17258
566	62	1	1	out	sale	391	1.000000	2026-07-03 15:41:04.985097
567	10	1	1	out	sale	392	1.000000	2026-07-03 16:22:41.925939
568	28	1	1	out	sale	393	1.000000	2026-07-03 17:34:25.479243
569	44	1	1	out	sale	394	1.000000	2026-07-03 17:34:50.030523
570	72	1	1	out	sale	395	1.000000	2026-07-03 17:38:01.135059
571	27	1	1	out	sale	396	1.000000	2026-07-03 17:43:03.201675
572	62	1	1	out	sale	396	1.000000	2026-07-03 17:43:03.201675
573	24	1	1	out	sale	397	1.000000	2026-07-03 17:58:19.335365
574	13	1	1	out	sale	398	1.000000	2026-07-03 18:26:28.944901
575	10	1	1	out	sale	398	2.000000	2026-07-03 18:26:28.944901
576	64	1	1	out	sale	399	1.000000	2026-07-03 19:00:50.902655
577	65	1	1	out	sale	400	1.000000	2026-07-03 19:04:05.544964
578	48	1	1	out	sale	401	1.000000	2026-07-03 19:05:09.177915
579	10	1	1	out	sale	402	1.000000	2026-07-03 19:28:32.458616
580	67	1	1	out	sale	403	1.000000	2026-07-03 19:31:35.274468
581	72	1	1	out	sale	404	1.000000	2026-07-03 19:34:07.722413
582	73	1	1	out	sale	405	1.000000	2026-07-03 19:35:57.063758
583	56	1	1	out	sale	406	1.000000	2026-07-03 19:36:29.273358
584	14	1	1	out	sale	407	1.000000	2026-07-03 19:38:37.902642
585	8	1	1	out	sale	407	8.000000	2026-07-03 19:38:37.902642
586	76	1	1	out	sale	408	1.000000	2026-07-03 19:39:29.221414
587	24	1	1	out	sale	409	2.000000	2026-07-03 19:44:37.143057
588	17	1	1	out	sale	410	1.000000	2026-07-03 19:59:41.662632
589	56	1	1	out	sale	410	1.000000	2026-07-03 19:59:41.662632
590	55	1	1	out	sale	411	1.000000	2026-07-03 20:05:49.754797
591	62	1	1	out	sale	412	1.000000	2026-07-03 20:34:41.613121
592	47	1	1	out	sale	413	1.000000	2026-07-03 20:35:33.713249
593	10	1	1	out	sale	414	1.000000	2026-07-03 20:36:06.088541
594	43	1	1	out	sale	415	1.000000	2026-07-03 20:37:10.367028
595	10	1	1	out	sale	416	1.000000	2026-07-03 20:39:40.799665
596	23	1	1	out	sale	417	1.000000	2026-07-03 20:40:26.539096
597	69	1	1	out	sale	418	1.000000	2026-07-03 20:43:31.812181
598	45	1	1	out	sale	419	1.000000	2026-07-03 20:48:28.443316
599	10	1	1	out	sale	420	1.000000	2026-07-03 20:54:09.068432
600	22	1	1	out	sale	421	2.000000	2026-07-03 20:57:07.747116
601	20	1	1	out	sale	421	1.000000	2026-07-03 20:57:07.747116
602	73	1	1	out	sale	422	1.000000	2026-07-03 21:08:07.5259
603	9	1	1	out	sale	423	1.000000	2026-07-03 21:15:29.550364
604	20	1	1	out	sale	423	3.000000	2026-07-03 21:15:29.550364
605	57	1	1	out	sale	424	1.000000	2026-07-03 21:18:39.35653
606	10	1	1	out	sale	425	1.000000	2026-07-03 21:19:20.244722
607	17	1	1	out	sale	426	1.000000	2026-07-03 21:20:00.579878
608	8	1	1	out	sale	427	3.000000	2026-07-03 21:22:36.423349
609	10	1	1	out	sale	428	1.000000	2026-07-03 21:30:47.639482
610	10	1	1	out	sale	429	1.000000	2026-07-03 21:31:12.729099
611	68	1	1	out	sale	430	1.000000	2026-07-03 21:46:04.162972
612	72	1	1	out	sale	431	1.000000	2026-07-03 21:49:55.342382
613	10	1	1	out	sale	432	1.000000	2026-07-03 21:51:34.051304
614	65	1	1	out	sale	433	1.000000	2026-07-03 21:52:22.065136
615	12	1	1	out	sale	434	1.000000	2026-07-03 21:53:36.012059
616	9	1	1	out	sale	434	1.000000	2026-07-03 21:53:36.012059
617	48	1	1	out	sale	434	1.000000	2026-07-03 21:53:36.012059
618	71	1	1	out	sale	435	1.000000	2026-07-03 21:57:24.068139
619	8	1	1	out	sale	436	4.000000	2026-07-03 22:45:17.504611
620	66	1	1	out	sale	437	1.000000	2026-07-03 22:48:58.595716
621	12	1	1	out	sale	438	1.000000	2026-07-03 22:58:59.805729
622	22	1	1	out	sale	438	1.000000	2026-07-03 22:58:59.805729
623	21	1	1	out	sale	438	1.000000	2026-07-03 22:58:59.805729
624	66	1	1	out	sale	439	1.000000	2026-07-03 23:38:38.717576
625	20	1	1	out	sale	439	2.000000	2026-07-03 23:38:38.717576
626	26	1	1	out	sale	439	1.000000	2026-07-03 23:38:38.717576
627	9	1	1	out	sale	439	1.000000	2026-07-03 23:38:38.717576
628	8	1	1	out	sale	440	1.000000	2026-07-03 23:40:38.194254
629	11	1	1	out	sale	441	1.000000	2026-07-03 23:45:21.264481
630	22	1	1	out	sale	441	1.000000	2026-07-03 23:45:21.264481
631	56	1	1	out	sale	442	1.000000	2026-07-04 00:22:39.305052
632	48	1	1	out	sale	443	1.000000	2026-07-04 00:49:13.758812
633	8	1	1	out	sale	444	1.000000	2026-07-04 01:03:56.238523
634	57	1	1	out	sale	445	1.000000	2026-07-04 01:04:31.737869
635	11	1	1	out	sale	446	1.000000	2026-07-04 01:55:59.443987
636	44	1	1	out	sale	446	1.000000	2026-07-04 01:55:59.443987
637	17	1	1	out	sale	446	1.000000	2026-07-04 01:55:59.443987
638	38	1	1	out	sale	447	1.000000	2026-07-04 14:31:25.929086
639	66	1	1	out	sale	448	1.000000	2026-07-04 15:00:38.515373
640	10	1	1	out	sale	449	1.000000	2026-07-04 15:26:33.601814
641	74	1	1	out	sale	450	1.000000	2026-07-04 16:48:30.105391
642	10	1	1	out	sale	451	1.000000	2026-07-04 17:05:42.718405
643	61	1	1	out	sale	452	1.000000	2026-07-04 17:37:22.198352
644	68	1	1	out	sale	453	1.000000	2026-07-04 18:56:57.365001
645	36	1	1	out	sale	454	1.000000	2026-07-04 19:19:54.232743
646	11	1	1	out	sale	455	1.000000	2026-07-04 19:23:50.720634
647	38	1	1	out	sale	455	1.000000	2026-07-04 19:23:50.720634
648	16	1	1	out	sale	456	4.000000	2026-07-04 19:30:27.745138
649	8	1	1	out	sale	456	1.000000	2026-07-04 19:30:27.745138
650	36	1	1	out	sale	456	3.000000	2026-07-04 19:30:27.745138
651	13	1	1	out	sale	457	1.000000	2026-07-04 19:36:53.633639
652	22	1	1	out	sale	457	1.000000	2026-07-04 19:36:53.633639
653	36	1	1	out	sale	458	1.000000	2026-07-04 19:37:56.038187
654	10	1	1	out	sale	459	1.000000	2026-07-04 19:49:33.728005
655	10	1	1	out	sale	460	2.000000	2026-07-04 19:53:21.385593
656	13	1	1	out	sale	462	1.000000	2026-07-04 20:17:36.835322
657	56	1	1	out	sale	462	1.000000	2026-07-04 20:17:36.835322
658	15	1	1	out	sale	463	1.000000	2026-07-04 20:19:37.03673
659	43	1	1	out	sale	464	1.000000	2026-07-04 20:20:26.114146
660	68	1	1	out	sale	465	1.000000	2026-07-04 20:55:54.119446
661	30	1	1	out	sale	466	1.000000	2026-07-04 21:01:50.856654
662	71	1	1	out	sale	466	1.000000	2026-07-04 21:01:50.856654
663	14	1	1	out	sale	467	1.000000	2026-07-04 21:13:06.686816
664	26	1	1	out	sale	467	1.000000	2026-07-04 21:13:06.686816
665	17	1	1	out	sale	467	1.000000	2026-07-04 21:13:06.686816
666	22	1	1	out	sale	468	1.000000	2026-07-04 21:19:59.501686
667	76	1	1	out	sale	469	1.000000	2026-07-04 21:20:36.178864
668	30	1	1	out	sale	470	1.000000	2026-07-04 21:29:13.894394
669	71	1	1	out	sale	470	1.000000	2026-07-04 21:29:13.894394
670	7	1	1	out	sale	471	1.000000	2026-07-04 21:37:00.064457
671	22	1	1	out	sale	472	1.000000	2026-07-04 21:53:27.715106
672	22	1	1	out	sale	473	1.000000	2026-07-04 22:00:15.266891
673	68	1	1	out	sale	474	1.000000	2026-07-04 22:31:01.804929
674	26	1	1	out	sale	475	1.000000	2026-07-04 22:32:26.511613
675	58	1	1	out	sale	476	1.000000	2026-07-04 22:38:40.67967
676	64	1	1	out	sale	477	1.000000	2026-07-04 22:40:10.087306
677	8	1	1	out	sale	478	1.000000	2026-07-04 23:25:35.342696
678	10	1	1	out	sale	479	1.000000	2026-07-04 23:32:43.28552
679	36	1	1	out	sale	480	1.000000	2026-07-04 23:53:04.75483
680	20	1	1	out	sale	480	1.000000	2026-07-04 23:53:04.75483
681	44	1	1	out	sale	480	1.000000	2026-07-04 23:53:04.75483
682	68	1	1	out	sale	481	1.000000	2026-07-04 23:58:46.828137
683	11	1	1	out	sale	482	1.000000	2026-07-05 00:25:46.10546
684	20	1	1	out	sale	482	1.000000	2026-07-05 00:25:46.10546
685	9	1	1	out	sale	482	1.000000	2026-07-05 00:25:46.10546
686	11	1	1	out	sale	483	1.000000	2026-07-05 00:26:30.740659
687	11	1	1	out	sale	484	1.000000	2026-07-05 00:29:25.303778
688	38	1	1	out	sale	484	1.000000	2026-07-05 00:29:25.303778
689	44	1	1	out	sale	485	1.000000	2026-07-05 00:49:04.68334
690	73	1	1	out	sale	486	1.000000	2026-07-05 01:08:55.193926
691	76	1	1	out	sale	487	1.000000	2026-07-05 01:48:27.622812
692	9	1	1	out	sale	488	1.000000	2026-07-05 14:14:29.525653
693	10	1	1	out	sale	489	1.000000	2026-07-05 14:46:50.339551
694	13	1	1	out	sale	490	1.000000	2026-07-05 16:57:20.498352
695	11	1	1	out	sale	490	4.000000	2026-07-05 16:57:20.498352
696	21	1	1	out	sale	490	1.000000	2026-07-05 16:57:20.498352
697	26	1	1	out	sale	490	1.000000	2026-07-05 16:57:20.498352
698	11	1	1	out	sale	491	1.000000	2026-07-05 17:00:56.473381
699	36	1	1	out	sale	491	1.000000	2026-07-05 17:00:56.473381
700	32	1	1	out	sale	492	1.000000	2026-07-05 17:22:01.435441
701	46	1	1	out	sale	492	1.000000	2026-07-05 17:22:01.435441
702	12	1	1	out	sale	493	1.000000	2026-07-05 17:25:44.225966
703	7	1	1	out	sale	493	1.000000	2026-07-05 17:25:44.225966
704	8	1	1	out	sale	493	1.000000	2026-07-05 17:25:44.225966
705	58	1	1	out	sale	494	1.000000	2026-07-05 17:56:26.995556
706	10	1	1	out	sale	495	1.000000	2026-07-05 18:22:46.908495
707	15	1	1	out	sale	496	1.000000	2026-07-05 18:54:28.033444
708	66	1	1	out	sale	497	1.000000	2026-07-05 18:55:40.144938
709	25	1	1	out	sale	498	1.000000	2026-07-05 18:56:43.262357
710	36	1	1	out	sale	499	1.000000	2026-07-05 19:11:23.496023
711	17	1	1	out	sale	500	1.000000	2026-07-05 19:14:40.153853
712	73	1	1	out	sale	501	1.000000	2026-07-05 19:25:08.817981
713	36	1	1	out	sale	502	1.000000	2026-07-05 19:30:05.303916
714	25	1	1	out	sale	503	1.000000	2026-07-05 19:34:51.13751
715	76	1	1	out	sale	504	1.000000	2026-07-05 19:36:04.087252
716	13	1	1	out	sale	505	1.000000	2026-07-05 19:52:14.355555
717	55	1	1	out	sale	505	1.000000	2026-07-05 19:52:14.355555
718	71	1	1	out	sale	506	1.000000	2026-07-05 20:14:45.960128
719	7	1	1	out	sale	507	1.000000	2026-07-05 20:54:28.656023
720	8	1	1	out	sale	507	1.000000	2026-07-05 20:54:28.656023
721	11	1	1	out	sale	508	1.000000	2026-07-05 21:21:12.568989
722	67	1	1	out	sale	508	1.000000	2026-07-05 21:21:12.568989
723	10	1	1	out	sale	509	1.000000	2026-07-05 21:23:41.085035
724	17	1	1	out	sale	510	2.000000	2026-07-05 21:35:08.579552
725	65	1	1	out	sale	511	1.000000	2026-07-05 21:48:36.356276
726	36	1	1	out	sale	512	1.000000	2026-07-05 22:00:12.753533
727	36	1	1	out	sale	513	1.000000	2026-07-05 22:02:05.822829
728	20	1	1	out	sale	513	4.000000	2026-07-05 22:02:05.822829
729	13	1	1	out	sale	515	1.000000	2026-07-05 22:16:31.580095
730	10	1	1	out	sale	515	1.000000	2026-07-05 22:16:31.580095
731	62	1	1	out	sale	516	1.000000	2026-07-05 22:37:04.923457
732	59	1	1	out	sale	516	1.000000	2026-07-05 22:37:04.923457
733	22	1	1	out	sale	517	1.000000	2026-07-05 22:40:50.196472
734	9	1	1	out	sale	517	1.000000	2026-07-05 22:40:50.196472
735	16	1	1	out	sale	518	1.000000	2026-07-05 23:02:36.10588
736	38	1	1	out	sale	518	1.000000	2026-07-05 23:02:36.10588
737	72	1	1	out	sale	519	1.000000	2026-07-05 23:24:33.168822
738	16	1	1	out	sale	520	1.000000	2026-07-05 23:29:23.90967
739	56	1	1	out	sale	521	1.000000	2026-07-05 23:30:42.721182
740	13	1	1	out	sale	522	1.000000	2026-07-05 23:32:35.951976
741	36	1	1	out	sale	522	1.000000	2026-07-05 23:32:35.951976
742	10	1	1	out	sale	522	1.000000	2026-07-05 23:32:35.951976
743	76	1	1	out	sale	523	1.000000	2026-07-05 23:41:07.34824
744	12	1	1	out	sale	524	1.000000	2026-07-05 23:52:11.541835
745	56	1	1	out	sale	524	1.000000	2026-07-05 23:52:11.541835
746	10	1	1	out	sale	525	1.000000	2026-07-05 23:52:44.806645
747	12	1	1	out	sale	526	1.000000	2026-07-06 00:10:29.212311
748	56	1	1	out	sale	526	1.000000	2026-07-06 00:10:29.212311
749	10	1	1	out	sale	527	1.000000	2026-07-06 00:31:01.685375
750	44	1	1	out	sale	528	1.000000	2026-07-06 00:45:08.323455
751	11	1	1	out	sale	529	1.000000	2026-07-06 01:06:05.001769
752	44	1	1	out	sale	529	1.000000	2026-07-06 01:06:05.001769
753	13	1	1	out	sale	530	1.000000	2026-07-06 01:19:06.770721
754	12	1	1	out	sale	531	1.000000	2026-07-06 01:59:10.116637
755	17	1	1	out	sale	531	1.000000	2026-07-06 01:59:10.116637
756	11	1	1	out	sale	532	1.000000	2026-07-06 02:02:51.985165
757	10	1	1	out	sale	533	1.000000	2026-07-06 13:33:16.97553
758	10	1	1	out	sale	534	1.000000	2026-07-06 13:43:26.127903
759	13	1	1	out	sale	535	1.000000	2026-07-06 14:10:49.456109
760	13	1	1	out	sale	536	1.000000	2026-07-06 14:19:06.25352
761	57	1	1	out	sale	536	1.000000	2026-07-06 14:19:06.25352
762	10	1	1	out	sale	538	1.000000	2026-07-06 14:46:41.619667
763	64	1	1	out	sale	539	1.000000	2026-07-06 16:02:04.191608
764	11	1	1	out	sale	540	1.000000	2026-07-06 16:06:36.447274
765	64	1	1	out	sale	541	1.000000	2026-07-06 16:29:54.93655
766	36	1	1	out	sale	542	1.000000	2026-07-06 16:51:25.122226
767	11	1	1	out	sale	543	1.000000	2026-07-06 16:54:06.089563
768	10	1	1	out	sale	544	1.000000	2026-07-06 17:05:44.168621
769	12	1	1	out	sale	545	1.000000	2026-07-06 17:07:58.421863
770	10	1	1	out	sale	546	1.000000	2026-07-06 17:13:29.517607
771	36	1	1	out	sale	547	1.000000	2026-07-06 17:18:37.94208
772	13	1	1	out	sale	548	1.000000	2026-07-06 17:36:06.356752
773	7	1	1	out	sale	549	1.000000	2026-07-06 18:30:24.677859
774	48	1	1	out	sale	550	1.000000	2026-07-06 19:06:39.413008
775	10	1	1	out	sale	551	1.000000	2026-07-06 19:36:55.510719
776	19	1	1	out	sale	552	1.000000	2026-07-06 20:16:31.713588
777	65	1	1	out	sale	553	1.000000	2026-07-06 20:24:18.265927
778	26	1	1	out	sale	554	1.000000	2026-07-06 20:27:26.630712
779	17	1	1	out	sale	555	1.000000	2026-07-06 20:29:42.945928
780	10	1	1	out	sale	555	1.000000	2026-07-06 20:29:42.945928
781	8	1	1	out	sale	556	2.000000	2026-07-06 20:39:45.187679
782	44	1	1	out	sale	557	1.000000	2026-07-06 20:47:42.600971
783	10	1	1	out	sale	558	1.000000	2026-07-06 20:51:06.361449
784	8	1	1	out	sale	559	1.000000	2026-07-06 20:55:15.822354
785	55	1	1	out	sale	560	1.000000	2026-07-06 21:12:44.192551
786	10	1	1	out	sale	561	1.000000	2026-07-06 21:17:23.162824
787	13	1	1	out	sale	562	1.000000	2026-07-06 21:19:56.095315
788	64	1	1	out	sale	563	1.000000	2026-07-06 21:24:50.716394
789	12	1	1	out	sale	564	1.000000	2026-07-06 21:36:36.537463
790	8	1	1	out	sale	565	2.000000	2026-07-06 21:48:33.943004
791	47	1	1	out	sale	566	1.000000	2026-07-06 22:19:06.733991
792	43	1	1	out	sale	567	1.000000	2026-07-06 22:24:24.215016
793	12	1	1	out	sale	568	1.000000	2026-07-06 22:26:44.886038
794	42	1	1	out	sale	569	1.000000	2026-07-06 22:29:13.757122
795	76	1	1	out	sale	570	1.000000	2026-07-06 22:32:53.929265
796	12	1	1	out	sale	571	1.000000	2026-07-06 22:34:30.187128
797	10	1	1	out	sale	571	1.000000	2026-07-06 22:34:30.187128
798	12	1	1	out	sale	572	1.000000	2026-07-06 22:39:39.139776
799	9	1	1	out	sale	572	1.000000	2026-07-06 22:39:39.139776
800	13	1	1	out	sale	573	1.000000	2026-07-06 22:41:09.208525
801	3	1	1	out	sale	574	1.000000	2026-07-06 22:52:20.46641
802	7	1	1	out	sale	575	2.000000	2026-07-06 23:05:48.371347
803	11	1	1	out	sale	576	1.000000	2026-07-06 23:20:45.011773
804	9	1	1	out	sale	577	1.000000	2026-07-06 23:21:38.577527
805	11	1	1	out	sale	578	2.000000	2026-07-06 23:38:47.998365
806	57	1	1	out	sale	579	1.000000	2026-07-06 23:42:45.955025
807	12	1	1	out	sale	580	1.000000	2026-07-06 23:50:20.161304
808	13	1	1	out	sale	581	1.000000	2026-07-06 23:55:17.230537
809	21	1	1	out	sale	581	1.000000	2026-07-06 23:55:17.230537
810	36	1	1	out	sale	581	3.000000	2026-07-06 23:55:17.230537
811	11	1	1	out	sale	582	1.000000	2026-07-07 00:08:40.18105
812	48	1	1	out	sale	582	1.000000	2026-07-07 00:08:40.18105
813	10	1	1	out	sale	583	1.000000	2026-07-07 00:13:40.2069
814	8	1	1	out	sale	584	2.000000	2026-07-07 00:16:26.423845
815	12	1	1	out	sale	585	1.000000	2026-07-07 00:58:20.949991
816	62	1	1	out	sale	585	1.000000	2026-07-07 00:58:20.949991
817	2	1	1	out	sale	586	1.000000	2026-07-07 01:04:59.586377
818	17	1	1	out	sale	586	1.000000	2026-07-07 01:04:59.586377
819	13	1	1	out	sale	586	1.000000	2026-07-07 01:04:59.586377
820	13	1	1	out	sale	587	1.000000	2026-07-07 01:11:13.246255
821	8	1	1	out	sale	588	4.000000	2026-07-07 13:23:17.057428
822	9	1	1	out	sale	589	1.000000	2026-07-07 13:57:13.133413
823	13	1	1	out	sale	590	1.000000	2026-07-07 15:02:30.801043
824	10	1	1	out	sale	590	1.000000	2026-07-07 15:02:30.801043
825	50	1	1	out	sale	591	1.000000	2026-07-07 16:44:49.620739
826	16	1	1	out	sale	592	1.000000	2026-07-07 16:47:56.717569
827	3	1	1	out	sale	592	1.000000	2026-07-07 16:47:56.717569
828	13	1	1	out	sale	593	1.000000	2026-07-07 16:49:01.888955
829	10	1	1	out	sale	593	1.000000	2026-07-07 16:49:01.888955
830	73	1	1	out	sale	594	1.000000	2026-07-07 17:30:06.062
\.


--
