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

COPY public.role_rights (role_id, right_id) FROM stdin;
1	1
1	2
1	3
1	4
1	5
1	6
1	7
1	8
1	9
1	10
1	11
1	12
1	13
1	14
1	15
1	16
1	17
1	18
1	19
1	20
1	21
1	22
1	23
1	24
1	25
1	26
1	27
1	28
1	29
1	30
1	31
1	32
1	33
1	34
1	35
1	36
1	37
1	38
1	39
1	40
1	41
1	42
1	43
1	44
1	45
1	46
1	47
1	48
1	49
1	50
1	51
1	52
1	53
1	54
1	55
1	56
1	57
1	58
1	59
1	60
1	61
1	62
1	63
1	64
1	65
1	66
1	67
1	68
1	69
1	70
1	71
1	72
1	73
1	74
1	75
1	76
1	77
1	78
1	79
1	80
1	81
1	82
1	83
1	84
1	85
1	86
1	87
1	88
1	89
1	90
1	91
1	92
1	93
1	94
1	95
1	96
1	97
1	98
1	99
1	100
1	101
1	102
1	103
1	104
1	105
1	106
1	107
1	108
1	109
1	110
1	111
1	112
1	113
1	114
1	115
1	116
1	117
1	118
2	23
\.


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

COPY public.roles (id, name) FROM stdin;
1	Admin
2	Cashier
\.


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

COPY public.sale_item_modifiers (id, sale_item_id, modifier_id, modifier_group_id, modifier_name, price_adjustment, created_at) FROM stdin;
1	75	1	1	Cheesy	10.00	2026-06-29 23:10:25.677345
2	81	1	1	Cheesy	10.00	2026-06-29 23:22:10.80282
3	99	3	1	Meaty	0.00	2026-06-30 23:45:07.303607
4	137	2	1	Spicy	0.00	2026-07-01 00:30:55.094637
5	157	2	1	Spicy	0.00	2026-07-04 15:53:35.681333
6	158	4	1	Vegetarian	0.00	2026-07-04 15:53:35.681333
7	159	2	1	Spicy	0.00	2026-07-04 16:07:19.620796
8	160	4	1	Vegetarian	0.00	2026-07-04 16:07:19.620796
9	164	4	1	Vegetarian	0.00	2026-07-08 21:06:06.092249
\.


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

COPY public.sale_items (id, store_id, sale_id, item_id, item_name, quantity, unit_price, original_unit_price, total_price, discount_type, discount_value, discount_per_unit, discount_amount, tax_rate, remarks, is_deal, deal_selections) FROM stdin;
1	1	1	2	stock item	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
2	1	2	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
3	1	6	2	stock item	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
4	1	7	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
5	1	8	3	stock item 3	5.000	600.00	600.00	3000.00	none	0.00	0.00	0.00	0.00		f	\N
6	1	9	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
7	1	10	16	tablet	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
8	1	11	15	Rizek	5.000	500.00	500.00	2500.00	none	0.00	0.00	0.00	0.00		f	\N
9	1	12	14	Panadol	1.000	5000.00	5000.00	5000.00	none	0.00	0.00	0.00	0.00		f	\N
10	1	13	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
11	1	14	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
12	1	15	12	bulk item	2.000	550.00	550.00	1100.00	none	0.00	0.00	0.00	18.00		f	\N
13	1	15	10	test 6	1.000	500.00	600.00	500.00	fixed	100.00	100.00	100.00	0.00		f	\N
14	1	15	9	test 5	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
15	1	15	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
16	1	15	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
17	1	15	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
18	1	15	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
19	1	16	10	test 6	42.000	500.00	600.00	21000.00	fixed	100.00	100.00	4200.00	0.00		f	\N
20	1	16	4	stock item 2	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
21	1	16	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
22	1	16	12	bulk item	4.000	550.00	550.00	2200.00	none	0.00	0.00	0.00	18.00		f	\N
23	1	16	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
24	1	16	11	Tax Item	2.000	550.00	550.00	1100.00	none	0.00	0.00	0.00	18.00		f	\N
25	1	16	9	test 5	5.000	600.00	600.00	3000.00	none	0.00	0.00	0.00	0.00		f	\N
26	1	16	8	test 4	8.000	600.00	600.00	4800.00	none	0.00	0.00	0.00	0.00		f	\N
27	1	16	7	test 3	6.000	600.00	600.00	3600.00	none	0.00	0.00	0.00	0.00		f	\N
28	1	17	8	test 4	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
29	1	17	7	test 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
30	1	17	9	test 5	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
31	1	17	10	test 6	1.000	500.00	600.00	500.00	fixed	100.00	100.00	100.00	0.00		f	\N
32	1	17	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
33	1	17	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
34	1	17	12	bulk item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
35	1	17	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
36	1	17	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
37	1	18	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
38	1	18	3	stock item 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
39	1	18	1	Test Scale Items	1.000	400.00	400.00	400.00	none	0.00	0.00	0.00	0.00		f	\N
40	1	19	16	tablet	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
41	1	19	15	Rizek	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
42	1	19	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
43	1	21	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
44	1	22	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
45	1	23	13	Deal	5.000	500.00	500.00	2500.00	none	0.00	0.00	0.00	0.00		f	\N
46	1	24	17	test item	1.000	135.00	150.00	135.00	percent	10.00	15.00	15.00	18.00		f	\N
47	1	25	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
48	1	26	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
49	1	27	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
50	1	28	5	test 1	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
51	1	28	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
52	1	28	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
53	1	28	12	bulk item	2.000	550.00	550.00	1100.00	none	0.00	0.00	0.00	18.00		f	\N
54	1	28	11	Tax Item	3.000	550.00	550.00	1650.00	none	0.00	0.00	0.00	18.00		f	\N
55	1	28	10	test 6	1.000	500.00	600.00	500.00	fixed	100.00	100.00	100.00	0.00		f	\N
56	1	28	8	test 4	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
57	1	29	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
58	1	30	3	stock item 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
59	1	30	11	Tax Item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
60	1	30	10	test 6	1.000	500.00	600.00	500.00	fixed	100.00	100.00	100.00	0.00		f	\N
61	1	30	8	test 4	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
62	1	30	7	test 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
63	1	30	1	Test Scale Items	1.000	400.00	400.00	400.00	none	0.00	0.00	0.00	0.00		f	\N
64	1	30	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
65	1	30	12	bulk item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
66	1	30	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
67	1	31	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
68	1	32	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
69	1	33	15	Rizek	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
70	1	33	16	tablet	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
71	1	34	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
72	1	35	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
73	1	36	17	test item	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
74	1	37	23	Deal 1 (Cold Drink, Crown Crust, Crispy Chicken Burgers)	1.000	2050.00	2050.00	2050.00	none	0.00	0.00	0.00	0.00		f	\N
75	1	37	13	Crown Crust	1.000	510.00	510.00	510.00	none	0.00	0.00	0.00	0.00		f	\N
76	1	37	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
77	1	37	19	Classic Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
78	1	37	20	Zinger Burger	1.000	400.00	500.00	400.00	percent	20.00	100.00	100.00	0.00		f	\N
79	1	37	21	Crunch Burger	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
80	1	38	23	Deal 1 (Cold Drink, Crown Crust, Classic Burger)	1.000	2050.00	2050.00	2050.00	none	0.00	0.00	0.00	0.00		f	\N
81	1	38	13	Crown Crust	1.000	510.00	510.00	510.00	none	0.00	0.00	0.00	0.00		f	\N
82	1	38	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
83	1	38	19	Classic Burger	1.000	440.00	550.00	440.00	percent	20.00	110.00	110.00	0.00		f	\N
84	1	38	20	Zinger Burger	1.000	700.00	700.00	700.00	none	0.00	0.00	0.00	0.00		f	\N
85	1	38	21	Crunch Burger	5.000	600.00	600.00	3000.00	none	0.00	0.00	0.00	0.00		f	\N
86	1	39	24	Nimko	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	0.00		f	\N
87	1	40	25	Test Esajee  Tax	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	18.00		f	\N
88	1	41	25	Test Esajee  Tax	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	18.00		f	\N
89	1	42	7	test 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
90	1	42	1	Test Scale Items	1.000	400.00	400.00	400.00	none	0.00	0.00	0.00	0.00		f	\N
91	1	42	12	bulk item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
92	1	42	2	stock item	2.000	500.00	500.00	1000.00	none	0.00	0.00	0.00	0.00		f	\N
93	1	42	11	Tax Item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
94	1	42	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
95	1	42	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
96	1	43	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
97	1	44	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
98	1	45	23	Deal 1 (Cold Drink, Crown Crust, Crispy Chicken Burgers)	1.000	2050.00	2050.00	2050.00	none	0.00	0.00	0.00	0.00		f	\N
99	1	45	13	Crown Crust	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
100	1	45	19	Classic Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
101	1	45	20	Zinger Burger	5.000	700.00	700.00	3500.00	none	0.00	0.00	0.00	0.00		f	\N
102	1	45	21	Crunch Burger	2.000	800.00	1000.00	1600.00	percent	20.00	200.00	400.00	0.00		f	\N
103	1	46	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
104	1	47	3	stock item 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
105	1	47	1	Test Scale Items	2.000	400.00	400.00	800.00	none	0.00	0.00	0.00	0.00		f	\N
106	1	47	12	bulk item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	18.00		f	\N
107	1	47	11	Tax Item	4.000	550.00	550.00	2200.00	none	0.00	0.00	0.00	18.00		f	\N
108	1	47	8	test 4	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
109	1	48	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
110	1	49	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
111	1	50	16	tablet	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
112	1	51	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
113	1	51	13	Deal	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
114	1	51	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
115	1	51	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
116	1	51	12	bulk item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
117	1	51	7	test 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
118	1	51	8	test 4	4.000	600.00	600.00	2400.00	none	0.00	0.00	0.00	0.00		f	\N
119	1	51	11	Tax Item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
120	1	51	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
121	1	51	3	stock item 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
122	1	51	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
123	1	52	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
124	1	53	2	stock item	2.000	500.00	500.00	1000.00	none	0.00	0.00	0.00	0.00		f	\N
125	1	53	3	stock item 3	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
126	1	53	4	stock item 2	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
127	1	53	5	test 1	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
128	1	53	6	test 2	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	0.00		f	\N
129	1	53	8	test 4	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
130	1	53	11	Tax Item	1.000	550.00	550.00	550.00	none	0.00	0.00	0.00	18.00		f	\N
131	1	53	12	bulk item	2.000	550.00	550.00	1100.00	none	0.00	0.00	0.00	18.00		f	\N
132	1	53	14	Panadol	1.000	100.00	100.00	100.00	none	0.00	0.00	0.00	0.00		f	\N
133	1	53	1	Test Scale Items	1.000	400.00	400.00	400.00	none	0.00	0.00	0.00	0.00		f	\N
134	1	55	2	stock item	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
135	1	56	4	stock item 2	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
136	1	57	23	Deal 1 (Cold Drink, Malai Tikka, Crispy Chicken Burgers)	1.000	2050.00	2050.00	2050.00	none	0.00	0.00	0.00	0.00		f	\N
137	1	57	13	Crown Crust	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
138	1	57	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
139	1	57	19	Classic Burger	1.000	400.00	500.00	400.00	percent	20.00	100.00	100.00	0.00		f	\N
140	1	57	20	Zinger Burger	2.000	700.00	700.00	1400.00	none	0.00	0.00	0.00	0.00		f	\N
141	1	57	21	Crunch Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
142	1	58	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
143	1	58	19	Classic Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
144	1	59	19	Classic Burger	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
145	1	59	20	Zinger Burger	1.000	700.00	700.00	700.00	none	0.00	0.00	0.00	0.00		f	\N
146	1	59	21	Crunch Burger	2.000	600.00	600.00	1200.00	none	0.00	0.00	0.00	0.00		f	\N
147	1	60	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
148	1	60	20	Zinger Burger	1.000	700.00	700.00	700.00	none	0.00	0.00	0.00	0.00		f	\N
149	1	60	7	Image item test	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
150	1	62	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
151	1	62	19	Classic Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
152	1	62	20	Zinger Burger	1.000	700.00	700.00	700.00	none	0.00	0.00	0.00	0.00		f	\N
153	1	63	18	Crispy Chicken Burgers	5.000	500.00	500.00	2500.00	none	0.00	0.00	0.00	0.00		f	\N
154	1	63	19	Classic Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
155	1	63	20	Zinger Burger	1.000	700.00	700.00	700.00	none	0.00	0.00	0.00	0.00		f	\N
156	1	63	21	Crunch Burger	1.000	600.00	600.00	600.00	none	0.00	0.00	0.00	0.00		f	\N
157	1	64	22	Malai Tikka	1.000	650.00	650.00	650.00	none	0.00	0.00	0.00	0.00		f	\N
158	1	64	13	Crown Crust	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
159	1	65	22	Malai Tikka	1.000	650.00	650.00	650.00	none	0.00	0.00	0.00	0.00	Malai Botti Spicy nai honi chahiya	f	\N
160	1	65	13	Crown Crust	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
161	1	66	17	Cold Drink	1.000	150.00	150.00	150.00	none	0.00	0.00	0.00	18.00		f	\N
162	1	66	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
163	1	67	18	Crispy Chicken Burgers	1.000	500.00	500.00	500.00	none	0.00	0.00	0.00	0.00		f	\N
164	1	68	22	Malai Tikka	1.000	650.00	650.00	650.00	none	0.00	0.00	0.00	0.00		f	\N
\.


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

COPY public.sale_return_items (id, sale_return_id, item_id, quantity, unit_price, total_price, tax_rate) FROM stdin;
1	1	5	1.000	600.00	600.00	0.00
2	2	2	1.000	400.00	400.00	0.00
3	3	2	1.000	400.00	400.00	0.00
4	4	2	1.000	500.00	500.00	0.00
5	5	3	5.000	600.00	3000.00	0.00
\.


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

COPY public.sale_returns (id, store_id, sale_id, return_source, customer_id, return_date, total_amount, remarks, customer_remarks, payment_method, bank_account_id, created_by, created_at, shift_id) FROM stdin;
2	1	\N	pos_quick	1	2026-06-27 20:38:19.579734	400.00	POS Quick Return #2	No receipt / invoice lost	cash	\N	1	2026-06-27 20:38:19.579734	\N
3	1	\N	pos_quick	1	2026-06-27 20:50:35.206325	400.00	POS Quick Return #3	No receipt / invoice lost	cash	\N	1	2026-06-27 20:50:35.206325	\N
1	1	2	invoice	1	2026-06-27 16:48:30.011887	600.00	Sale Return #1		cash	\N	\N	2026-06-27 16:48:30.011887	1
4	1	\N	pos_quick	1	2026-06-27 21:05:01.198191	500.00	POS Quick Return #4	No receipt / invoice lost	cash	\N	1	2026-06-27 21:05:01.198191	1
5	1	8	invoice	1	2026-06-27 21:05:39.674218	3000.00	Sale Return #5		cash	\N	\N	2026-06-27 21:05:39.674218	1
\.


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

COPY public.sales (id, terminal_id, store_id, branch_id, invoice_number, sale_date, customer_name, customer_id, total_amount, tax_amount, discount_amount, withholding_amount, discount_id, net_amount, payment_method, created_at, shift_id, is_fbr_enabled, is_kpra_enabled, zatca_phase2_invoice_id, table_id, order_mode, discount_type, discount_value, service_charges, tip_amount, order_taker_id, number_of_guests, void_id, is_fbr_digital_enabled) FROM stdin;
1	\N	1	1	INV-001739	2026-06-27 16:18:39.265818	\N	\N	1200.00	0.00	0.00	0.00	0	1200.00	cash	2026-06-27 16:18:39.265818	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
17	\N	1	1	INV-001893	2026-06-27 23:59:26.180175	\N	\N	9398.00	99.00	100.00	0.00	0	4600.00	cash	2026-06-27 23:59:26.180175	2	f	f	\N	1	dine_in	percent	0.00	4699.00	0.00	\N	5	\N	f
2	\N	1	1	INV-001741	2026-06-27 16:20:48.701629	\N	\N	600.00	0.00	0.00	0.00	0	600.00	cash	2026-06-27 16:20:48.701629	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
37	\N	1	1	INV-002222	2026-06-29 23:10:25.677345	\N	\N	5260.00	0.00	100.00	0.00	0	5260.00	cash	2026-06-29 23:10:25.677345	2	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
6	\N	1	1	INV-001755	2026-06-27 17:33:15.078443	\N	\N	600.00	0.00	0.00	0.00	0	600.00	cash	2026-06-27 17:33:15.078443	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
26	\N	1	1	INV-002018	2026-06-28 20:40:47.496242	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-28 20:40:47.496242	2	f	f	\N	2	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
18	\N	1	1	INV-001899	2026-06-28 15:38:12.189924	\N	\N	1550.00	0.00	0.00	0.00	0	1550.00	cash	2026-06-28 15:38:12.189924	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
7	\N	1	1	INV-001757	2026-06-27 17:33:40.862228	\N	\N	600.00	0.00	0.00	0.00	0	600.00	card	2026-06-27 17:33:40.862228	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
8	\N	1	1	INV-001760	2026-06-27 17:44:24.936127	\N	\N	3000.00	0.00	0.00	0.00	0	3000.00	card	2026-06-27 17:44:24.936127	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
32	\N	1	1	INV-002153	2026-06-29 20:59:55.697068	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-29 20:59:55.697068	2	f	f	\N	3	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
19	\N	1	1	INV-001910	2026-06-28 15:38:49.195687	\N	\N	1500.00	0.00	0.00	0.00	0	1500.00	cash	2026-06-28 15:38:49.195687	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
9	\N	1	1	INV-001762	2026-06-27 17:51:58.526334	\N	\N	600.00	0.00	0.00	0.00	0	600.00	card	2026-06-27 17:51:58.526334	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
20	\N	1	1	INV17826437449707	2026-06-28 15:49:04	Walk-in Customer	\N	150.00	0.00	0.00	0.00	\N	150.00	void	2026-06-28 15:49:04.343529	\N	f	f	\N	\N	\N	\N	0.00	0.00	0.00	1	\N	1	f
10	\N	1	1	INV-001849	2026-06-27 23:23:56.098112	\N	\N	500.00	0.00	0.00	0.00	0	500.00	bank	2026-06-27 23:23:56.098112	1	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
11	\N	1	1	INV-001854	2026-06-27 23:26:21.288787	\N	\N	2500.00	0.00	0.00	0.00	0	2500.00	cash	2026-06-27 23:26:21.288787	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
27	\N	1	1	INV-002014	2026-06-28 20:41:00.600289	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-28 20:41:00.600289	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
21	\N	1	1	INV-001921	2026-06-28 15:49:57.707477	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-28 15:49:57.707477	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
12	\N	1	1	INV-001859	2026-06-27 23:29:33.539785	\N	\N	5000.00	0.00	0.00	0.00	0	5000.00	cash	2026-06-27 23:29:33.539785	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
13	\N	1	1	INV-001865	2026-06-27 23:35:52.040946	\N	\N	500.00	0.00	0.00	0.00	0	500.00	card	2026-06-27 23:35:52.040946	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
22	\N	1	1	INV-001922	2026-06-28 15:52:59.983254	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-28 15:52:59.983254	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
14	\N	1	1	INV-001868	2026-06-27 23:38:11.365771	\N	\N	600.00	0.00	0.00	0.00	0	600.00	cash	2026-06-27 23:38:11.365771	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
15	\N	1	1	INV-001883	2026-06-27 23:47:23.88103	\N	\N	4648.00	198.00	100.00	0.00	0	4450.00	card	2026-06-27 23:47:23.88103	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
28	\N	1	1	INV-002118	2026-06-29 00:28:32.267826	\N	\N	6590.00	440.00	100.00	0.00	0	6150.00	cash	2026-06-29 00:28:32.267826	2	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
16	\N	1	1	INV-001888	2026-06-27 23:52:35.854736	\N	1	38544.00	594.00	4200.00	0.00	0	37950.00	credit	2026-06-27 23:52:35.854736	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	5	\N	f
33	\N	1	1	INV-002113	2026-06-29 21:00:07.728721	\N	\N	1000.00	0.00	0.00	0.00	0	1000.00	cash	2026-06-29 21:00:07.728721	2	f	f	\N	12	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
23	\N	1	1	INV-001917	2026-06-28 15:55:58.057683	\N	\N	2500.00	0.00	0.00	0.00	0	2500.00	card	2026-06-28 15:55:58.057683	2	f	f	\N	3	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
29	\N	1	1	INV-002155	2026-06-29 20:56:18.074322	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-29 20:56:18.074322	2	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
24	\N	1	1	INV-001929	2026-06-28 16:00:59.64607	\N	\N	156.60	21.60	15.00	0.00	0	135.00	cash	2026-06-28 16:00:59.64607	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
41	\N	1	1	INV-002253	2026-06-30 17:54:29.388503	\N	\N	696.00	96.00	0.00	0.00	0	600.00	cash	2026-06-30 17:54:29.388503	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
38	\N	1	1	INV-002229	2026-06-29 23:22:10.80282	\N	\N	7200.00	0.00	110.00	0.00	0	7200.00	cash	2026-06-29 23:22:10.80282	2	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
25	\N	1	1	INV-002011	2026-06-28 20:34:34.66646	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-28 20:34:34.66646	2	f	f	\N	2	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
34	\N	1	1	INV-002176	2026-06-29 21:11:20.16049	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-29 21:11:20.16049	2	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
30	\N	1	1	INV-002157	2026-06-29 20:56:43.109778	\N	\N	5026.00	176.00	100.00	0.00	0	4850.00	cash	2026-06-29 20:56:43.109778	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
31	\N	1	1	INV-002161	2026-06-29 20:58:04.986546	\N	3	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-29 20:58:04.986546	2	f	f	\N	\N	delivery	percent	0.00	0.00	0.00	\N	\N	\N	f
35	\N	1	1	INV-002180	2026-06-29 21:12:45.597111	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-29 21:12:45.597111	2	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
44	\N	1	1	INV-002260	2026-06-30 20:17:55.821982	\N	1	600.00	0.00	0.00	0.00	0	600.00	credit	2026-06-30 20:17:55.821982	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
39	\N	1	1	INV-002236	2026-06-30 14:08:12.963299	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-30 14:08:12.963299	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
36	\N	1	1	INV-002179	2026-06-29 21:35:53.115125	\N	\N	174.00	24.00	0.00	0.00	0	150.00	cash	2026-06-29 21:35:53.115125	2	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
42	\N	1	1	INV-001931	2026-06-30 20:16:06.850872	\N	\N	3976.00	176.00	0.00	0.00	0	3800.00	cash	2026-06-30 20:16:06.850872	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
40	\N	1	1	INV-002248	2026-06-30 17:35:55.212332	\N	\N	630.00	30.00	0.00	0.00	0	600.00	card	2026-06-30 17:35:55.212332	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
43	\N	1	1	INV-002258	2026-06-30 20:17:11.523021	\N	1	600.00	0.00	0.00	0.00	0	600.00	cash	2026-06-30 20:17:11.523021	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
47	\N	1	1	INV-002195	2026-06-30 23:50:48.422004	\N	\N	5132.00	432.00	0.00	0.00	0	4700.00	cash	2026-06-30 23:50:48.422004	2	f	f	\N	10	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
45	\N	1	1	INV-002219	2026-06-30 23:45:07.303607	\N	\N	8250.00	0.00	400.00	0.00	0	8250.00	cash	2026-06-30 23:45:07.303607	2	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
49	\N	1	1	INV-002183	2026-06-30 23:51:32.05904	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-30 23:51:32.05904	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
46	\N	1	1	INV-002172	2026-06-30 23:45:17.43258	\N	\N	100.00	0.00	0.00	0.00	0	100.00	cash	2026-06-30 23:45:17.43258	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
48	\N	1	1	INV-002186	2026-06-30 23:51:24.899064	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-30 23:51:24.899064	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
50	\N	1	1	INV-001949	2026-06-30 23:51:40.639017	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-30 23:51:40.639017	2	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
51	\N	1	1	INV-001946	2026-06-30 23:53:23.952759	\N	\N	7726.00	176.00	0.00	0.00	0	7550.00	cash	2026-06-30 23:53:23.952759	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
52	\N	1	1	INV-001943	2026-06-30 23:53:34.002636	\N	\N	100.00	0.00	0.00	0.00	0	100.00	cash	2026-06-30 23:53:34.002636	2	f	f	\N	1	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
54	\N	1	1	INV17828456826608	2026-06-30 23:54:42	Walk-in Customer	\N	2700.00	0.00	0.00	0.00	\N	2700.00	void	2026-06-30 23:54:42.410275	\N	f	f	\N	\N	\N	\N	0.00	0.00	0.00	1	\N	2	f
53	\N	1	1	INV-001945	2026-06-30 23:53:59.498923	\N	\N	6364.00	264.00	0.00	0.00	0	6100.00	cash	2026-06-30 23:53:59.498923	2	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
55	\N	1	1	INV-002280	2026-06-30 23:55:56.886399	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-06-30 23:55:56.886399	3	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
56	\N	1	1	INV-002282	2026-06-30 23:57:06.492092	\N	\N	1200.00	0.00	0.00	0.00	0	1200.00	cash	2026-06-30 23:57:06.492092	3	f	f	\N	\N	\N	percent	0.00	0.00	0.00	\N	\N	\N	f
57	\N	1	1	INV-002298	2026-07-01 00:30:55.094637	\N	\N	5450.00	0.00	100.00	0.00	0	5450.00	cash	2026-07-01 00:30:55.094637	4	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
58	\N	1	1	INV-002354	2026-07-01 07:18:16.242081	\N	4	1100.00	0.00	0.00	0.00	0	1100.00	cash	2026-07-01 07:18:16.242081	4	f	f	\N	\N	delivery	percent	0.00	0.00	0.00	\N	\N	\N	f
59	\N	1	1	INV-002305	2026-07-03 18:46:36.150746	\N	\N	1550.00	0.00	1550.00	0.00	0	1550.00	cash	2026-07-03 18:46:36.150746	4	f	f	\N	\N	take_away	percent	50.00	0.00	0.00	\N	\N	\N	f
60	\N	1	1	INV-002304	2026-07-04 15:34:34.728404	\N	\N	1800.00	0.00	0.00	0.00	0	1800.00	cash	2026-07-04 15:34:34.728404	4	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
61	\N	1	1	INV17831617569430	2026-07-04 15:42:36	Walk-in Customer	\N	500.00	0.00	0.00	0.00	\N	500.00	void	2026-07-04 15:42:36.578271	\N	f	f	\N	\N	\N	\N	0.00	0.00	0.00	1	\N	3	f
62	\N	1	1	INV-002384	2026-07-04 15:47:12.057129	\N	\N	1800.00	0.00	0.00	0.00	0	1800.00	card	2026-07-04 15:47:12.057129	5	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
63	\N	1	1	INV-002395	2026-07-04 15:51:09.803316	\N	\N	4400.00	0.00	0.00	0.00	0	4400.00	bank	2026-07-04 15:51:09.803316	5	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
64	\N	1	1	INV-002400	2026-07-04 15:53:35.681333	\N	\N	1150.00	0.00	0.00	0.00	0	1150.00	card	2026-07-04 15:53:35.681333	5	f	f	\N	6	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
65	\N	1	1	INV-002402	2026-07-04 16:07:19.620796	\N	0	1150.00	0.00	0.00	0.00	0	1150.00	cash	2026-07-04 16:07:19.620796	5	f	f	\N	\N	delivery	percent	0.00	0.00	0.00	\N	\N	\N	f
66	\N	1	1	INV-002406	2026-07-06 16:28:54.012261	\N	\N	674.00	24.00	0.00	0.00	0	650.00	cash	2026-07-06 16:28:54.012261	5	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
67	\N	1	1	INV-002435	2026-07-07 22:37:23.604273	\N	\N	500.00	0.00	0.00	0.00	0	500.00	cash	2026-07-07 22:37:23.604273	5	f	f	\N	\N	take_away	percent	0.00	0.00	0.00	\N	\N	\N	f
68	\N	1	1	INV-002447	2026-07-08 21:06:06.092249	\N	\N	650.00	0.00	0.00	0.00	0	650.00	cash	2026-07-08 21:06:06.092249	5	f	f	\N	5	dine_in	percent	0.00	0.00	0.00	\N	\N	\N	f
\.


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

COPY public.setting_categories (id, name, code) FROM stdin;
1	Print Settings	print_settings
2	FBR Integration	integration
3	FBR Digital Integration	fbr_digital_integration
4	Sales Orders	sales_orders
5	Barcode Settings	barcode_settings
6	POS	pos
7	System Settings	system_settings
8	KPRA Integration	kpra_integration
9	Tax Settings	tax_settings
10	KDS	kds
11	Accounts	accounts
12	ZATCA Integration	zatca_integration
13	WhatsApp	whatsapp
\.


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

COPY public.setting_options (id, setting_id, option_label, option_value) FROM stdin;
1	11	Pakistan (Karachi)	Asia/Karachi
2	11	Pakistan (Lahore)	Asia/Karachi
3	11	Pakistan (Islamabad)	Asia/Karachi
4	11	India (Mumbai)	Asia/Kolkata
5	11	India (Delhi)	Asia/Kolkata
6	11	Bangladesh (Dhaka)	Asia/Dhaka
7	11	Sri Lanka (Colombo)	Asia/Colombo
8	11	Nepal (Kathmandu)	Asia/Kathmandu
9	11	UAE (Dubai)	Asia/Dubai
10	11	Saudi Arabia (Riyadh)	Asia/Riyadh
11	11	Qatar (Doha)	Asia/Qatar
12	11	Kuwait (Kuwait City)	Asia/Kuwait
13	11	Bahrain (Manama)	Asia/Bahrain
14	11	Oman (Muscat)	Asia/Muscat
15	11	UK (London)	Europe/London
16	11	USA (New York)	America/New_York
17	11	USA (Los Angeles)	America/Los_Angeles
18	11	Canada (Toronto)	America/Toronto
19	11	Australia (Sydney)	Australia/Sydney
20	11	UTC (Universal Time)	UTC
21	12	YYYY-MM-DD (ISO)	Y-m-d
22	12	DD/MM/YYYY	d/m/Y
23	12	MM/DD/YYYY	m/d/Y
24	12	DD-MM-YYYY	d-m-Y
25	12	MM-DD-YYYY	m-d-Y
26	12	DD.MM.YYYY	d.m.Y
27	12	MM.DD.YYYY	m.d.Y
28	17	Item-wise Tax (Current)	item_wise
29	17	Payment Method Tax	payment_method
30	28	Popup (Browser Dialog)	popup
31	28	Direct to Device	direct
32	29	Ask User	ask
33	29	Auto Print	auto
34	29	No Print	no
35	34	Before GST (reduce taxable amount)	before_tax
36	34	After GST (discount tax-inclusive total)	after_tax
37	35	Thermal (80mm)	thermal
38	35	A4 (Letter Size)	a4
39	38	Pakistani Rupee (Rs)	Rs
40	38	Saudi Riyal (SR)	SR
41	38	US Dollar ($)	$
42	38	Euro (€)	€
43	38	UAE Dirham (AED)	AED
44	42	Touch Screen (Restaurant)	touch_screen
45	42	Desktop	desktop
46	44	Username & Password	username_password
47	44	PIN	pin
48	45	Descending (Newest at Top)	descending
49	45	Ascending (Newest at Bottom)	ascending
50	54	Phase 1	phase1
51	54	Phase 2	phase2
52	56	Sandbox	sandbox
53	56	Production	production
54	75	Square	square
55	75	Round	round
56	35	A4 Half	a4_half
\.


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

COPY public.settings (id, store_id, category_id, name, code, type, value, default_value, description, is_active) FROM stdin;
1	\N	1	Print Customer Name	print_cus_name	boolean	1	1	Print Customer Name on Print	t
6	\N	1	Receipt Font Size	receipt_font_size	number	16	16	\N	t
7	\N	1	Receipt Logo Width	receipt_logo_width	number	100	100	Width of the branch logo on printed receipts (in pixels)	t
10	\N	6	Show Material Items on POS	show_material_items_on_pos	boolean	0	0	Show material items on POS item list	t
11	\N	7	System Timezone	system_timezone	select	Asia/Karachi	Asia/Karachi	Set the timezone for all date and time operations in the system. This affects reports, logs, and all time-sensitive operations.	t
12	\N	7	Date Display Format	date_display_format	select	Y-m-d	Y-m-d	Choose how dates are displayed throughout the system (YYYY-MM-DD, DD/MM/YYYY, etc.)	t
15	\N	6	KDS Auto Refresh	kds_auto_refresh	boolean	1	1	Enable automatic refresh for KDS screens	t
16	\N	6	KDS Sound Notifications	kds_sound_notifications	boolean	1	1	Enable sound notifications for new orders	t
20	\N	10	KDS Record Retention Days	kds_record_retention_days	number	7	7	Number of days to keep KDS records before automatic cleanup (1-90 days)	t
21	\N	10	Enable KDS Auto Cleanup	kds_auto_cleanup_enabled	boolean	1	1	Enable automatic cleanup of old KDS records	t
22	\N	10	KDS Last Cleanup Date	kds_last_cleanup_date	text			Timestamp of last KDS cleanup operation (system managed)	f
23	\N	1	Print Customer Number	print_cus_number	boolean	1	1	Print Customer Phone Number on Print	t
24	\N	1	Print Customer Address	print_cus_address	boolean	1	1	Print Customer Address on Print	t
25	\N	1	Dealer Branding	dealer_branding	text	www.itresources.com.pk	www.itresources.com.pk	Dealer company name and contact info for receipt footer	t
26	\N	1	Print Date and Time	print_datetime	boolean	1	1	Display date and time on printed receipts	t
27	\N	1	Print Remarks	print_remarks	boolean	1	1	Display remarks/notes on printed receipts	t
29	\N	1	Global Print Mode	global_print_mode	select	ask	ask	Global print behavior: Ask (prompt user), Auto (direct print), No (no print)	t
30	\N	7	Default Language	default_language	select	en	en	Default system language	t
31	\N	7	Language Switcher	language_switcher_enabled	boolean	1	1	Enable language switcher in header	t
32	\N	7	RTL Support	rtl_support_enabled	boolean	1	1	Enable RTL (Right-to-Left) support	t
33	\N	11	Enable Expense Approval	expense_approval_enabled	boolean	0	0	When enabled, all new expenses will require approval before being processed	t
34	\N	9	Discount Tax Sequence	discount_tax_sequence	select	after_tax	before_tax	Choose whether discounts apply before GST (reduce taxable base) or after GST (on tax-inclusive total).	t
36	\N	1	Print Complete Shift Summary Report	print_complete_shift_summary	boolean	0	0	When enabled, prints the complete detailed shift summary report. When disabled (default), prints a short condensed summary.	t
37	\N	1	Print Customer Previous Balance	print_cus_previous_balance	boolean	0	0	When enabled, the receipt will display the customer's outstanding balance/dues before the current transaction	t
38	\N	7	System Currency	system_currency	select	Rs	Rs	Select the default currency symbol to be used throughout the system	t
39	\N	1	KOT Font Size	kot_font_size	number	10	10	Font size for Kitchen Order Tickets (KOT) when printing to LAN printers	t
40	\N	6	Subcategory Font Size	pos_subcategory_font_size	number	16	16	Font size for subcategory text displayed in POS (in pixels, recommended: 14-20)	t
41	\N	4	Catering	catering	boolean	0	1	Enable Catering orders	t
43	\N	6	Display Order Taker Selection	pos_display_order_taker	boolean	1	0	Enable to show order taker selection dropdown on POS (appears next to customer selection)	t
44	\N	7	Login Authentication Method	login_authentication_method	select	username_password	username_password	Choose the authentication method for user login: Username/Password or PIN	t
45	\N	6	List Item Order	pos_list_item_order	select	descending	descending	Select the order in which items appear in the POS list: Descending (newest at top) or Ascending (newest at bottom)	t
48	\N	6	Reset invoice number on new shift	pos_reset_invoice_on_shift_start	boolean	0	0	When enabled, invoice count starts from 1 (e.g. INV-000001) each time a new shift is opened. When disabled, invoice numbers continue in sequence across shifts.	t
18	\N	9	Show Payment Method Tax Rates	show_payment_method_tax_rates	boolean	0	1	Display tax rates for different payment methods on POS interface	t
19	\N	9	Enable Tax Preview on Payment Selection	enable_tax_preview_on_payment	boolean	0	1	Show updated tax amount when payment method is selected (for payment method tax mode)	t
49	\N	11	Enable Financials (GL)	financials_enabled	boolean	1	1	When enabled, the system creates and posts journal entries (double-entry) for sales, purchases, expenses, payments, transfers, and adjustments. When disabled, day-to-day operations continue without writing to the general ledger.	t
50	\N	1	Invoice Footer Note	invoice_footer_note	text			Optional note shown at the bottom of invoices and receipts (thermal, A4, POS preview, LAN/USB). Use multiple lines if needed.	t
46	\N	4	Display Number of Guests (Dine-In)	dine_in_show_number_of_guests	boolean	0	1	When enabled, selecting a dine-in table will ask for number of guests and display it. When disabled, the prompt and guest count are hidden.	t
17	\N	9	Tax Calculation Method	tax_calculation_method	select	payment_method	item_wise	Choose how taxes are calculated: item-wise (per item) or payment method based (uniform rate per payment type)	t
52	\N	13	Send sales invoice via WhatsApp	pos_whatsapp_invoice_enabled	boolean	1	0	When enabled, the WhatsApp invoice button appears on the POS after payment so staff can send the invoice text to the customer.	t
53	\N	13	Customer ledger on WhatsApp	whatsapp_customer_ledger_enabled	boolean	1	0	When enabled, staff can send the customer account ledger as a WhatsApp message from the Customer Ledger screen.	t
54	\N	12	ZATCA Mode	zatca_mode	select	phase2	phase1	ZATCA integration mode: phase1 or phase2	t
55	\N	12	Enable ZATCA Phase 2	zatca_phase2_enabled	boolean	0	0	Enable Phase 2 (clearance/reporting)	t
56	\N	12	ZATCA Phase 2 Environment	zatca_phase2_environment	select	sandbox	sandbox	sandbox or production environment	t
57	\N	12	Enable ZATCA Phase 2 Worker	zatca_phase2_worker_enabled	boolean	1	1	Enable background worker for retries/reporting	t
58	\N	12	ZATCA Retry Delay Seconds	zatca_phase2_retry_delay_seconds	number	120	120	Base retry delay in seconds	t
59	\N	12	ZATCA Max Retries	zatca_phase2_max_retries	number	8	8	Maximum retries for failed submissions	t
60	\N	12	ZATCA Reporting SLA Hours	zatca_phase2_reporting_sla_hours	number	24	24	Simplified invoice reporting deadline in hours	t
61	\N	12	ZATCA Phase 2 API Base URL	zatca_phase2_api_base_url	text	https://sandbox.fatoora.zatca.gov.sa	https://sandbox.fatoora.zatca.gov.sa	Base URL for ZATCA Phase 2 APIs	t
62	\N	12	ZATCA Phase 2 API Token	zatca_phase2_api_token	text			Authorization token/credential for ZATCA APIs	t
63	\N	12	ZATCA Clearance Endpoint	zatca_phase2_clearance_endpoint	text	/api/v1/invoices/clearance/single	/api/v1/invoices/clearance/single	Endpoint path for standard invoice clearance	t
64	\N	12	ZATCA Reporting Endpoint	zatca_phase2_reporting_endpoint	text	/api/v1/invoices/reporting/single	/api/v1/invoices/reporting/single	Endpoint path for simplified invoice reporting	t
65	\N	12	ZATCA Device Identifier	zatca_phase2_device_identifier	text			Optional fixed EGS device identifier for hash chain	t
67	\N	6	Display shift summary before shift close	pos_display_shift_summary_before_close	boolean	0	1	When enabled, the cashier reviews expected cash and discrepancy before confirming shift close. When disabled, the shift closes after entering closing cash and the full summary is shown afterward.	t
14	\N	6	Enable Kitchen Display System	enable_kds	boolean	0	0	Enable Kitchen Display System for order management	t
68	\N	6	Show Cost Price in Edit Modal	pos_show_cost_in_edit_modal	boolean	0	0	When enabled, the Qty/Rate edit modal (row click or F7) shows item cost price under the Rate column.	t
8	\N	5	Barcode Logo Width	barcode_logo_width	number	80	80	Width of the business print logo on barcode labels (pixels). Upload the logo under Settings → Print Settings.	t
9	\N	5	Display Barcode Logo	barcode_logo_display	boolean	0	1	Show or hide the business print logo on barcode labels. Upload the logo under Settings → Print Settings.	t
66	\N	1	Print Logo	print_logo	boolean	1	1	When enabled, receipts and supported documents print the business logo. Upload or change the image under Settings → Print Settings.	t
70	\N	1	Print Logo File Path	print_logo_path	text	assets/img/branch_logo.png	assets/img/branch_logo.png	Relative path to the business print logo (PNG). Managed by Print Settings upload; used on receipts, quotations, vouchers, and ledgers. Do not edit unless relocating the file manually.	t
72	\N	6	Scale barcode — qty digits	pos_scale_barcode_qty_digits	number	6	6	Number of digits in scale barcode used for weight/qty (default 6).	t
73	\N	6	Scale barcode — qty decimals	pos_scale_barcode_qty_decimals	number	3	3	Decimal places within qty digits (default 3, e.g. 001500 = 1.500).	t
74	\N	6	Scale barcode — prefix	pos_scale_barcode_prefix	text			Optional leading digits to skip before item code and weight (e.g. 3, 2, or 21). Leave empty if no prefix.	t
77	\N	6	Default Table Layout Height (%)	pos_table_default_layout_h	number	8	8	Default height (percent of floor canvas) when placing a new table on the floor plan	t
71	\N	6	Scale barcode — code digits	pos_scale_barcode_code_digits	number	5	5	Number of digits in scale barcode for item/PLU code (matches 5-digit item codes, e.g. 10010).	t
69	\N	4	Require Order Mode Selection	pos_require_order_mode_when_enabled	boolean	1	1	When enabled, POS requires selecting an order mode (Dine In / Take Away / Delivery / Catering) before starting a sale whenever at least one order mode is enabled. When disabled, POS will allow sales without choosing an order mode.	t
76	\N	6	Default Table Layout Width (%)	pos_table_default_layout_w	number	8	8	Default width (percent of floor canvas) when placing a new table on the floor plan	t
75	\N	6	Default Table Shape	pos_table_default_shape	select	square	square	Default visual shape when adding a new dine-in table (square or round)	t
2	\N	1	Print KOT	print_kot	boolean	1	1	Print Kitchen Order Ticket (KOT)	t
28	\N	1	Print Method	print_method	select	popup	popup	Choose print method: Popup (browser dialog) or Direct (use configured devices)	t
35	\N	1	Receipt Print Format	receipt_print_format	select	thermal	thermal	Choose receipt print format: Thermal (80mm), A4 (Letter Size), or A4 Half	t
42	\N	6	POS Screen Type	pos_screen_type	select	desktop	touch_screen	Select POS interface type: Touch Screen (restaurant) shows categories/subcategories, Desktop shows search bar	t
47	\N	1	Next Invoice Number	next_invoice_number	number	2462	1	Internal: next sequential invoice number (do not edit manually)	f
5	\N	4	Delivery	delivery	boolean	0	1	Delivery Orders	t
3	\N	4	Dine In	dine_in	boolean	0	1	Enable Dine In for table Orders	t
4	\N	4	Take Away	take_away	boolean	0	1	Enable Take Away orders	t
\.


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

COPY public.shift_logs (id, store_id, shift_id, action_type, amount, note, created_at) FROM stdin;
\.


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

COPY public.shifts (id, store_id, branch_id, user_id, start_time, end_time, opening_cash, closing_cash, expected_cash, actual_cash, discrepancy, status, open_journal_entry_id, close_journal_entry_id) FROM stdin;
1	1	1	1	2026-06-26 19:57:30.589144	2026-06-27 23:25:02.354491	0.00	2000.00	-1700.00	2000.00	3700.00	closed	\N	\N
2	1	1	1	2026-06-27 23:25:52.470874	2026-06-30 23:54:58.158633	0.00	30000.00	83942.60	30000.00	-53942.60	closed	\N	70
3	1	1	1	2026-06-30 23:55:36.308844	2026-07-01 00:01:19.204055	0.00	1700.00	1700.00	1700.00	0.00	closed	\N	73
4	1	1	1	2026-07-01 00:06:52.907634	2026-07-04 15:35:16.187676	0.00	0.00	9900.00	0.00	-9900.00	closed	\N	93
5	1	1	1	2026-07-04 15:35:53.496539	\N	0.00	0.00	0.00	0.00	0.00	open	\N	\N
\.


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

COPY public.site_installation (id, installation_role, license_key, machine_id, last_verified_at, license_cache, license_type, setup_completed_at, created_at, updated_at) FROM stdin;
1	branch_server	ITR-B517-00D1-3E08	d6f865869e7a4ad3df21b0582683179b	2026-07-09 20:32:40.69573	{"success":true,"message":"License verified successfully.","type":"real","branch_name":"Demo License","branch_address":"Islamabad","support_end_date":"2026-09-02","cloud_branch_id":202,"cloud_customer_id":40,"installation_type":"store","pos_max_users":2}	store	\N	2026-06-26 18:15:09.597807	2026-07-09 20:32:40.69573
\.


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

COPY public.stock_adjustment_items (id, adjustment_id, item_id, item_name, current_quantity, adjustment_quantity, new_quantity, cost_price, current_stock_value, adjustment_value, new_stock_value) FROM stdin;
1	1	26	new item	0.000000	50.000000	50.000000	50.00	0.00	2500.00	2500.00
\.


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

COPY public.stock_adjustments (id, adjustment_number, store_id, adjustment_date, total_items, total_adjustment_value, total_current_stock_value, total_new_stock_value, remarks, created_by, journal_entry_id, created_at) FROM stdin;
1	ADJ-20260703-7636	1	2026-07-03 19:04:17.496518	1	2500.00	0.00	2500.00		1	91	2026-07-03 19:04:17.496518
\.


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

COPY public.stock_transfer_items (id, to_store_id, from_store_id, transfer_id, item_id, item_name, quantity, cost_price, remarks) FROM stdin;
1	2	1	1	14	Panadol	1.000000	20.00	
2	2	1	2	14	Panadol	1.000000	20.00	
3	2	1	3	6	chair	1.000000	250.00	
4	2	1	3	14	Panadol	2.000000	20.00	
5	2	1	4	14	Panadol	1.000000	20.00	
6	1	2	5	14	Panadol	1.000000	20.00	
7	2	1	6	6	chair	1.000000	250.00	
8	2	1	7	26	new item	10.000000	50.00	
9	2	1	8	26	new item	10.000000	50.00	
10	2	1	9	6	chair	1.000000	150.00	
11	2	1	9	26	new item	1.000000	50.00	
12	2	1	9	14	Panadol	1.000000	20.00	
\.


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

COPY public.stock_transfers (id, transfer_number, from_store_id, to_store_id, transfer_date, status, total_items, total_quantity, notes, requested_by, approved_by, received_by, created_at, updated_at) FROM stdin;
1	TRF-20260701-6975	1	2	2026-07-01 16:40:25.718116	approved	1	1.000000		1	1	\N	2026-07-01 16:40:25.718116	2026-07-01 16:40:25.718116
3	TRF-20260701-2650	1	2	2026-07-01 17:30:20.81125	approved	2	3.000000		1	1	\N	2026-07-01 17:30:20.81125	2026-07-01 17:30:20.81125
2	TRF-20260701-3781	1	2	2026-07-01 17:23:19.604243	approved	1	1.000000		1	1	\N	2026-07-01 17:23:19.604243	2026-07-01 17:23:19.604243
4	TRF-20250628-6074	1	2	2025-06-28 00:00:00	approved	1	1.000000		1	1	\N	2026-07-01 18:57:57.25816	2026-07-01 18:57:57.25816
5	TRF-20260701-4653	2	1	2026-07-01 00:00:00	approved	1	1.000000		1	1	\N	2026-07-01 19:26:18.535031	2026-07-01 19:26:18.535031
6	TRF-20260701-1892	1	2	2026-07-01 00:00:00	pending	1	1.000000		1	\N	\N	2026-07-01 19:34:21.635024	2026-07-01 19:34:21.635024
7	TRF-20260703-9894	1	2	2026-07-03 00:00:00	approved	1	10.000000		1	1	\N	2026-07-03 19:05:00.994182	2026-07-03 19:05:00.994182
8	TRF-20260701-1089	1	2	2026-07-01 00:00:00	approved	1	10.000000		1	1	\N	2026-07-03 19:06:56.526259	2026-07-03 19:06:56.526259
9	TRF-20260705-4846	1	2	2026-07-05 00:00:00	approved	3	3.000000		1	1	\N	2026-07-06 16:06:37.855512	2026-07-06 16:06:37.855512
\.


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

COPY public.store_inventory (id, store_id, item_id, quantity, last_updated) FROM stdin;
1	1	26	50.000000	2026-07-03 19:04:17.496518
\.


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

COPY public.stores (id, branch_id, store_name, store_code, address, phone, email, manager_name, is_active, is_default, created_at) FROM stdin;
1	1	Main Store	1					t	f	2026-06-26 19:57:41.126645
2	1	Production	2					t	f	2026-07-01 16:39:57.078725
5	2	Asnaff	Asnaff					t	f	2026-07-09 19:29:07.385147
\.


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

COPY public.sub_categories (id, category_id, name, display_color, is_active) FROM stdin;
1	1	Sub General	\N	t
2	3	New Deals	\N	t
3	1	General 2	\N	t
4	1	General 3	\N	t
5	1	General 3	\N	t
6	4	Tablet	\N	t
7	5	Capsule	\N	t
8	2	Chicken Burgers	\N	t
9	3	Small Pizza	\N	t
\.


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

COPY public.subscription_plans (id, store_id, name, billing_interval, is_active, created_at, updated_at) FROM stdin;
\.


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

COPY public.sup_outstanding (id, purchase_id, vendor_id, amount, status, created_at) FROM stdin;
3	3	1	1200.00	unpaid	2026-06-27 00:32:00.804789
4	4	1	250.00	unpaid	2026-06-27 00:33:16.415619
5	5	1	436.00	unpaid	2026-06-27 16:53:24.029537
6	6	1	236.00	unpaid	2026-06-27 17:23:52.983548
7	7	1	591.00	unpaid	2026-06-27 18:05:42.323292
8	8	2	660.00	unpaid	2026-06-27 23:22:25.544512
9	12	2	440.00	unpaid	2026-06-29 19:50:01.724505
10	13	1	2370.00	unpaid	2026-06-29 20:00:44.399093
11	14	1	462.56	unpaid	2026-06-30 17:13:33.533921
1	1	1	0.00	paid	2026-06-26 20:37:10.005775
2	2	1	1700.00	partial	2026-06-26 20:44:33.852445
12	15	2	200.00	unpaid	2026-07-01 16:39:03.019843
13	16	2	3140.00	unpaid	2026-07-01 17:24:12.913428
14	17	1	500.00	unpaid	2026-07-03 17:36:07.173708
15	18	2	500.00	unpaid	2026-07-03 17:38:21.165533
16	\N	2	-100.00	paid	2026-07-03 17:42:46.469898
17	19	2	25000.00	unpaid	2026-07-03 17:55:04.726189
18	20	1	1747.80	unpaid	2026-07-03 18:06:21.912218
\.


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

COPY public.sup_payments (id, store_id, vendor_id, purchase_id, balance_entry_id, amount_paid, discount_amount, withholding_rate, withholding_amount, gross_settlement_amount, net_cash_paid, payment_date, remarks) FROM stdin;
1	\N	1	1	\N	400.00	0.00	0.00	0.00	400.00	400.00	2026-06-30 17:57:00.782894	
2	\N	1	2	\N	100.00	0.00	0.00	0.00	100.00	100.00	2026-06-30 17:57:00.782894	
3	\N	3	\N	1	3500.00	5.00	0.25	8.74	3500.00	3486.26	2026-07-03 18:14:39.092614	
4	\N	3	\N	1	500.00	0.00	10.00	50.00	500.00	450.00	2026-07-03 18:22:49.275835	
5	\N	3	\N	1	5000.00	0.00	50.00	2500.00	5000.00	2500.00	2026-07-03 18:34:09.957315	
6	\N	3	\N	1	5000.00	1000.00	50.00	2000.00	5000.00	2000.00	2026-07-03 18:44:14.953546	
\.


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

COPY public.supplier_balance_entries (id, entry_number, vendor_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;
1	SB-20260703-2329	3	1	payable	15000.00	1000.00			39	83	posted	1	2026-07-03 18:11:56.091967	2026-07-03 18:11:56.091967
\.


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

COPY public.sync_conflicts (id, table_name, pk_value, direction, branch_code, conflict_type, local_snapshot, remote_snapshot, detected_at, resolved, resolved_by, resolved_at, resolution_note) FROM stdin;
\.


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

COPY public.sync_dead_letter (id, job_table_id, table_name, direction, pk_value, payload, error_message, error_code, first_seen_at, last_seen_at, attempt_count, status) FROM stdin;
\.


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

COPY public.sync_entity_policies (entity_name, direction_policy, source_of_truth, conflict_strategy, delete_strategy, notes, is_active, updated_at) FROM stdin;
stores	pull_only	cloud	upsert_on_store_code	none	Cloud master; never push from branch	t	2026-07-08 20:26:29.289917+05
items	pull_only	cloud	upsert_on_item_code	none	Cloud master; always pulled	t	2026-07-08 20:26:29.289917+05
bank_accounts	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
account_types	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
discounts	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
discount_categories	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
void_reasons	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
bom_master	pull_only	cloud	upsert_on_id	none	Cloud master; item_id remapped	t	2026-07-08 20:26:29.289917+05
bom_components	pull_only	cloud	upsert_on_id	none	Cloud master; item_id remapped	t	2026-07-08 20:26:29.289917+05
card_types	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
expense_categories	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
expense_subcategories	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
expense_accounts	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
fiscal_period_setup	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
fiscal_periods	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
rights	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
roles	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
role_rights	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
users	pull_only	cloud	upsert_on_id	none	Cloud master	t	2026-07-08 20:26:29.289917+05
branch_access	pull_only	cloud	upsert_on_composite	none	Pulled and branch_id remapped by branch_code	t	2026-07-08 20:26:29.289917+05
bank_access	pull_only	cloud	upsert_on_composite	none	Pulled after bank_accounts/users	t	2026-07-08 20:26:29.289917+05
quotations	pull_only	cloud	upsert_on_quotation_number	none	Created at HO for branch stores	t	2026-07-08 20:26:29.289917+05
quotation_items	pull_only	cloud	upsert_on_id	none	Pulled with quotation mapping	t	2026-07-08 20:26:29.289917+05
quotation_drafts	disabled	none	none	none	Local session drafts; never sync	t	2026-07-08 20:26:29.289917+05
site_installation	disabled	none	none	none	Per-install license/machine metadata; never sync	t	2026-07-08 20:26:29.289917+05
branch_info	bi_directional	mixed	upsert_on_branch_code_pull_on_id	none	Push only this branch_code row to HO; pull full for local alignment	t	2026-07-08 20:26:29.289917+05
sales	push_only	branch	upsert_on_id	none	Primary branch transaction flow	t	2026-07-08 20:26:29.289917+05
sale_items	push_only	branch	upsert_on_id	none	Pushed with sales	t	2026-07-08 20:26:29.289917+05
sale_item_modifiers	push_only	branch	upsert_on_id	none	Pushed with sale_items	t	2026-07-08 20:26:29.289917+05
sale_returns	push_only	branch	upsert_on_id	none	Branch transactional	t	2026-07-08 20:26:29.289917+05
sale_return_items	push_only	branch	upsert_on_id	none	Branch transactional	t	2026-07-08 20:26:29.289917+05
purchases	push_only	branch	upsert_on_purchase_number	none	Branch is source of truth	t	2026-07-08 20:26:29.289917+05
purchase_items	push_only	branch	upsert_on_id	none	Branch transactional	t	2026-07-08 20:26:29.289917+05
purchase_returns	push_only	branch	upsert_on_id	none	Branch transactional	t	2026-07-08 20:26:29.289917+05
purchase_return_items	push_only	branch	upsert_on_id	none	Branch transactional	t	2026-07-08 20:26:29.289917+05
account_transactions	push_only	branch	upsert_on_id	none	Branch financial events	t	2026-07-08 20:26:29.289917+05
inventory_movements	push_only	branch	upsert_on_id	none	Branch->HO only; item_id remap by item_code	t	2026-07-08 20:26:29.289917+05
store_inventory	push_only	branch	upsert_on_store_item_unique	none	Branch stock state	t	2026-07-08 20:26:29.289917+05
stock_adjustments	push_only	branch	upsert_on_id	none	Branch stock ops	t	2026-07-08 20:26:29.289917+05
stock_adjustment_items	push_only	branch	upsert_on_id	none	Branch stock ops	t	2026-07-08 20:26:29.289917+05
stock_transfers	push_only	branch	upsert_on_id	none	Branch stock ops	t	2026-07-08 20:26:29.289917+05
stock_transfer_items	push_only	branch	upsert_on_id	none	Branch stock ops	t	2026-07-08 20:26:29.289917+05
shifts	push_only	branch	upsert_on_id	none	Incremental by start/end/open status	t	2026-07-08 20:26:29.289917+05
shift_logs	push_only	branch	upsert_on_id	none	Branch shift logs	t	2026-07-08 20:26:29.289917+05
expenses	push_only	branch	upsert_on_id	none	Branch expenses	t	2026-07-08 20:26:29.289917+05
customers	push_only	branch	upsert_on_id	none	Currently pushed from branch	t	2026-07-08 20:26:29.289917+05
customer_categories	push_only	branch	upsert_on_id	none	Currently pushed from branch	t	2026-07-08 20:26:29.289917+05
fbr_invoices	push_only	branch	upsert_on_id	none	Branch compliance data	t	2026-07-08 20:26:29.289917+05
void_orders	push_only	branch	upsert_on_id	none	Branch operational data	t	2026-07-08 20:26:29.289917+05
void_items	push_only	branch	upsert_on_id	none	Branch operational data	t	2026-07-08 20:26:29.289917+05
uoms	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
price_history	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
item_modifiers	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
item_modifier_groups	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
item_modifier_group_assignments	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
modifier_templates	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
modifier_template_options	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
modifier_group_assignments	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
production_orders	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
production_items	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
production_materials	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
deals	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
deal_items	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
delivery_orders	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
delivery_riders	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
dinein_floors	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
dinein_tables	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
hold_orders	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
hold_items	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
customer_balance_entries	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
cus_outstanding	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
cus_payments	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
supplier_balance_entries	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
sup_outstanding	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
sup_payments	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
fbr_digital	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
fbr_logs	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
kpra_invoices	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
kpra_logs	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
order_takers	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
table_transfer_logs	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
warranties	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
item_serials	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
item_serial_transactions	push_only	branch	upsert_on_id	none	Currently in push additional list	t	2026-07-08 20:26:29.289917+05
vendors	pull_only	cloud	upsert_on_id	none	HO owned and pulled to branch	t	2026-07-08 20:26:29.289917+05
categories	pull_only	cloud	upsert_on_id	none	Pulled from HO	t	2026-07-08 20:26:29.289917+05
sub_categories	pull_only	cloud	upsert_on_id	none	Pulled from HO	t	2026-07-08 20:26:29.289917+05
account_mappings	pull_only	cloud	upsert_on_mapping_code	none	Pulled from HO	t	2026-07-08 20:26:29.289917+05
chart_of_accounts	pull_only	cloud	upsert_on_account_code	none	Pulled from HO	t	2026-07-08 20:26:29.289917+05
journal_entries	push_only	branch	upsert_on_branch_code_entry_number	none	Branch GL headers; HO id assigned on insert; upsert on (branch_code, entry_number)	t	2026-07-08 20:26:29.289917+05
journal_entry_lines	push_only	branch	upsert_on_branch_code_source_line_id	none	Branch GL lines; HO id assigned on insert; upsert on (branch_code, source_line_id); parent/header remapped	t	2026-07-08 20:26:29.289917+05
\.


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

COPY public.sync_job_tables (id, job_id, table_name, direction, started_at, finished_at, rows_read, rows_upserted, rows_skipped, rows_failed, status, last_error) FROM stdin;
1	1	sales	push	2026-07-08 21:18:30.139284+05	2026-07-08 21:18:30.139284+05	2	2	0	0	success	\N
2	1	sale_items	push	2026-07-08 21:18:30.167826+05	2026-07-08 21:18:30.167826+05	2	2	0	0	success	\N
3	1	sale_item_modifiers	push	2026-07-08 21:18:30.170382+05	2026-07-08 21:18:30.170382+05	1	1	0	0	success	\N
4	1	purchases	push	2026-07-08 21:18:30.172331+05	2026-07-08 21:18:30.172331+05	0	0	0	0	success	\N
5	1	purchase_items	push	2026-07-08 21:18:30.174569+05	2026-07-08 21:18:30.174569+05	0	0	0	0	success	\N
6	1	purchase_returns	push	2026-07-08 21:18:30.176095+05	2026-07-08 21:18:30.176095+05	0	0	0	0	success	\N
7	1	purchase_return_items	push	2026-07-08 21:18:30.178678+05	2026-07-08 21:18:30.178678+05	0	0	0	0	success	\N
8	1	account_transactions	push	2026-07-08 21:18:30.180717+05	2026-07-08 21:18:30.180717+05	3	3	0	0	success	\N
9	1	sale_returns	push	2026-07-08 21:18:30.182715+05	2026-07-08 21:18:30.182715+05	0	0	0	0	success	\N
10	1	sale_return_items	push	2026-07-08 21:18:30.184514+05	2026-07-08 21:18:30.184514+05	0	0	0	0	success	\N
11	1	inventory_movements	push	2026-07-08 21:18:30.185719+05	2026-07-08 21:18:30.185719+05	0	0	0	0	success	\N
12	1	store_inventory	push	2026-07-08 21:18:30.18704+05	2026-07-08 21:18:30.18704+05	0	0	0	0	success	\N
13	1	stock_adjustments	push	2026-07-08 21:18:30.18902+05	2026-07-08 21:18:30.18902+05	0	0	0	0	success	\N
14	1	stock_adjustment_items	push	2026-07-08 21:18:30.190407+05	2026-07-08 21:18:30.190407+05	0	0	0	0	success	\N
15	1	stock_transfers	push	2026-07-08 21:18:30.191407+05	2026-07-08 21:18:30.191407+05	0	0	0	0	success	\N
16	1	stock_transfer_items	push	2026-07-08 21:18:30.192654+05	2026-07-08 21:18:30.192654+05	0	0	0	0	success	\N
17	1	shifts	push	2026-07-08 21:18:30.193069+05	2026-07-08 21:18:30.193069+05	1	1	0	0	success	\N
18	1	shift_logs	push	2026-07-08 21:18:30.194521+05	2026-07-08 21:18:30.194521+05	0	0	0	0	success	\N
19	1	journal_entries	push	2026-07-08 21:18:30.195402+05	2026-07-08 21:18:30.195402+05	3	3	0	0	success	\N
20	1	journal_entry_lines	push	2026-07-08 21:18:30.196307+05	2026-07-08 21:18:30.196307+05	10	10	0	0	success	\N
21	1	expenses	push	2026-07-08 21:18:30.197195+05	2026-07-08 21:18:30.197195+05	0	0	0	0	success	\N
22	1	customers	push	2026-07-08 21:18:30.198073+05	2026-07-08 21:18:30.198073+05	4	4	0	0	success	\N
23	1	customer_categories	push	2026-07-08 21:18:30.19895+05	2026-07-08 21:18:30.19895+05	1	1	0	0	success	\N
24	1	items	push	2026-07-08 21:18:30.199828+05	2026-07-08 21:18:30.199828+05	0	0	0	0	skipped	Skipped by sync_entity_policies (direction_policy=pull_only)
25	1	fbr_invoices	push	2026-07-08 21:18:30.200216+05	2026-07-08 21:18:30.200216+05	0	0	0	0	success	\N
26	1	void_orders	push	2026-07-08 21:18:30.20109+05	2026-07-08 21:18:30.20109+05	0	0	0	0	success	\N
27	1	void_items	push	2026-07-08 21:18:30.201966+05	2026-07-08 21:18:30.201966+05	0	0	0	0	success	\N
28	1	uoms	push	2026-07-08 21:18:30.202841+05	2026-07-08 21:18:30.202841+05	0	0	0	0	success	\N
29	1	price_history	push	2026-07-08 21:18:30.203224+05	2026-07-08 21:18:30.203224+05	0	0	0	0	success	\N
30	1	item_modifiers	push	2026-07-08 21:18:30.205194+05	2026-07-08 21:18:30.205194+05	0	0	0	0	success	\N
31	1	item_modifier_groups	push	2026-07-08 21:18:30.206355+05	2026-07-08 21:18:30.206355+05	0	0	0	0	success	\N
32	1	item_modifier_group_assignments	push	2026-07-08 21:18:30.206355+05	2026-07-08 21:18:30.206355+05	0	0	0	0	success	\N
33	1	modifier_templates	push	2026-07-08 21:18:30.208218+05	2026-07-08 21:18:30.208218+05	0	0	0	0	success	\N
34	1	modifier_template_options	push	2026-07-08 21:18:30.209111+05	2026-07-08 21:18:30.209111+05	0	0	0	0	success	\N
35	1	modifier_group_assignments	push	2026-07-08 21:18:30.210059+05	2026-07-08 21:18:30.210059+05	0	0	0	0	success	\N
36	1	production_orders	push	2026-07-08 21:18:30.211045+05	2026-07-08 21:18:30.211045+05	0	0	0	0	success	\N
37	1	production_items	push	2026-07-08 21:18:30.211966+05	2026-07-08 21:18:30.211966+05	0	0	0	0	success	\N
38	1	production_materials	push	2026-07-08 21:18:30.21298+05	2026-07-08 21:18:30.21298+05	0	0	0	0	success	\N
39	1	deals	push	2026-07-08 21:18:30.21298+05	2026-07-08 21:18:30.21298+05	0	0	0	0	success	\N
40	1	deal_items	push	2026-07-08 21:18:30.21504+05	2026-07-08 21:18:30.21504+05	0	0	0	0	success	\N
41	1	delivery_orders	push	2026-07-08 21:18:30.216036+05	2026-07-08 21:18:30.216036+05	0	0	0	0	success	\N
42	1	delivery_riders	push	2026-07-08 21:18:30.217021+05	2026-07-08 21:18:30.217021+05	0	0	0	0	success	\N
43	1	dinein_floors	push	2026-07-08 21:18:30.218023+05	2026-07-08 21:18:30.218023+05	0	0	0	0	success	\N
44	1	dinein_tables	push	2026-07-08 21:18:30.218962+05	2026-07-08 21:18:30.218962+05	0	0	0	0	success	\N
45	1	hold_orders	push	2026-07-08 21:18:30.219944+05	2026-07-08 21:18:30.219944+05	0	0	0	0	success	\N
46	1	hold_items	push	2026-07-08 21:18:30.220369+05	2026-07-08 21:18:30.220369+05	0	0	0	0	success	\N
47	1	customer_balance_entries	push	2026-07-08 21:18:30.222367+05	2026-07-08 21:18:30.222367+05	0	0	0	0	success	\N
48	1	cus_outstanding	push	2026-07-08 21:18:30.224366+05	2026-07-08 21:18:30.224366+05	0	0	0	0	success	\N
49	1	cus_payments	push	2026-07-08 21:18:30.232359+05	2026-07-08 21:18:30.232359+05	0	0	0	0	success	\N
50	1	supplier_balance_entries	push	2026-07-08 21:18:30.235518+05	2026-07-08 21:18:30.235518+05	0	0	0	0	success	\N
51	1	sup_outstanding	push	2026-07-08 21:18:30.237293+05	2026-07-08 21:18:30.237293+05	0	0	0	0	success	\N
52	1	sup_payments	push	2026-07-08 21:18:30.239336+05	2026-07-08 21:18:30.239336+05	0	0	0	0	success	\N
53	1	fbr_digital	push	2026-07-08 21:18:30.241782+05	2026-07-08 21:18:30.241782+05	0	0	0	0	success	\N
54	1	fbr_logs	push	2026-07-08 21:18:30.243771+05	2026-07-08 21:18:30.243771+05	0	0	0	0	success	\N
55	1	kpra_invoices	push	2026-07-08 21:18:30.245635+05	2026-07-08 21:18:30.245635+05	0	0	0	0	success	\N
56	1	kpra_logs	push	2026-07-08 21:18:30.247647+05	2026-07-08 21:18:30.247647+05	0	0	0	0	success	\N
57	1	order_takers	push	2026-07-08 21:18:30.249612+05	2026-07-08 21:18:30.249612+05	0	0	0	0	success	\N
58	1	table_transfer_logs	push	2026-07-08 21:18:30.251569+05	2026-07-08 21:18:30.251569+05	0	0	0	0	success	\N
59	1	warranties	push	2026-07-08 21:18:30.252763+05	2026-07-08 21:18:30.252763+05	0	0	0	0	success	\N
60	1	item_serials	push	2026-07-08 21:18:30.25376+05	2026-07-08 21:18:30.25376+05	0	0	0	0	success	\N
61	1	item_serial_transactions	push	2026-07-08 21:18:30.255857+05	2026-07-08 21:18:30.255857+05	0	0	0	0	success	\N
62	1	branch_info	pull	2026-07-08 21:18:30.257181+05	2026-07-08 21:18:30.257181+05	0	0	0	0	success	\N
63	1	stores	pull	2026-07-08 21:18:30.25898+05	2026-07-08 21:18:30.25898+05	0	0	0	0	success	\N
64	1	items	pull	2026-07-08 21:18:30.259977+05	2026-07-08 21:18:30.259977+05	26	26	0	0	success	\N
65	1	bom_master	pull	2026-07-08 21:18:30.260966+05	2026-07-08 21:18:30.260966+05	1	1	0	0	success	\N
66	1	bom_components	pull	2026-07-08 21:18:30.261955+05	2026-07-08 21:18:30.261955+05	1	1	0	0	success	\N
67	1	expense_categories	pull	2026-07-08 21:18:30.262939+05	2026-07-08 21:18:30.262939+05	0	0	0	0	success	\N
68	1	expense_subcategories	pull	2026-07-08 21:18:30.263984+05	2026-07-08 21:18:30.263984+05	0	0	0	0	success	\N
69	1	expense_accounts	pull	2026-07-08 21:18:30.26503+05	2026-07-08 21:18:30.26503+05	0	0	0	0	success	\N
70	1	categories	pull	2026-07-08 21:18:30.266006+05	2026-07-08 21:18:30.266006+05	5	5	0	0	success	\N
71	1	sub_categories	pull	2026-07-08 21:18:30.266984+05	2026-07-08 21:18:30.266984+05	9	9	0	0	success	\N
72	1	account_mappings	pull	2026-07-08 21:18:30.267424+05	2026-07-08 21:18:30.267424+05	45	45	0	0	success	\N
73	1	chart_of_accounts	pull	2026-07-08 21:18:30.268423+05	2026-07-08 21:18:30.268423+05	51	51	0	0	success	\N
74	1	fiscal_period_setup	pull	2026-07-08 21:18:30.269987+05	2026-07-08 21:18:30.269987+05	2	2	0	0	success	\N
75	1	fiscal_periods	pull	2026-07-08 21:18:30.271428+05	2026-07-08 21:18:30.271428+05	24	24	0	0	success	\N
76	1	vendors	pull	2026-07-08 21:18:30.27295+05	2026-07-08 21:18:30.27295+05	3	3	0	0	success	\N
77	1	bank_accounts	pull	2026-07-08 21:18:30.27295+05	2026-07-08 21:18:30.27295+05	2	2	0	0	success	\N
78	1	account_types	pull	2026-07-08 21:18:30.275088+05	2026-07-08 21:18:30.275088+05	5	5	0	0	success	\N
79	1	discounts	pull	2026-07-08 21:18:30.276079+05	2026-07-08 21:18:30.276079+05	0	0	0	0	success	\N
80	1	discount_categories	pull	2026-07-08 21:18:30.277097+05	2026-07-08 21:18:30.277097+05	0	0	0	0	success	\N
81	1	void_reasons	pull	2026-07-08 21:18:30.27809+05	2026-07-08 21:18:30.27809+05	1	1	0	0	success	\N
82	1	card_types	pull	2026-07-08 21:18:30.279078+05	2026-07-08 21:18:30.279078+05	3	3	0	0	success	\N
83	1	rights	pull	2026-07-08 21:18:30.280069+05	2026-07-08 21:18:30.280069+05	118	118	0	0	success	\N
84	1	roles	pull	2026-07-08 21:18:30.281066+05	2026-07-08 21:18:30.281066+05	2	2	0	0	success	\N
85	1	role_rights	pull	2026-07-08 21:18:30.282055+05	2026-07-08 21:18:30.282055+05	119	119	0	0	success	\N
86	1	users	pull	2026-07-08 21:18:30.283048+05	2026-07-08 21:18:30.283048+05	0	0	0	0	success	\N
87	1	branch_access	pull	2026-07-08 21:18:30.283048+05	2026-07-08 21:18:30.283048+05	2	2	0	0	success	\N
88	1	bank_access	pull	2026-07-08 21:18:30.28512+05	2026-07-08 21:18:30.28512+05	0	0	0	0	success	\N
89	1	quotations	pull	2026-07-08 21:18:30.286112+05	2026-07-08 21:18:30.286112+05	0	0	0	0	success	\N
90	1	quotation_items	pull	2026-07-08 21:18:30.2871+05	2026-07-08 21:18:30.2871+05	0	0	0	0	success	\N
91	2	sales	push	2026-07-09 20:22:29.655322+05	2026-07-09 20:22:29.655322+05	2	2	0	0	success	\N
92	2	sale_items	push	2026-07-09 20:22:29.754789+05	2026-07-09 20:22:29.754789+05	2	2	0	0	success	\N
93	2	sale_item_modifiers	push	2026-07-09 20:22:29.756786+05	2026-07-09 20:22:29.756786+05	1	1	0	0	success	\N
94	2	purchases	push	2026-07-09 20:22:29.757782+05	2026-07-09 20:22:29.757782+05	0	0	0	0	success	\N
95	2	purchase_items	push	2026-07-09 20:22:29.759779+05	2026-07-09 20:22:29.759779+05	0	0	0	0	success	\N
96	2	purchase_returns	push	2026-07-09 20:22:29.760998+05	2026-07-09 20:22:29.760998+05	0	0	0	0	success	\N
97	2	purchase_return_items	push	2026-07-09 20:22:29.762993+05	2026-07-09 20:22:29.762993+05	0	0	0	0	success	\N
98	2	account_transactions	push	2026-07-09 20:22:29.76399+05	2026-07-09 20:22:29.76399+05	3	3	0	0	success	\N
99	2	sale_returns	push	2026-07-09 20:22:29.765987+05	2026-07-09 20:22:29.765987+05	0	0	0	0	success	\N
100	2	sale_return_items	push	2026-07-09 20:22:29.767982+05	2026-07-09 20:22:29.767982+05	0	0	0	0	success	\N
101	2	inventory_movements	push	2026-07-09 20:22:29.768977+05	2026-07-09 20:22:29.768977+05	0	0	0	0	success	\N
102	2	store_inventory	push	2026-07-09 20:22:29.770973+05	2026-07-09 20:22:29.770973+05	0	0	0	0	success	\N
103	2	stock_adjustments	push	2026-07-09 20:22:29.772109+05	2026-07-09 20:22:29.772109+05	0	0	0	0	success	\N
104	2	stock_adjustment_items	push	2026-07-09 20:22:29.773107+05	2026-07-09 20:22:29.773107+05	0	0	0	0	success	\N
105	2	stock_transfers	push	2026-07-09 20:22:29.775102+05	2026-07-09 20:22:29.775102+05	0	0	0	0	success	\N
106	2	stock_transfer_items	push	2026-07-09 20:22:29.776101+05	2026-07-09 20:22:29.776101+05	0	0	0	0	success	\N
107	2	shifts	push	2026-07-09 20:22:29.778094+05	2026-07-09 20:22:29.778094+05	1	1	0	0	success	\N
108	2	shift_logs	push	2026-07-09 20:22:29.780089+05	2026-07-09 20:22:29.780089+05	0	0	0	0	success	\N
109	2	journal_entries	push	2026-07-09 20:22:29.781086+05	2026-07-09 20:22:29.781086+05	3	3	0	0	success	\N
110	2	journal_entry_lines	push	2026-07-09 20:22:29.783192+05	2026-07-09 20:22:29.783192+05	10	10	0	0	success	\N
111	2	expenses	push	2026-07-09 20:22:29.784188+05	2026-07-09 20:22:29.784188+05	0	0	0	0	success	\N
112	2	customers	push	2026-07-09 20:22:29.786184+05	2026-07-09 20:22:29.786184+05	4	4	0	0	success	\N
113	2	customer_categories	push	2026-07-09 20:22:29.788176+05	2026-07-09 20:22:29.788176+05	1	1	0	0	success	\N
114	2	items	push	2026-07-09 20:22:29.789174+05	2026-07-09 20:22:29.789174+05	0	0	0	0	skipped	Skipped by sync_entity_policies (direction_policy=pull_only)
115	2	fbr_invoices	push	2026-07-09 20:22:29.790172+05	2026-07-09 20:22:29.790172+05	0	0	0	0	success	\N
116	2	void_orders	push	2026-07-09 20:22:29.792409+05	2026-07-09 20:22:29.792409+05	0	0	0	0	success	\N
117	2	void_items	push	2026-07-09 20:22:29.793406+05	2026-07-09 20:22:29.793406+05	0	0	0	0	success	\N
118	2	uoms	push	2026-07-09 20:22:29.795406+05	2026-07-09 20:22:29.795406+05	0	0	0	0	success	\N
119	2	price_history	push	2026-07-09 20:22:29.797398+05	2026-07-09 20:22:29.797398+05	0	0	0	0	success	\N
120	2	item_modifiers	push	2026-07-09 20:22:29.798394+05	2026-07-09 20:22:29.798394+05	0	0	0	0	success	\N
121	2	item_modifier_groups	push	2026-07-09 20:22:29.800388+05	2026-07-09 20:22:29.800388+05	0	0	0	0	success	\N
122	2	item_modifier_group_assignments	push	2026-07-09 20:22:29.802589+05	2026-07-09 20:22:29.802589+05	0	0	0	0	success	\N
123	2	modifier_templates	push	2026-07-09 20:22:29.803582+05	2026-07-09 20:22:29.803582+05	0	0	0	0	success	\N
124	2	modifier_template_options	push	2026-07-09 20:22:29.807573+05	2026-07-09 20:22:29.807573+05	0	0	0	0	success	\N
125	2	modifier_group_assignments	push	2026-07-09 20:22:29.808571+05	2026-07-09 20:22:29.808571+05	0	0	0	0	success	\N
126	2	production_orders	push	2026-07-09 20:22:29.810564+05	2026-07-09 20:22:29.810564+05	1	1	0	0	success	\N
127	2	production_items	push	2026-07-09 20:22:29.811706+05	2026-07-09 20:22:29.811706+05	0	0	0	0	success	\N
128	2	production_materials	push	2026-07-09 20:22:29.813703+05	2026-07-09 20:22:29.813703+05	0	0	0	0	success	\N
129	2	deals	push	2026-07-09 20:22:29.814699+05	2026-07-09 20:22:29.814699+05	0	0	0	0	success	\N
130	2	deal_items	push	2026-07-09 20:22:29.816693+05	2026-07-09 20:22:29.816693+05	0	0	0	0	success	\N
131	2	delivery_orders	push	2026-07-09 20:22:29.81769+05	2026-07-09 20:22:29.81769+05	0	0	0	0	success	\N
132	2	delivery_riders	push	2026-07-09 20:22:29.819685+05	2026-07-09 20:22:29.819685+05	0	0	0	0	success	\N
133	2	dinein_floors	push	2026-07-09 20:22:29.821845+05	2026-07-09 20:22:29.821845+05	0	0	0	0	success	\N
134	2	dinein_tables	push	2026-07-09 20:22:29.822844+05	2026-07-09 20:22:29.822844+05	0	0	0	0	success	\N
135	2	hold_orders	push	2026-07-09 20:22:29.823842+05	2026-07-09 20:22:29.823842+05	3	3	0	0	success	\N
136	2	hold_items	push	2026-07-09 20:22:29.825836+05	2026-07-09 20:22:29.825836+05	0	0	0	0	success	\N
137	2	customer_balance_entries	push	2026-07-09 20:22:29.82783+05	2026-07-09 20:22:29.82783+05	0	0	0	0	success	\N
138	2	cus_outstanding	push	2026-07-09 20:22:29.828828+05	2026-07-09 20:22:29.828828+05	0	0	0	0	success	\N
139	2	cus_payments	push	2026-07-09 20:22:29.830831+05	2026-07-09 20:22:29.830831+05	0	0	0	0	success	\N
140	2	supplier_balance_entries	push	2026-07-09 20:22:29.833018+05	2026-07-09 20:22:29.833018+05	0	0	0	0	success	\N
141	2	sup_outstanding	push	2026-07-09 20:22:29.834016+05	2026-07-09 20:22:29.834016+05	0	0	0	0	success	\N
142	2	sup_payments	push	2026-07-09 20:22:29.835015+05	2026-07-09 20:22:29.835015+05	0	0	0	0	success	\N
143	2	fbr_digital	push	2026-07-09 20:22:29.837008+05	2026-07-09 20:22:29.837008+05	0	0	0	0	success	\N
144	2	fbr_logs	push	2026-07-09 20:22:29.838007+05	2026-07-09 20:22:29.838007+05	0	0	0	0	success	\N
145	2	kpra_invoices	push	2026-07-09 20:22:29.84+05	2026-07-09 20:22:29.84+05	0	0	0	0	success	\N
146	2	kpra_logs	push	2026-07-09 20:22:29.840997+05	2026-07-09 20:22:29.840997+05	0	0	0	0	success	\N
147	2	order_takers	push	2026-07-09 20:22:29.84213+05	2026-07-09 20:22:29.84213+05	0	0	0	0	success	\N
148	2	table_transfer_logs	push	2026-07-09 20:22:29.844125+05	2026-07-09 20:22:29.844125+05	0	0	0	0	success	\N
149	2	warranties	push	2026-07-09 20:22:29.845123+05	2026-07-09 20:22:29.845123+05	0	0	0	0	success	\N
150	2	item_serials	push	2026-07-09 20:22:29.847118+05	2026-07-09 20:22:29.847118+05	0	0	0	0	success	\N
151	2	item_serial_transactions	push	2026-07-09 20:22:29.849113+05	2026-07-09 20:22:29.849113+05	0	0	0	0	success	\N
152	2	branch_info	pull	2026-07-09 20:22:29.850109+05	2026-07-09 20:22:29.850109+05	1	1	0	0	success	\N
153	2	stores	pull	2026-07-09 20:22:29.852272+05	2026-07-09 20:22:29.852272+05	1	1	0	0	success	\N
154	2	items	pull	2026-07-09 20:22:29.854301+05	2026-07-09 20:22:29.854301+05	26	26	0	0	success	\N
155	2	bom_master	pull	2026-07-09 20:22:29.856262+05	2026-07-09 20:22:29.856262+05	1	1	0	0	success	\N
156	2	bom_components	pull	2026-07-09 20:22:29.85726+05	2026-07-09 20:22:29.85726+05	1	1	0	0	success	\N
157	2	expense_categories	pull	2026-07-09 20:22:29.859254+05	2026-07-09 20:22:29.859254+05	0	0	0	0	success	\N
158	2	expense_subcategories	pull	2026-07-09 20:22:29.860258+05	2026-07-09 20:22:29.860258+05	0	0	0	0	success	\N
159	2	expense_accounts	pull	2026-07-09 20:22:29.861377+05	2026-07-09 20:22:29.861377+05	0	0	0	0	success	\N
160	2	categories	pull	2026-07-09 20:22:29.863372+05	2026-07-09 20:22:29.863372+05	5	5	0	0	success	\N
161	2	sub_categories	pull	2026-07-09 20:22:29.865369+05	2026-07-09 20:22:29.865369+05	9	9	0	0	success	\N
162	2	account_mappings	pull	2026-07-09 20:22:29.867361+05	2026-07-09 20:22:29.867361+05	45	45	0	0	success	\N
163	2	chart_of_accounts	pull	2026-07-09 20:22:29.869359+05	2026-07-09 20:22:29.869359+05	51	51	0	0	success	\N
164	2	fiscal_period_setup	pull	2026-07-09 20:22:29.870354+05	2026-07-09 20:22:29.870354+05	2	2	0	0	success	\N
165	2	fiscal_periods	pull	2026-07-09 20:22:29.872351+05	2026-07-09 20:22:29.872351+05	24	24	0	0	success	\N
166	2	vendors	pull	2026-07-09 20:22:29.873348+05	2026-07-09 20:22:29.873348+05	3	3	0	0	success	\N
167	2	bank_accounts	pull	2026-07-09 20:22:29.87534+05	2026-07-09 20:22:29.87534+05	2	2	0	0	success	\N
168	2	account_types	pull	2026-07-09 20:22:29.876338+05	2026-07-09 20:22:29.876338+05	5	5	0	0	success	\N
169	2	discounts	pull	2026-07-09 20:22:29.879335+05	2026-07-09 20:22:29.879335+05	0	0	0	0	success	\N
170	2	discount_categories	pull	2026-07-09 20:22:29.881414+05	2026-07-09 20:22:29.881414+05	0	0	0	0	success	\N
171	2	void_reasons	pull	2026-07-09 20:22:29.883045+05	2026-07-09 20:22:29.883045+05	1	1	0	0	success	\N
172	2	card_types	pull	2026-07-09 20:22:29.88504+05	2026-07-09 20:22:29.88504+05	3	3	0	0	success	\N
173	2	rights	pull	2026-07-09 20:22:29.887037+05	2026-07-09 20:22:29.887037+05	118	118	0	0	success	\N
174	2	roles	pull	2026-07-09 20:22:29.888032+05	2026-07-09 20:22:29.888032+05	2	2	0	0	success	\N
175	2	role_rights	pull	2026-07-09 20:22:29.890026+05	2026-07-09 20:22:29.890026+05	119	119	0	0	success	\N
176	2	users	pull	2026-07-09 20:22:29.892021+05	2026-07-09 20:22:29.892021+05	0	0	0	0	success	\N
177	2	branch_access	pull	2026-07-09 20:22:29.893017+05	2026-07-09 20:22:29.893017+05	3	3	0	0	success	\N
178	2	bank_access	pull	2026-07-09 20:22:29.894015+05	2026-07-09 20:22:29.894015+05	0	0	0	0	success	\N
179	2	quotations	pull	2026-07-09 20:22:29.89601+05	2026-07-09 20:22:29.89601+05	0	0	0	0	success	\N
180	2	quotation_items	pull	2026-07-09 20:22:29.898007+05	2026-07-09 20:22:29.898007+05	0	0	0	0	success	\N
181	3	sales	push	2026-07-09 20:52:19.729438+05	2026-07-09 20:52:19.729438+05	1	1	0	0	success	\N
182	3	sale_items	push	2026-07-09 20:52:19.756815+05	2026-07-09 20:52:19.756815+05	1	1	0	0	success	\N
183	3	sale_item_modifiers	push	2026-07-09 20:52:19.759811+05	2026-07-09 20:52:19.759811+05	1	1	0	0	success	\N
184	3	purchases	push	2026-07-09 20:52:19.760955+05	2026-07-09 20:52:19.760955+05	0	0	0	0	success	\N
185	3	purchase_items	push	2026-07-09 20:52:19.764454+05	2026-07-09 20:52:19.764454+05	0	0	0	0	success	\N
186	3	purchase_returns	push	2026-07-09 20:52:19.766561+05	2026-07-09 20:52:19.766561+05	0	0	0	0	success	\N
187	3	purchase_return_items	push	2026-07-09 20:52:19.767989+05	2026-07-09 20:52:19.767989+05	0	0	0	0	success	\N
188	3	account_transactions	push	2026-07-09 20:52:19.76899+05	2026-07-09 20:52:19.76899+05	1	1	0	0	success	\N
189	3	sale_returns	push	2026-07-09 20:52:19.771521+05	2026-07-09 20:52:19.771521+05	0	0	0	0	success	\N
190	3	sale_return_items	push	2026-07-09 20:52:19.773926+05	2026-07-09 20:52:19.773926+05	0	0	0	0	success	\N
191	3	inventory_movements	push	2026-07-09 20:52:19.775895+05	2026-07-09 20:52:19.775895+05	0	0	0	0	success	\N
192	3	store_inventory	push	2026-07-09 20:52:19.77689+05	2026-07-09 20:52:19.77689+05	0	0	0	0	success	\N
193	3	stock_adjustments	push	2026-07-09 20:52:19.779237+05	2026-07-09 20:52:19.779237+05	0	0	0	0	success	\N
194	3	stock_adjustment_items	push	2026-07-09 20:52:19.781512+05	2026-07-09 20:52:19.781512+05	0	0	0	0	success	\N
195	3	stock_transfers	push	2026-07-09 20:52:19.783754+05	2026-07-09 20:52:19.783754+05	0	0	0	0	success	\N
196	3	stock_transfer_items	push	2026-07-09 20:52:19.784743+05	2026-07-09 20:52:19.784743+05	0	0	0	0	success	\N
197	3	shifts	push	2026-07-09 20:52:19.785744+05	2026-07-09 20:52:19.785744+05	1	1	0	0	success	\N
198	3	shift_logs	push	2026-07-09 20:52:19.787739+05	2026-07-09 20:52:19.787739+05	0	0	0	0	success	\N
199	3	journal_entries	push	2026-07-09 20:52:19.789734+05	2026-07-09 20:52:19.789734+05	1	1	0	0	success	\N
200	3	journal_entry_lines	push	2026-07-09 20:52:19.791824+05	2026-07-09 20:52:19.791824+05	4	4	0	0	success	\N
201	3	expenses	push	2026-07-09 20:52:19.793823+05	2026-07-09 20:52:19.793823+05	0	0	0	0	success	\N
202	3	customers	push	2026-07-09 20:52:19.794913+05	2026-07-09 20:52:19.794913+05	4	4	0	0	success	\N
203	3	customer_categories	push	2026-07-09 20:52:19.796808+05	2026-07-09 20:52:19.796808+05	1	1	0	0	success	\N
204	3	items	push	2026-07-09 20:52:19.797973+05	2026-07-09 20:52:19.797973+05	0	0	0	0	skipped	Skipped by sync_entity_policies (direction_policy=pull_only)
205	3	fbr_invoices	push	2026-07-09 20:52:19.79844+05	2026-07-09 20:52:19.79844+05	0	0	0	0	success	\N
206	3	void_orders	push	2026-07-09 20:52:19.799303+05	2026-07-09 20:52:19.799303+05	0	0	0	0	success	\N
207	3	void_items	push	2026-07-09 20:52:19.799303+05	2026-07-09 20:52:19.799303+05	0	0	0	0	success	\N
208	3	uoms	push	2026-07-09 20:52:19.80082+05	2026-07-09 20:52:19.80082+05	0	0	0	0	success	\N
209	3	price_history	push	2026-07-09 20:52:19.801202+05	2026-07-09 20:52:19.801202+05	0	0	0	0	success	\N
210	3	item_modifiers	push	2026-07-09 20:52:19.803288+05	2026-07-09 20:52:19.803288+05	0	0	0	0	success	\N
211	3	item_modifier_groups	push	2026-07-09 20:52:19.804298+05	2026-07-09 20:52:19.804298+05	0	0	0	0	success	\N
212	3	item_modifier_group_assignments	push	2026-07-09 20:52:19.805282+05	2026-07-09 20:52:19.805282+05	0	0	0	0	success	\N
213	3	modifier_templates	push	2026-07-09 20:52:19.807278+05	2026-07-09 20:52:19.807278+05	0	0	0	0	success	\N
214	3	modifier_template_options	push	2026-07-09 20:52:19.809273+05	2026-07-09 20:52:19.809273+05	0	0	0	0	success	\N
215	3	modifier_group_assignments	push	2026-07-09 20:52:19.810781+05	2026-07-09 20:52:19.810781+05	0	0	0	0	success	\N
216	3	production_orders	push	2026-07-09 20:52:19.812475+05	2026-07-09 20:52:19.812475+05	1	1	0	0	success	\N
217	3	production_items	push	2026-07-09 20:52:19.813478+05	2026-07-09 20:52:19.813478+05	0	0	0	0	success	\N
218	3	production_materials	push	2026-07-09 20:52:19.815207+05	2026-07-09 20:52:19.815207+05	0	0	0	0	success	\N
219	3	deals	push	2026-07-09 20:52:19.816207+05	2026-07-09 20:52:19.816207+05	0	0	0	0	success	\N
220	3	deal_items	push	2026-07-09 20:52:19.817061+05	2026-07-09 20:52:19.817061+05	0	0	0	0	success	\N
221	3	delivery_orders	push	2026-07-09 20:52:19.817823+05	2026-07-09 20:52:19.817823+05	0	0	0	0	success	\N
222	3	delivery_riders	push	2026-07-09 20:52:19.818824+05	2026-07-09 20:52:19.818824+05	0	0	0	0	success	\N
223	3	dinein_floors	push	2026-07-09 20:52:19.82082+05	2026-07-09 20:52:19.82082+05	0	0	0	0	success	\N
224	3	dinein_tables	push	2026-07-09 20:52:19.821996+05	2026-07-09 20:52:19.821996+05	0	0	0	0	success	\N
225	3	hold_orders	push	2026-07-09 20:52:19.825016+05	2026-07-09 20:52:19.825016+05	3	3	0	0	success	\N
226	3	hold_items	push	2026-07-09 20:52:19.827965+05	2026-07-09 20:52:19.827965+05	0	0	0	0	success	\N
227	3	customer_balance_entries	push	2026-07-09 20:52:19.828962+05	2026-07-09 20:52:19.828962+05	0	0	0	0	success	\N
228	3	cus_outstanding	push	2026-07-09 20:52:19.832511+05	2026-07-09 20:52:19.832511+05	0	0	0	0	success	\N
229	3	cus_payments	push	2026-07-09 20:52:19.83395+05	2026-07-09 20:52:19.83395+05	0	0	0	0	success	\N
230	3	supplier_balance_entries	push	2026-07-09 20:52:19.836051+05	2026-07-09 20:52:19.836051+05	0	0	0	0	success	\N
231	3	sup_outstanding	push	2026-07-09 20:52:19.838044+05	2026-07-09 20:52:19.838044+05	0	0	0	0	success	\N
232	3	sup_payments	push	2026-07-09 20:52:19.839043+05	2026-07-09 20:52:19.839043+05	0	0	0	0	success	\N
233	3	fbr_digital	push	2026-07-09 20:52:19.842629+05	2026-07-09 20:52:19.842629+05	0	0	0	0	success	\N
234	3	fbr_logs	push	2026-07-09 20:52:19.844597+05	2026-07-09 20:52:19.844597+05	0	0	0	0	success	\N
235	3	kpra_invoices	push	2026-07-09 20:52:19.846895+05	2026-07-09 20:52:19.846895+05	0	0	0	0	success	\N
236	3	kpra_logs	push	2026-07-09 20:52:19.849072+05	2026-07-09 20:52:19.849072+05	0	0	0	0	success	\N
237	3	order_takers	push	2026-07-09 20:52:19.85089+05	2026-07-09 20:52:19.85089+05	0	0	0	0	success	\N
238	3	table_transfer_logs	push	2026-07-09 20:52:19.851428+05	2026-07-09 20:52:19.851428+05	0	0	0	0	success	\N
239	3	warranties	push	2026-07-09 20:52:19.853432+05	2026-07-09 20:52:19.853432+05	0	0	0	0	success	\N
240	3	item_serials	push	2026-07-09 20:52:19.855426+05	2026-07-09 20:52:19.855426+05	0	0	0	0	success	\N
241	3	item_serial_transactions	push	2026-07-09 20:52:19.857422+05	2026-07-09 20:52:19.857422+05	0	0	0	0	success	\N
242	3	branch_info	pull	2026-07-09 20:52:19.859417+05	2026-07-09 20:52:19.859417+05	0	0	0	0	success	\N
243	3	stores	pull	2026-07-09 20:52:19.861493+05	2026-07-09 20:52:19.861493+05	0	0	0	0	success	\N
244	3	items	pull	2026-07-09 20:52:19.864+05	2026-07-09 20:52:19.864+05	26	26	0	0	success	\N
245	3	bom_master	pull	2026-07-09 20:52:19.865405+05	2026-07-09 20:52:19.865405+05	1	1	0	0	success	\N
246	3	bom_components	pull	2026-07-09 20:52:19.86742+05	2026-07-09 20:52:19.86742+05	1	1	0	0	success	\N
247	3	expense_categories	pull	2026-07-09 20:52:19.868546+05	2026-07-09 20:52:19.868546+05	0	0	0	0	success	\N
248	3	expense_subcategories	pull	2026-07-09 20:52:19.871035+05	2026-07-09 20:52:19.871035+05	0	0	0	0	success	\N
249	3	expense_accounts	pull	2026-07-09 20:52:19.872486+05	2026-07-09 20:52:19.872486+05	0	0	0	0	success	\N
250	3	categories	pull	2026-07-09 20:52:19.874486+05	2026-07-09 20:52:19.874486+05	5	5	0	0	success	\N
251	3	sub_categories	pull	2026-07-09 20:52:19.877475+05	2026-07-09 20:52:19.877475+05	9	9	0	0	success	\N
252	3	account_mappings	pull	2026-07-09 20:52:19.87936+05	2026-07-09 20:52:19.87936+05	45	45	0	0	success	\N
253	3	chart_of_accounts	pull	2026-07-09 20:52:19.881942+05	2026-07-09 20:52:19.881942+05	51	51	0	0	success	\N
254	3	fiscal_period_setup	pull	2026-07-09 20:52:19.883654+05	2026-07-09 20:52:19.883654+05	2	2	0	0	success	\N
255	3	fiscal_periods	pull	2026-07-09 20:52:19.884752+05	2026-07-09 20:52:19.884752+05	24	24	0	0	success	\N
256	3	vendors	pull	2026-07-09 20:52:19.88675+05	2026-07-09 20:52:19.88675+05	3	3	0	0	success	\N
257	3	bank_accounts	pull	2026-07-09 20:52:19.888743+05	2026-07-09 20:52:19.888743+05	2	2	0	0	success	\N
258	3	account_types	pull	2026-07-09 20:52:19.890905+05	2026-07-09 20:52:19.890905+05	5	5	0	0	success	\N
259	3	discounts	pull	2026-07-09 20:52:19.89291+05	2026-07-09 20:52:19.89291+05	0	0	0	0	success	\N
260	3	discount_categories	pull	2026-07-09 20:52:19.895185+05	2026-07-09 20:52:19.895185+05	0	0	0	0	success	\N
261	3	void_reasons	pull	2026-07-09 20:52:19.897694+05	2026-07-09 20:52:19.897694+05	1	1	0	0	success	\N
262	3	card_types	pull	2026-07-09 20:52:19.898869+05	2026-07-09 20:52:19.898869+05	3	3	0	0	success	\N
263	3	rights	pull	2026-07-09 20:52:19.900867+05	2026-07-09 20:52:19.900867+05	118	118	0	0	success	\N
264	3	roles	pull	2026-07-09 20:52:19.902175+05	2026-07-09 20:52:19.902175+05	2	2	0	0	success	\N
265	3	role_rights	pull	2026-07-09 20:52:19.904174+05	2026-07-09 20:52:19.904174+05	119	119	0	0	success	\N
266	3	users	pull	2026-07-09 20:52:19.906173+05	2026-07-09 20:52:19.906173+05	0	0	0	0	success	\N
267	3	branch_access	pull	2026-07-09 20:52:19.908172+05	2026-07-09 20:52:19.908172+05	3	3	0	0	success	\N
268	3	bank_access	pull	2026-07-09 20:52:19.909171+05	2026-07-09 20:52:19.910681+05	0	0	0	0	success	\N
269	3	quotations	pull	2026-07-09 20:52:19.912325+05	2026-07-09 20:52:19.912325+05	0	0	0	0	success	\N
270	3	quotation_items	pull	2026-07-09 20:52:19.914759+05	2026-07-09 20:52:19.914759+05	0	0	0	0	success	\N
271	4	sales	push	2026-07-09 20:54:00.891839+05	2026-07-09 20:54:00.891839+05	1	1	0	0	success	\N
272	4	sale_items	push	2026-07-09 20:54:01.198723+05	2026-07-09 20:54:01.198723+05	1	1	0	0	success	\N
273	4	sale_item_modifiers	push	2026-07-09 20:54:01.204329+05	2026-07-09 20:54:01.204329+05	1	1	0	0	success	\N
274	4	purchases	push	2026-07-09 20:54:01.209313+05	2026-07-09 20:54:01.209313+05	0	0	0	0	success	\N
275	4	purchase_items	push	2026-07-09 20:54:01.213929+05	2026-07-09 20:54:01.213929+05	0	0	0	0	success	\N
276	4	purchase_returns	push	2026-07-09 20:54:01.217948+05	2026-07-09 20:54:01.217948+05	0	0	0	0	success	\N
277	4	purchase_return_items	push	2026-07-09 20:54:01.223104+05	2026-07-09 20:54:01.223104+05	0	0	0	0	success	\N
278	4	account_transactions	push	2026-07-09 20:54:01.226097+05	2026-07-09 20:54:01.226097+05	1	1	0	0	success	\N
279	4	sale_returns	push	2026-07-09 20:54:01.228093+05	2026-07-09 20:54:01.228093+05	0	0	0	0	success	\N
280	4	sale_return_items	push	2026-07-09 20:54:01.231446+05	2026-07-09 20:54:01.231446+05	0	0	0	0	success	\N
281	4	inventory_movements	push	2026-07-09 20:54:01.233256+05	2026-07-09 20:54:01.233256+05	0	0	0	0	success	\N
282	4	store_inventory	push	2026-07-09 20:54:01.23492+05	2026-07-09 20:54:01.23492+05	0	0	0	0	success	\N
283	4	stock_adjustments	push	2026-07-09 20:54:01.23692+05	2026-07-09 20:54:01.23692+05	0	0	0	0	success	\N
284	4	stock_adjustment_items	push	2026-07-09 20:54:01.238915+05	2026-07-09 20:54:01.238915+05	0	0	0	0	success	\N
285	4	stock_transfers	push	2026-07-09 20:54:01.241496+05	2026-07-09 20:54:01.241496+05	0	0	0	0	success	\N
286	4	stock_transfer_items	push	2026-07-09 20:54:01.243931+05	2026-07-09 20:54:01.243931+05	0	0	0	0	success	\N
287	4	shifts	push	2026-07-09 20:54:01.246063+05	2026-07-09 20:54:01.246063+05	1	1	0	0	success	\N
288	4	shift_logs	push	2026-07-09 20:54:01.248061+05	2026-07-09 20:54:01.248061+05	0	0	0	0	success	\N
289	4	journal_entries	push	2026-07-09 20:54:01.249185+05	2026-07-09 20:54:01.250202+05	1	1	0	0	success	\N
290	4	journal_entry_lines	push	2026-07-09 20:54:01.250939+05	2026-07-09 20:54:01.250939+05	4	4	0	0	success	\N
291	4	expenses	push	2026-07-09 20:54:01.251941+05	2026-07-09 20:54:01.251941+05	0	0	0	0	success	\N
292	4	customers	push	2026-07-09 20:54:01.254259+05	2026-07-09 20:54:01.254259+05	4	4	0	0	success	\N
293	4	customer_categories	push	2026-07-09 20:54:01.25625+05	2026-07-09 20:54:01.25625+05	1	1	0	0	success	\N
294	4	items	push	2026-07-09 20:54:01.258247+05	2026-07-09 20:54:01.258247+05	0	0	0	0	skipped	Skipped by sync_entity_policies (direction_policy=pull_only)
295	4	fbr_invoices	push	2026-07-09 20:54:01.259244+05	2026-07-09 20:54:01.259244+05	0	0	0	0	success	\N
296	4	void_orders	push	2026-07-09 20:54:01.260752+05	2026-07-09 20:54:01.260752+05	0	0	0	0	success	\N
297	4	void_items	push	2026-07-09 20:54:01.262893+05	2026-07-09 20:54:01.262893+05	0	0	0	0	success	\N
298	4	uoms	push	2026-07-09 20:54:01.264701+05	2026-07-09 20:54:01.264701+05	0	0	0	0	success	\N
299	4	price_history	push	2026-07-09 20:54:01.265927+05	2026-07-09 20:54:01.265927+05	0	0	0	0	success	\N
300	4	item_modifiers	push	2026-07-09 20:54:01.266977+05	2026-07-09 20:54:01.266977+05	0	0	0	0	success	\N
301	4	item_modifier_groups	push	2026-07-09 20:54:01.266977+05	2026-07-09 20:54:01.266977+05	0	0	0	0	success	\N
302	4	item_modifier_group_assignments	push	2026-07-09 20:54:01.268924+05	2026-07-09 20:54:01.268924+05	0	0	0	0	success	\N
303	4	modifier_templates	push	2026-07-09 20:54:01.269368+05	2026-07-09 20:54:01.269368+05	0	0	0	0	success	\N
304	4	modifier_template_options	push	2026-07-09 20:54:01.270876+05	2026-07-09 20:54:01.270876+05	0	0	0	0	success	\N
305	4	modifier_group_assignments	push	2026-07-09 20:54:01.27289+05	2026-07-09 20:54:01.27289+05	0	0	0	0	success	\N
306	4	production_orders	push	2026-07-09 20:54:01.273887+05	2026-07-09 20:54:01.273887+05	1	1	0	0	success	\N
307	4	production_items	push	2026-07-09 20:54:01.276894+05	2026-07-09 20:54:01.276894+05	0	0	0	0	success	\N
308	4	production_materials	push	2026-07-09 20:54:01.278874+05	2026-07-09 20:54:01.278874+05	0	0	0	0	success	\N
309	4	deals	push	2026-07-09 20:54:01.281443+05	2026-07-09 20:54:01.281443+05	0	0	0	0	success	\N
310	4	deal_items	push	2026-07-09 20:54:01.282857+05	2026-07-09 20:54:01.282857+05	0	0	0	0	success	\N
311	4	delivery_orders	push	2026-07-09 20:54:01.284852+05	2026-07-09 20:54:01.284852+05	0	0	0	0	success	\N
312	4	delivery_riders	push	2026-07-09 20:54:01.285849+05	2026-07-09 20:54:01.285849+05	0	0	0	0	success	\N
313	4	dinein_floors	push	2026-07-09 20:54:01.286848+05	2026-07-09 20:54:01.286848+05	0	0	0	0	success	\N
314	4	dinein_tables	push	2026-07-09 20:54:01.288842+05	2026-07-09 20:54:01.288842+05	0	0	0	0	success	\N
315	4	hold_orders	push	2026-07-09 20:54:01.289839+05	2026-07-09 20:54:01.290835+05	3	3	0	0	success	\N
316	4	hold_items	push	2026-07-09 20:54:01.292361+05	2026-07-09 20:54:01.292361+05	0	0	0	0	success	\N
317	4	customer_balance_entries	push	2026-07-09 20:54:01.296356+05	2026-07-09 20:54:01.296356+05	0	0	0	0	success	\N
318	4	cus_outstanding	push	2026-07-09 20:54:01.298353+05	2026-07-09 20:54:01.298353+05	0	0	0	0	success	\N
319	4	cus_payments	push	2026-07-09 20:54:01.300867+05	2026-07-09 20:54:01.300867+05	0	0	0	0	success	\N
320	4	supplier_balance_entries	push	2026-07-09 20:54:01.303214+05	2026-07-09 20:54:01.303214+05	0	0	0	0	success	\N
321	4	sup_outstanding	push	2026-07-09 20:54:01.305211+05	2026-07-09 20:54:01.305211+05	0	0	0	0	success	\N
322	4	sup_payments	push	2026-07-09 20:54:01.306207+05	2026-07-09 20:54:01.306207+05	0	0	0	0	success	\N
323	4	fbr_digital	push	2026-07-09 20:54:01.308203+05	2026-07-09 20:54:01.308203+05	0	0	0	0	success	\N
324	4	fbr_logs	push	2026-07-09 20:54:01.309199+05	2026-07-09 20:54:01.309199+05	0	0	0	0	success	\N
325	4	kpra_invoices	push	2026-07-09 20:54:01.310711+05	2026-07-09 20:54:01.310711+05	0	0	0	0	success	\N
326	4	kpra_logs	push	2026-07-09 20:54:01.313171+05	2026-07-09 20:54:01.313171+05	0	0	0	0	success	\N
327	4	order_takers	push	2026-07-09 20:54:01.316165+05	2026-07-09 20:54:01.316165+05	0	0	0	0	success	\N
328	4	table_transfer_logs	push	2026-07-09 20:54:01.318157+05	2026-07-09 20:54:01.318157+05	0	0	0	0	success	\N
329	4	warranties	push	2026-07-09 20:54:01.31916+05	2026-07-09 20:54:01.31916+05	0	0	0	0	success	\N
330	4	item_serials	push	2026-07-09 20:54:01.320737+05	2026-07-09 20:54:01.320737+05	0	0	0	0	success	\N
331	4	item_serial_transactions	push	2026-07-09 20:54:01.322759+05	2026-07-09 20:54:01.322759+05	0	0	0	0	success	\N
332	4	branch_info	pull	2026-07-09 20:54:01.323757+05	2026-07-09 20:54:01.323757+05	0	0	0	0	success	\N
333	4	stores	pull	2026-07-09 20:54:01.325755+05	2026-07-09 20:54:01.325755+05	0	0	0	0	success	\N
334	4	items	pull	2026-07-09 20:54:01.327748+05	2026-07-09 20:54:01.327748+05	26	26	0	0	success	\N
335	4	bom_master	pull	2026-07-09 20:54:01.329742+05	2026-07-09 20:54:01.329742+05	1	1	0	0	success	\N
336	4	bom_components	pull	2026-07-09 20:54:01.332141+05	2026-07-09 20:54:01.332141+05	1	1	0	0	success	\N
337	4	expense_categories	pull	2026-07-09 20:54:01.333141+05	2026-07-09 20:54:01.333141+05	0	0	0	0	success	\N
338	4	expense_subcategories	pull	2026-07-09 20:54:01.334138+05	2026-07-09 20:54:01.334138+05	0	0	0	0	success	\N
339	4	expense_accounts	pull	2026-07-09 20:54:01.335136+05	2026-07-09 20:54:01.335136+05	0	0	0	0	success	\N
340	4	categories	pull	2026-07-09 20:54:01.336133+05	2026-07-09 20:54:01.336133+05	5	5	0	0	success	\N
341	4	sub_categories	pull	2026-07-09 20:54:01.338129+05	2026-07-09 20:54:01.338129+05	9	9	0	0	success	\N
342	4	account_mappings	pull	2026-07-09 20:54:01.339126+05	2026-07-09 20:54:01.339126+05	45	45	0	0	success	\N
343	4	chart_of_accounts	pull	2026-07-09 20:54:01.341648+05	2026-07-09 20:54:01.341648+05	51	51	0	0	success	\N
344	4	fiscal_period_setup	pull	2026-07-09 20:54:01.344638+05	2026-07-09 20:54:01.344638+05	2	2	0	0	success	\N
345	4	fiscal_periods	pull	2026-07-09 20:54:01.346634+05	2026-07-09 20:54:01.346634+05	24	24	0	0	success	\N
346	4	vendors	pull	2026-07-09 20:54:01.34763+05	2026-07-09 20:54:01.34763+05	3	3	0	0	success	\N
347	4	bank_accounts	pull	2026-07-09 20:54:01.350622+05	2026-07-09 20:54:01.350622+05	2	2	0	0	success	\N
348	4	account_types	pull	2026-07-09 20:54:01.351763+05	2026-07-09 20:54:01.351763+05	5	5	0	0	success	\N
349	4	discounts	pull	2026-07-09 20:54:01.352764+05	2026-07-09 20:54:01.352764+05	0	0	0	0	success	\N
350	4	discount_categories	pull	2026-07-09 20:54:01.354764+05	2026-07-09 20:54:01.354764+05	0	0	0	0	success	\N
351	4	void_reasons	pull	2026-07-09 20:54:01.355754+05	2026-07-09 20:54:01.355754+05	1	1	0	0	success	\N
352	4	card_types	pull	2026-07-09 20:54:01.356751+05	2026-07-09 20:54:01.356751+05	3	3	0	0	success	\N
353	4	rights	pull	2026-07-09 20:54:01.359744+05	2026-07-09 20:54:01.359744+05	118	118	0	0	success	\N
354	4	roles	pull	2026-07-09 20:54:01.362256+05	2026-07-09 20:54:01.362256+05	2	2	0	0	success	\N
355	4	role_rights	pull	2026-07-09 20:54:01.364254+05	2026-07-09 20:54:01.364254+05	119	119	0	0	success	\N
356	4	users	pull	2026-07-09 20:54:01.36625+05	2026-07-09 20:54:01.36625+05	0	0	0	0	success	\N
357	4	branch_access	pull	2026-07-09 20:54:01.367246+05	2026-07-09 20:54:01.367246+05	3	3	0	0	success	\N
358	4	bank_access	pull	2026-07-09 20:54:01.36924+05	2026-07-09 20:54:01.36924+05	0	0	0	0	success	\N
359	4	quotations	pull	2026-07-09 20:54:01.36924+05	2026-07-09 20:54:01.36924+05	0	0	0	0	success	\N
360	4	quotation_items	pull	2026-07-09 20:54:01.371771+05	2026-07-09 20:54:01.371771+05	0	0	0	0	success	\N
\.


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

COPY public.sync_jobs (id, started_at, finished_at, direction, mode_label, branch_code, status, error_summary) FROM stdin;
1	2026-07-08 21:17:16.147923+05	2026-07-08 21:18:30.450892+05	bi_directional	Incremental (since 2026-07-08 21:07:42)	br1	success	\N
2	2026-07-09 20:21:00.982508+05	2026-07-09 20:22:30.054234+05	bi_directional	Incremental (since 2026-07-08 21:18:30)	br1	success	\N
3	2026-07-09 20:50:56.952466+05	2026-07-09 20:52:21.125442+05	bi_directional	Incremental (since 2026-07-09 20:22:29)	br1	success	\N
4	2026-07-09 20:52:31.72154+05	2026-07-09 20:54:03.446056+05	bi_directional	Incremental (since 2026-07-09 20:52:19)	br1	success	\N
\.


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

COPY public.sync_settings (id, sync_allow, db_prefix, sync_mode, server_name, database_name, username, password, last_sync_date, sync_status, created_at, updated_at, is_cloud_hub) FROM stdin;
1	t	br1	RM	46.202.190.214	usman	itresources	/V/P/ZUSxCS18coeXsut9Ma3cC5KZxXGjKPcz2hImQY=	2026-07-09 20:54:01	success	2026-07-08 20:55:30.056437	2026-07-09 20:54:01.598423	f
\.


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

COPY public.sync_table_checkpoints (id, table_name, direction, branch_code, last_sync_at, last_sync_id, extra_cursor, updated_at) FROM stdin;
3	sale_item_modifiers	push	br1	2026-07-09 20:54:01.204329+05	\N	\N	2026-07-09 20:54:01.207486+05
4	purchases	push	br1	2026-07-09 20:54:01.209313+05	\N	\N	2026-07-09 20:54:01.212906+05
5	purchase_items	push	br1	2026-07-09 20:54:01.213929+05	\N	\N	2026-07-09 20:54:01.217221+05
6	purchase_returns	push	br1	2026-07-09 20:54:01.217948+05	\N	\N	2026-07-09 20:54:01.221908+05
7	purchase_return_items	push	br1	2026-07-09 20:54:01.223104+05	\N	\N	2026-07-09 20:54:01.225132+05
8	account_transactions	push	br1	2026-07-09 20:54:01.226097+05	\N	\N	2026-07-09 20:54:01.227824+05
9	sale_returns	push	br1	2026-07-09 20:54:01.228093+05	\N	\N	2026-07-09 20:54:01.230563+05
10	sale_return_items	push	br1	2026-07-09 20:54:01.231446+05	\N	\N	2026-07-09 20:54:01.2326+05
11	inventory_movements	push	br1	2026-07-09 20:54:01.233256+05	\N	\N	2026-07-09 20:54:01.234302+05
12	store_inventory	push	br1	2026-07-09 20:54:01.23492+05	\N	\N	2026-07-09 20:54:01.235912+05
13	stock_adjustments	push	br1	2026-07-09 20:54:01.23692+05	\N	\N	2026-07-09 20:54:01.238669+05
14	stock_adjustment_items	push	br1	2026-07-09 20:54:01.238915+05	\N	\N	2026-07-09 20:54:01.240727+05
15	stock_transfers	push	br1	2026-07-09 20:54:01.241496+05	\N	\N	2026-07-09 20:54:01.243112+05
16	stock_transfer_items	push	br1	2026-07-09 20:54:01.243931+05	\N	\N	2026-07-09 20:54:01.245375+05
17	shifts	push	br1	2026-07-09 20:54:01.246063+05	\N	\N	2026-07-09 20:54:01.247394+05
18	shift_logs	push	br1	2026-07-09 20:54:01.248061+05	\N	\N	2026-07-09 20:54:01.249205+05
19	journal_entries	push	br1	2026-07-09 20:54:01.250202+05	\N	\N	2026-07-09 20:54:01.251116+05
20	journal_entry_lines	push	br1	2026-07-09 20:54:01.250939+05	\N	\N	2026-07-09 20:54:01.252449+05
21	expenses	push	br1	2026-07-09 20:54:01.251941+05	\N	\N	2026-07-09 20:54:01.254248+05
22	customers	push	br1	2026-07-09 20:54:01.254259+05	\N	\N	2026-07-09 20:54:01.256009+05
23	customer_categories	push	br1	2026-07-09 20:54:01.25625+05	\N	\N	2026-07-09 20:54:01.257306+05
24	fbr_invoices	push	br1	2026-07-09 20:54:01.259244+05	\N	\N	2026-07-09 20:54:01.260734+05
25	void_orders	push	br1	2026-07-09 20:54:01.260752+05	\N	\N	2026-07-09 20:54:01.262329+05
26	void_items	push	br1	2026-07-09 20:54:01.262893+05	\N	\N	2026-07-09 20:54:01.2639+05
27	uoms	push	br1	2026-07-09 20:54:01.264701+05	\N	\N	2026-07-09 20:54:01.265496+05
28	price_history	push	br1	2026-07-09 20:54:01.265927+05	\N	\N	2026-07-09 20:54:01.266578+05
29	item_modifiers	push	br1	2026-07-09 20:54:01.266977+05	\N	\N	2026-07-09 20:54:01.267491+05
30	item_modifier_groups	push	br1	2026-07-09 20:54:01.266977+05	\N	\N	2026-07-09 20:54:01.268452+05
31	item_modifier_group_assignments	push	br1	2026-07-09 20:54:01.268924+05	\N	\N	2026-07-09 20:54:01.269498+05
32	modifier_templates	push	br1	2026-07-09 20:54:01.269368+05	\N	\N	2026-07-09 20:54:01.271181+05
33	modifier_template_options	push	br1	2026-07-09 20:54:01.270876+05	\N	\N	2026-07-09 20:54:01.272546+05
34	modifier_group_assignments	push	br1	2026-07-09 20:54:01.27289+05	\N	\N	2026-07-09 20:54:01.273954+05
35	production_orders	push	br1	2026-07-09 20:54:01.273887+05	\N	\N	2026-07-09 20:54:01.276322+05
36	production_items	push	br1	2026-07-09 20:54:01.276894+05	\N	\N	2026-07-09 20:54:01.279125+05
37	production_materials	push	br1	2026-07-09 20:54:01.278874+05	\N	\N	2026-07-09 20:54:01.281425+05
38	deals	push	br1	2026-07-09 20:54:01.281443+05	\N	\N	2026-07-09 20:54:01.282973+05
39	deal_items	push	br1	2026-07-09 20:54:01.282857+05	\N	\N	2026-07-09 20:54:01.284488+05
40	delivery_orders	push	br1	2026-07-09 20:54:01.284852+05	\N	\N	2026-07-09 20:54:01.285652+05
41	delivery_riders	push	br1	2026-07-09 20:54:01.285849+05	\N	\N	2026-07-09 20:54:01.286845+05
42	dinein_floors	push	br1	2026-07-09 20:54:01.286848+05	\N	\N	2026-07-09 20:54:01.288834+05
43	dinein_tables	push	br1	2026-07-09 20:54:01.288842+05	\N	\N	2026-07-09 20:54:01.290105+05
44	hold_orders	push	br1	2026-07-09 20:54:01.290835+05	\N	\N	2026-07-09 20:54:01.291773+05
45	hold_items	push	br1	2026-07-09 20:54:01.292361+05	\N	\N	2026-07-09 20:54:01.295197+05
46	customer_balance_entries	push	br1	2026-07-09 20:54:01.296356+05	\N	\N	2026-07-09 20:54:01.29768+05
47	cus_outstanding	push	br1	2026-07-09 20:54:01.298353+05	\N	\N	2026-07-09 20:54:01.300116+05
48	cus_payments	push	br1	2026-07-09 20:54:01.300867+05	\N	\N	2026-07-09 20:54:01.302579+05
49	supplier_balance_entries	push	br1	2026-07-09 20:54:01.303214+05	\N	\N	2026-07-09 20:54:01.304927+05
50	sup_outstanding	push	br1	2026-07-09 20:54:01.305211+05	\N	\N	2026-07-09 20:54:01.306272+05
51	sup_payments	push	br1	2026-07-09 20:54:01.306207+05	\N	\N	2026-07-09 20:54:01.307599+05
52	fbr_digital	push	br1	2026-07-09 20:54:01.308203+05	\N	\N	2026-07-09 20:54:01.309476+05
53	fbr_logs	push	br1	2026-07-09 20:54:01.309199+05	\N	\N	2026-07-09 20:54:01.311316+05
54	kpra_invoices	push	br1	2026-07-09 20:54:01.310711+05	\N	\N	2026-07-09 20:54:01.313194+05
55	kpra_logs	push	br1	2026-07-09 20:54:01.313171+05	\N	\N	2026-07-09 20:54:01.314913+05
56	order_takers	push	br1	2026-07-09 20:54:01.316165+05	\N	\N	2026-07-09 20:54:01.31759+05
57	table_transfer_logs	push	br1	2026-07-09 20:54:01.318157+05	\N	\N	2026-07-09 20:54:01.318862+05
58	warranties	push	br1	2026-07-09 20:54:01.31916+05	\N	\N	2026-07-09 20:54:01.320275+05
59	item_serials	push	br1	2026-07-09 20:54:01.320737+05	\N	\N	2026-07-09 20:54:01.322177+05
60	item_serial_transactions	push	br1	2026-07-09 20:54:01.322759+05	\N	\N	2026-07-09 20:54:01.323522+05
61	branch_info	pull	br1	2026-07-09 20:54:01.323757+05	\N	\N	2026-07-09 20:54:01.325176+05
62	stores	pull	br1	2026-07-09 20:54:01.325755+05	\N	\N	2026-07-09 20:54:01.327531+05
63	items	pull	br1	2026-07-09 20:54:01.327748+05	\N	\N	2026-07-09 20:54:01.329545+05
64	bom_master	pull	br1	2026-07-09 20:54:01.329742+05	\N	\N	2026-07-09 20:54:01.331595+05
65	bom_components	pull	br1	2026-07-09 20:54:01.332141+05	\N	\N	2026-07-09 20:54:01.33295+05
66	expense_categories	pull	br1	2026-07-09 20:54:01.333141+05	\N	\N	2026-07-09 20:54:01.333917+05
67	expense_subcategories	pull	br1	2026-07-09 20:54:01.334138+05	\N	\N	2026-07-09 20:54:01.335135+05
68	expense_accounts	pull	br1	2026-07-09 20:54:01.335136+05	\N	\N	2026-07-09 20:54:01.336157+05
69	categories	pull	br1	2026-07-09 20:54:01.336133+05	\N	\N	2026-07-09 20:54:01.337737+05
70	sub_categories	pull	br1	2026-07-09 20:54:01.338129+05	\N	\N	2026-07-09 20:54:01.339554+05
71	account_mappings	pull	br1	2026-07-09 20:54:01.339126+05	\N	\N	2026-07-09 20:54:01.341288+05
72	chart_of_accounts	pull	br1	2026-07-09 20:54:01.341648+05	\N	\N	2026-07-09 20:54:01.343827+05
73	fiscal_period_setup	pull	br1	2026-07-09 20:54:01.344638+05	\N	\N	2026-07-09 20:54:01.346098+05
74	fiscal_periods	pull	br1	2026-07-09 20:54:01.346634+05	\N	\N	2026-07-09 20:54:01.347595+05
75	vendors	pull	br1	2026-07-09 20:54:01.34763+05	\N	\N	2026-07-09 20:54:01.349853+05
76	bank_accounts	pull	br1	2026-07-09 20:54:01.350622+05	\N	\N	2026-07-09 20:54:01.351708+05
77	account_types	pull	br1	2026-07-09 20:54:01.351763+05	\N	\N	2026-07-09 20:54:01.352653+05
78	discounts	pull	br1	2026-07-09 20:54:01.352764+05	\N	\N	2026-07-09 20:54:01.353974+05
79	discount_categories	pull	br1	2026-07-09 20:54:01.354764+05	\N	\N	2026-07-09 20:54:01.355703+05
80	void_reasons	pull	br1	2026-07-09 20:54:01.355754+05	\N	\N	2026-07-09 20:54:01.357027+05
81	card_types	pull	br1	2026-07-09 20:54:01.356751+05	\N	\N	2026-07-09 20:54:01.358912+05
82	rights	pull	br1	2026-07-09 20:54:01.359744+05	\N	\N	2026-07-09 20:54:01.361683+05
83	roles	pull	br1	2026-07-09 20:54:01.362256+05	\N	\N	2026-07-09 20:54:01.363566+05
84	role_rights	pull	br1	2026-07-09 20:54:01.364254+05	\N	\N	2026-07-09 20:54:01.365673+05
85	users	pull	br1	2026-07-09 20:54:01.36625+05	\N	\N	2026-07-09 20:54:01.367544+05
86	branch_access	pull	br1	2026-07-09 20:54:01.367246+05	\N	\N	2026-07-09 20:54:01.36881+05
87	bank_access	pull	br1	2026-07-09 20:54:01.36924+05	\N	\N	2026-07-09 20:54:01.369882+05
88	quotations	pull	br1	2026-07-09 20:54:01.36924+05	\N	\N	2026-07-09 20:54:01.371748+05
89	quotation_items	pull	br1	2026-07-09 20:54:01.371771+05	\N	\N	2026-07-09 20:54:01.37327+05
1	sales	push	br1	2026-07-09 20:54:00.891839+05	\N	\N	2026-07-09 20:54:01.190041+05
2	sale_items	push	br1	2026-07-09 20:54:01.198723+05	\N	\N	2026-07-09 20:54:01.202361+05
\.


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

COPY public.table_transfer_logs (id, source_table_id, target_table_id, hold_order_id, transferred_by, transfer_type, created_at) FROM stdin;
1	1	3	5	1	transfer	2026-06-28 15:45:50.869041
2	5	3	20	1	transfer	2026-06-29 20:55:08.315847
3	5	6	21	1	transfer	2026-06-29 20:56:04.086443
4	5	6	25	1	transfer	2026-06-29 21:26:18.628585
\.


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

COPY public.tax_rates (id, name, rate) FROM stdin;
1	GST	18.00
2	VAT	15.00
\.


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

COPY public.terminals (id, terminal_name, computer_name, ip_address, terminal_type, branch_id, store_id, description, is_active, created_at, updated_at) FROM stdin;
\.


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

COPY public.translations (id, language_code, key, value, context, created_at, updated_at) FROM stdin;
1	en	dashboard	Dashboard	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
2	en	sales	Sales	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
3	en	purchases	Purchases	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
4	en	inventory	Inventory	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
5	en	reports	Reports	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
6	en	settings	Settings	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
7	en	users	Users	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
8	en	customers	Customers	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
9	en	suppliers	Suppliers	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
10	en	items	Items	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
11	en	categories	Categories	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
12	en	language_management	Language Management	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
13	en	features	Features	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
14	en	license_info	License Info	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
15	en	new_features	New Features	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
16	en	check_updates	Check For Updates	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
17	en	apply_update	Apply Update	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
18	en	item_modifiers	Item Modifiers	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
19	en	void_reasons	Void Reasons	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
20	en	quotations	Quotations	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
21	en	tables	Tables	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
22	en	floors	Floors	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
23	en	unit_of_measurement	Unit Of Measurement	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
24	en	stock_transfer	Stock Transfer	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
25	en	new_transfer_request	New Transfer Request	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
26	en	transfer_approval	Transfer Approval	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
27	en	stock_adjustment	Stock Adjustment	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
28	en	new_adjustment	New Adjustment	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
29	en	production	Production	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
30	en	users_permissions	Users & Permissions	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
31	en	order_takers	Order Takers	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
32	en	riders	Riders	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
33	en	delivery_orders	Delivery Orders	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
34	en	expense_list	Expense List	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
35	en	general_settings	General Settings	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
36	en	branch_settings	Branch Settings	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
37	en	store_management	Store Management	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
38	en	tax_rate	Tax Rate	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
39	en	add_new	Add New	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
40	en	edit	Edit	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
41	en	delete	Delete	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
42	en	save	Save	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
43	en	cancel	Cancel	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
44	en	search	Search	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
45	en	filter	Filter	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
46	en	export	Export	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
47	en	import	Import	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
48	en	update_translation	Update Translation	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
49	en	add_translation	Add Translation	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
50	en	update	Update	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
51	en	skip	Skip	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
52	en	void_order	Void Order	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
53	en	confirm	Confirm	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
54	en	close	Close	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
55	en	submit	Submit	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
56	en	reset	Reset	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
57	en	back	Back	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
58	en	next	Next	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
59	en	previous	Previous	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
60	en	finish	Finish	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
61	en	current_language	Current Language	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
62	en	available_languages	Available Languages	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
63	en	translation_key	Translation Key	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
64	en	translation_value	Translation Value	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
65	en	rtl_support	RTL Support	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
66	en	language_switcher	Language Switcher	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
67	en	context	Context	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
68	en	name	Name	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
69	en	email	Email	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
70	en	phone	Phone	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
71	en	address	Address	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
72	en	status	Status	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
73	en	actions	Actions	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
74	en	price	Price	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
75	en	quantity	Quantity	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
76	en	total	Total	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
77	en	subtotal	Net Total	labels	2025-11-05 22:16:29	2026-02-17 20:01:22
78	en	tax	Tax	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
79	en	discount	Discount	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
80	en	grand_total	Grand Total	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
81	en	order_list	Order List	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
82	en	delivery_charges	Delivery Charges	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
83	en	notes	Notes	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
84	en	translation_updated	Translation updated successfully	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
85	en	translation_added	Translation added successfully	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
86	en	invalid_language	Invalid language selected	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
87	en	success	Success	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
88	en	error	Error	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
89	en	warning	Warning	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
90	en	info	Information	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
91	en	confirm_delete	Are you sure you want to delete this item?	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
92	en	confirm_void	Are you sure you want to void this order?	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
93	en	no_data_found	No data found	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
94	en	loading	Loading...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
95	en	please_wait	Please wait...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
96	en	search_product	Search product...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
97	en	enter_notes	Enter any additional notes...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
98	en	enter_name	Enter name...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
99	en	enter_email	Enter email...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
100	en	enter_phone	Enter phone...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
101	en	enter_address	Enter address...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
102	en	enter_price	Enter price...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
103	en	enter_quantity	Enter quantity...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
104	en	manage_customers	Manage your customers	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
105	en	manage_system_languages	Manage system languages and translations	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
106	en	click_category_settings	Click a category to load its settings	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
107	en	expenses	Expenses	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
108	en	expense_accounts	Expense Accounts	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
109	en	expense_categories	Expense Categories	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
110	en	accounts	Accounts	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
111	en	bank_accounts	Bank Accounts	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
112	en	payments	Payments	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
113	en	customer_payments	Customer Payments	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
114	en	supplier_payments	Supplier Payments	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
115	en	payment_methods	Payment Methods	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
116	en	financials	Financials	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
117	en	chart_of_accounts	Chart of Accounts	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
118	en	account_mappings	Account Mappings	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
119	en	journal_entries	Journal Entries	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
120	en	financial_periods	Financial Periods	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
121	en	trial_balance	Trial Balance	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
122	en	general_ledger	General Ledger	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
123	en	profit_loss	Profit & Loss	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
124	en	financial_reports	Financial Reports	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
125	en	hardware_devices	Hardware & Devices	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
126	en	print_devices	Print Devices	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
127	en	kds	KOT/KDS	navigation	2025-11-05 22:16:29	2025-11-05 22:16:51
128	en	tablet_orders	Tablet Orders	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
129	en	database_backup	Database Backup	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
130	en	backup_management	Backup Management	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
131	en	restore_database	Restore Database	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
132	en	all	All	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
133	en	clear	Clear	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
134	en	navigation	Navigation	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
135	en	buttons	Buttons	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
136	en	labels	Labels	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
137	en	messages	Messages	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
138	en	placeholders	Placeholders	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
139	en	page_titles	Page Titles	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
140	en	sales_report	Sales Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
141	en	invoice_report	Invoice Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
142	en	invoice_wise_profit_report	Invoice Wise Profit Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
143	en	sale_return_report	Sale Return Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
144	en	day_wise_sale_summary	Day Wise Sale Summary	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
145	en	item_wise_sales_report	Item Wise Sales Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
146	en	item_modifier_report	Item Modifier Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
147	en	cashier_shift_report	Cashier Shift Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
148	en	tax_wise_report	Tax Wise Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
149	en	order_taker_report	Order Taker Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
150	en	void_orders_report	Void Orders Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
151	en	purchase_report	Purchase Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
152	en	stock_balance_report	Stock Balance Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
153	en	stock_valuation_report	Stock Valuation Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
154	en	item_ledger_report	Item Ledger Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
155	en	production_report	Production Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
156	en	purchase_return_report	Purchase Return Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
157	en	customer_ledger	Customer Ledger	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
158	en	customer_statement	Customer Statement	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
159	en	supplier_ledger	Supplier Ledger	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
160	en	supplier_statement	Supplier Statement	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
161	en	profit_loss_report	Net Profit Analysis	navigation	2025-11-05 22:16:29	2025-11-05 22:16:45
162	en	account_ledger	Account Ledger	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
163	en	accounts_report	Accounts Report	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
164	fa	dashboard	داشبورد	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
165	fa	sales	فروش	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
166	fa	purchases	خرید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
167	fa	inventory	موجودی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
168	fa	reports	گزارشات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
169	fa	settings	تنظیمات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
170	fa	users	کاربران	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
171	fa	customers	مشتریان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
172	fa	suppliers	تامین کنندگان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
173	fa	items	اقلام	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
174	fa	categories	دسته بندی ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
175	fa	language_management	مدیریت زبان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
176	fa	features	ویژگی ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
177	fa	license_info	اطلاعات مجوز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
178	fa	new_features	ویژگی های جدید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
179	fa	check_updates	بررسی به روزرسانی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
180	fa	apply_update	اعمال به روزرسانی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
181	fa	item_modifiers	تغییرات اقلام	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
182	fa	void_reasons	دلایل لغو	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
183	fa	quotations	پیش فاکتورها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
184	fa	tables	جداول	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
185	fa	floors	طبقات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
186	fa	unit_of_measurement	واحد اندازه گیری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
187	fa	stock_transfer	انتقال موجودی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
188	fa	new_transfer_request	درخواست انتقال جدید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
189	fa	transfer_approval	تایید انتقال	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
190	fa	stock_adjustment	تنظیم موجودی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
191	fa	new_adjustment	تنظیم جدید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
192	fa	production	تولید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
193	fa	users_permissions	کاربران و مجوزها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
194	fa	order_takers	گیرندگان سفارش	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
195	fa	riders	رانندگان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
196	fa	delivery_orders	سفارشات تحویل	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
197	fa	expense_list	لیست هزینه ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
198	fa	general_settings	تنظیمات عمومی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
199	fa	branch_settings	تنظیمات شعبه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
200	fa	store_management	مدیریت فروشگاه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
201	fa	tax_rate	نرخ مالیات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
202	fa	add_new	افزودن جدید	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
203	fa	edit	ویرایش	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
204	fa	delete	حذف	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
205	fa	save	ذخیره	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
206	fa	cancel	لغو	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
207	fa	search	جستجو	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
208	fa	filter	فیلتر	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
209	fa	export	صادرات	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
210	fa	import	واردات	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
211	fa	update_translation	به روزرسانی ترجمه	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
212	fa	add_translation	افزودن ترجمه	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
213	fa	update	به روزرسانی	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
214	fa	skip	رد کردن	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
215	fa	void_order	لغو سفارش	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
216	fa	confirm	تایید	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
217	fa	close	بستن	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
218	fa	submit	ارسال	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
219	fa	reset	بازنشانی	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
220	fa	back	بازگشت	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
221	fa	next	بعدی	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
222	fa	previous	قبلی	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
223	fa	finish	پایان	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
224	fa	current_language	زبان فعلی	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
225	fa	available_languages	زبان های موجود	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
226	fa	translation_key	کلید ترجمه	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
227	fa	translation_value	مقدار ترجمه	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
228	fa	rtl_support	پشتیبانی راست به چپ	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
229	fa	language_switcher	تعویض زبان	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
230	fa	context	متن	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
231	fa	name	نام	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
232	fa	email	ایمیل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
233	fa	phone	تلفن	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
234	fa	address	آدرس	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
235	fa	status	وضعیت	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
236	fa	actions	اقدامات	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
237	fa	price	قیمت	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
238	fa	quantity	تعداد	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
239	fa	total	مجموع	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
240	fa	subtotal	مجموع خالص	labels	2025-11-05 22:16:29	2026-02-17 20:01:22
241	fa	tax	مالیات	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
242	fa	discount	تخفیف	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
243	fa	grand_total	مجموع کل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
244	fa	order_list	لیست سفارشات	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
245	fa	delivery_charges	هزینه تحویل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
246	fa	notes	یادداشت ها	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
247	fa	translation_updated	ترجمه با موفقیت به روزرسانی شد	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
248	fa	translation_added	ترجمه با موفقیت افزوده شد	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
249	fa	invalid_language	زبان انتخاب شده نامعتبر است	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
250	fa	success	موفقیت	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
251	fa	error	خطا	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
252	fa	warning	هشدار	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
253	fa	info	اطلاعات	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
254	fa	confirm_delete	آیا مطمئن هستید که می خواهید این مورد را حذف کنید؟	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
255	fa	confirm_void	آیا مطمئن هستید که می خواهید این سفارش را لغو کنید؟	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
256	fa	no_data_found	داده ای یافت نشد	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
257	fa	loading	در حال بارگذاری...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
258	fa	please_wait	لطفا صبر کنید...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
259	fa	search_product	جستجوی محصول...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
260	fa	enter_notes	یادداشت های اضافی وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
261	fa	enter_name	نام وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
262	fa	enter_email	ایمیل وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
263	fa	enter_phone	تلفن وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
264	fa	enter_address	آدرس وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
265	fa	enter_price	قیمت وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
266	fa	enter_quantity	تعداد وارد کنید...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
267	fa	manage_customers	مدیریت مشتریان خود	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
268	fa	manage_system_languages	مدیریت زبان های سیستم و ترجمه ها	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
269	fa	click_category_settings	برای بارگذاری تنظیمات روی دسته کلیک کنید	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
270	fa	expenses	هزینه ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
271	fa	expense_accounts	حساب های هزینه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
272	fa	expense_categories	دسته بندی های هزینه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
273	fa	accounts	حساب ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
274	fa	bank_accounts	حساب های بانکی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
275	fa	payments	پرداخت ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
276	fa	customer_payments	پرداخت های مشتری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
277	fa	supplier_payments	پرداخت های تامین کننده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
278	fa	payment_methods	روش های پرداخت	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
279	fa	financials	مالی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
280	fa	chart_of_accounts	نمودار حساب ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
281	fa	account_mappings	نگاشت حساب ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
282	fa	journal_entries	ورودی های دفتر روزنامه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
283	fa	financial_periods	دوره های مالی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
284	fa	trial_balance	تراز آزمایشی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
285	fa	general_ledger	دفتر کل عمومی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
286	fa	profit_loss	سود و زیان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
287	fa	financial_reports	گزارشات مالی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
288	fa	hardware_devices	سخت‌افزار و دستگاه‌ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:45
289	fa	print_devices	دستگاه های چاپ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
290	fa	kds	KOT/KDS	navigation	2025-11-05 22:16:29	2025-11-05 22:16:51
291	fa	tablet_orders	سفارشات تبلت	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
292	fa	database_backup	پشتیبان گیری پایگاه داده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
293	fa	backup_management	مدیریت پشتیبان گیری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
294	fa	restore_database	بازیابی پایگاه داده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
295	fa	all	همه	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
296	fa	clear	پاک کردن	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
297	fa	navigation	ناوبری	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
298	fa	buttons	دکمه ها	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
299	fa	labels	برچسب ها	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
300	fa	messages	پیام ها	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
301	fa	placeholders	متن های راهنما	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
302	fa	page_titles	عنوان های صفحه	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
303	fa	sales_report	گزارش فروش	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
304	fa	invoice_report	گزارش فاکتور	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
305	fa	invoice_wise_profit_report	گزارش سود بر اساس فاکتور	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
306	fa	sale_return_report	گزارش برگشت فروش	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
307	fa	day_wise_sale_summary	خلاصه فروش روزانه	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
308	fa	item_wise_sales_report	گزارش فروش بر اساس آیتم	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
309	fa	item_modifier_report	گزارش اصلاحات آیتم	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
310	fa	cashier_shift_report	گزارش شیفت صندوق دار	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
311	fa	tax_wise_report	گزارش بر اساس مالیات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
312	fa	order_taker_report	گزارش دریافت کننده سفارش	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
313	fa	void_orders_report	گزارش سفارشات لغو شده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
314	fa	purchase_report	گزارش خرید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
315	fa	stock_balance_report	گزارش موجودی انبار	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
316	fa	stock_valuation_report	گزارش ارزش گذاری موجودی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
317	fa	item_ledger_report	گزارش دفتر آیتم	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
318	fa	production_report	گزارش تولید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
319	fa	purchase_return_report	گزارش برگشت خرید	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
320	fa	customer_ledger	دفتر مشتری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
321	fa	customer_statement	صورت حساب مشتری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
322	fa	supplier_ledger	دفتر تامین کننده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
323	fa	supplier_statement	صورت حساب تامین کننده	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
324	fa	profit_loss_report	تحلیل سود خالص	navigation	2025-11-05 22:16:29	2025-11-05 22:16:45
325	fa	account_ledger	دفتر حساب	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
326	fa	accounts_report	گزارش حساب ها	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
327	ur	dashboard	ڈیش بورڈ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
328	ur	sales	سیلز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
329	ur	purchases	خریداری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
330	ur	inventory	انوینٹری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
331	ur	reports	رپورٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
332	ur	settings	سیٹنگز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
333	ur	users	صارفین	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
334	ur	customers	کسٹمرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
335	ur	suppliers	سپلائرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
336	ur	items	آئٹمز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
337	ur	categories	کیٹگریز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
338	ur	language_management	زبان کا انتظام	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
339	ur	features	فیچرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
340	ur	license_info	لائسنس کی معلومات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
341	ur	new_features	نئے فیچرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
342	ur	check_updates	اپڈیٹ چیک کریں	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
343	ur	apply_update	اپڈیٹ لاگو کریں	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
344	ur	item_modifiers	آئٹم موڈیفائرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
345	ur	void_reasons	کینسل کرنے کی وجوہات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
346	ur	quotations	کوٹیشنز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
347	ur	tables	ٹیبلز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
348	ur	floors	فلورز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
349	ur	unit_of_measurement	پیمائش کی اکائی	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
350	ur	stock_transfer	اسٹاک ٹرانسفر	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
351	ur	new_transfer_request	نیا ٹرانسفر درخواست	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
352	ur	transfer_approval	ٹرانسفر کی منظوری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
353	ur	stock_adjustment	اسٹاک ایڈجسٹمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
354	ur	new_adjustment	نیا ایڈجسٹمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
355	ur	production	پروڈکشن	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
356	ur	users_permissions	صارفین اور اجازتیں	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
357	ur	order_takers	آرڈر لینے والے	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
358	ur	riders	رائیڈرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
359	ur	delivery_orders	ڈیلیوری آرڈرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
360	ur	expense_list	خرچوں کی فہرست	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
361	ur	general_settings	جنرل سیٹنگز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
362	ur	branch_settings	برانچ سیٹنگز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
363	ur	store_management	اسٹور مینجمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
364	ur	tax_rate	ٹیکس کی شرح	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
365	ur	add_new	نیا شامل کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
366	ur	edit	ایڈٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
367	ur	delete	ڈیلیٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
368	ur	save	سیو	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
369	ur	cancel	کینسل	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
370	ur	search	سرچ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
371	ur	filter	فلٹر	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
372	ur	export	ایکسپورٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
373	ur	import	امپورٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
374	ur	update_translation	ترجمہ اپڈیٹ کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
375	ur	add_translation	ترجمہ شامل کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
376	ur	update	اپڈیٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
377	ur	skip	سکیپ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
378	ur	void_order	آرڈر کینسل کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
379	ur	confirm	کنفرم	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
380	ur	close	بند کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
381	ur	submit	سبمٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
382	ur	reset	ری سیٹ	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
383	ur	back	واپس	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
384	ur	next	اگلا	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
385	ur	previous	پچھلا	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
386	ur	finish	ختم	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
387	ur	current_language	موجودہ زبان	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
388	ur	available_languages	دستیاب زبانیں	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
389	ur	translation_key	ترجمہ کی کلید	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
390	ur	translation_value	ترجمہ کی قیمت	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
391	ur	rtl_support	RTL سپورٹ	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
392	ur	language_switcher	زبان سوئچر	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
393	ur	context	سیاق و سباق	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
394	ur	name	نام	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
395	ur	email	ای میل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
396	ur	phone	فون	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
397	ur	address	پتہ	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
398	ur	status	حالت	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
399	ur	actions	اعمال	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
400	ur	price	قیمت	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
401	ur	quantity	مقدار	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
402	ur	total	کل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
403	ur	subtotal	خالص کل	labels	2025-11-05 22:16:29	2026-02-17 20:01:22
404	ur	tax	ٹیکس	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
405	ur	discount	ڈسکاؤنٹ	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
406	ur	grand_total	گرینڈ ٹوٹل	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
407	ur	order_list	آرڈر کی فہرست	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
408	ur	delivery_charges	ڈیلیوری چارجز	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
409	ur	notes	نوٹس	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
410	ur	translation_updated	ترجمہ کامیابی سے اپڈیٹ ہو گیا	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
411	ur	translation_added	ترجمہ کامیابی سے شامل ہو گیا	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
412	ur	invalid_language	غلط زبان منتخب کی گئی	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
413	ur	success	کامیابی	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
414	ur	error	خرابی	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
415	ur	warning	انتباہ	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
416	ur	info	معلومات	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
417	ur	confirm_delete	کیا آپ واقعی اس آئٹم کو ڈیلیٹ کرنا چاہتے ہیں؟	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
418	ur	confirm_void	کیا آپ واقعی اس آرڈر کو کینسل کرنا چاہتے ہیں؟	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
419	ur	no_data_found	کوئی ڈیٹا نہیں ملا	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
420	ur	loading	لوڈ ہو رہا ہے...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
421	ur	please_wait	براہ کرم انتظار کریں...	messages	2025-11-05 22:16:29	2025-11-05 22:16:29
422	ur	search_product	پروڈکٹ تلاش کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
423	ur	enter_notes	اضافی نوٹس درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
424	ur	enter_name	نام درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
425	ur	enter_email	ای میل درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
426	ur	enter_phone	فون درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
427	ur	enter_address	پتہ درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
428	ur	enter_price	قیمت درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
429	ur	enter_quantity	مقدار درج کریں...	placeholders	2025-11-05 22:16:29	2025-11-05 22:16:29
430	ur	manage_customers	اپنے کسٹمرز کا انتظام کریں	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
431	ur	manage_system_languages	سسٹم کی زبانیں اور تراجم کا انتظام کریں	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
432	ur	click_category_settings	سیٹنگز لوڈ کرنے کے لیے کیٹگری پر کلک کریں	page_titles	2025-11-05 22:16:29	2025-11-05 22:16:29
433	ur	expenses	خرچے	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
434	ur	expense_accounts	خرچے کے اکاؤنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
435	ur	expense_categories	خرچے کی کیٹگریز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
436	ur	accounts	اکاؤنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
437	ur	bank_accounts	بینک اکاؤنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
438	ur	payments	پیمنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
439	ur	customer_payments	کسٹمر پیمنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
440	ur	supplier_payments	سپلائر پیمنٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
441	ur	payment_methods	پیمنٹ کے طریقے	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
442	ur	financials	مالیات	navigation	2025-11-05 22:16:29	2025-11-05 22:16:45
443	ur	chart_of_accounts	اکاؤنٹس کا چارٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
444	ur	account_mappings	اکاؤنٹ میپنگ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
445	ur	journal_entries	جرنل انٹریز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
446	ur	financial_periods	مالی ادوار	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
447	ur	trial_balance	ٹرائل بیلنس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
448	ur	general_ledger	جنرل لیجر	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
449	ur	profit_loss	منافع اور نقصان	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
450	ur	financial_reports	مالی رپورٹس	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
451	ur	hardware_devices	ہارڈویئر اور ڈیوائسز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
452	ur	print_devices	پرنٹ ڈیوائسز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
453	ur	kds	کچن آرڈر ٹکٹ/کچن ڈسپلے	navigation	2025-11-05 22:16:29	2025-11-05 22:16:51
454	ur	tablet_orders	ٹیبلٹ آرڈرز	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
455	ur	database_backup	ڈیٹابیس بیک اپ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
456	ur	backup_management	بیک اپ مینجمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
457	ur	restore_database	ڈیٹابیس ریسٹور	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
458	ur	all	سب	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
459	ur	clear	صاف کریں	buttons	2025-11-05 22:16:29	2025-11-05 22:16:29
460	ur	navigation	نیویگیشن	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
461	ur	buttons	بٹنز	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
462	ur	labels	لیبلز	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
463	ur	messages	پیغامات	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
464	ur	placeholders	پلیس ہولڈرز	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
465	ur	page_titles	صفحہ کے عنوانات	labels	2025-11-05 22:16:29	2025-11-05 22:16:29
466	ur	sales_report	سیلز رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
467	ur	invoice_report	انوائس رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
468	ur	invoice_wise_profit_report	انوائس وائز پرافٹ رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
469	ur	sale_return_report	سیل ریٹرن رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
470	ur	day_wise_sale_summary	ڈے وائز سیل سمیری	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
471	ur	item_wise_sales_report	آئٹم وائز سیلز رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
472	ur	item_modifier_report	آئٹم موڈیفائر رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
473	ur	cashier_shift_report	کیشئیر شفٹ رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
474	ur	tax_wise_report	ٹیکس وائز رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
475	ur	order_taker_report	آرڈر ٹیکر رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
476	ur	void_orders_report	وائڈ آرڈرز رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
477	ur	purchase_report	پچیز رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
478	ur	stock_balance_report	اسٹاک بیلنس رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
479	ur	stock_valuation_report	اسٹاک ویلیوایشن رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
480	ur	item_ledger_report	آئٹم لیجر رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
481	ur	production_report	پروڈکشن رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
482	ur	purchase_return_report	پچیز ریٹرن رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
483	ur	customer_ledger	کسٹمر لیجر	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
484	ur	customer_statement	کسٹمر سٹیٹمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
485	ur	supplier_ledger	سپلائر لیجر	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
486	ur	supplier_statement	سپلائر سٹیٹمنٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
487	ur	profit_loss_report	نیٹ پرافٹ تجزیہ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:45
488	ur	account_ledger	اکاؤنٹ لیجر	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
489	ur	accounts_report	اکاؤنٹس رپورٹ	navigation	2025-11-05 22:16:29	2025-11-05 22:16:29
490	ar	dashboard	لوحة التحكم	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
491	ar	sales	المبيعات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
492	ar	purchases	المشتريات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
493	ar	inventory	المخزون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
494	ar	reports	التقارير	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
495	ar	settings	الإعدادات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
496	ar	users	المستخدمون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
497	ar	customers	العملاء	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
498	ar	suppliers	الموردون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
499	ar	items	الأصناف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
500	ar	categories	الفئات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
501	ar	language_management	إدارة اللغات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
502	ar	features	الميزات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
503	ar	license_info	معلومات الترخيص	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
504	ar	new_features	الميزات الجديدة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
505	ar	check_updates	فحص التحديثات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
506	ar	apply_update	تطبيق التحديث	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
507	ar	item_modifiers	معدلات الأصناف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
508	ar	void_reasons	أسباب الإلغاء	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
509	ar	quotations	عروض الأسعار	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
510	ar	tables	الطاولات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
511	ar	floors	الطوابق	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
512	ar	unit_of_measurement	وحدة القياس	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
513	ar	stock_transfer	نقل المخزون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
514	ar	new_transfer_request	طلب نقل جديد	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
515	ar	transfer_approval	موافقة النقل	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
516	ar	stock_adjustment	تعديل المخزون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
517	ar	new_adjustment	تعديل جديد	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
518	ar	production	الإنتاج	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
519	ar	users_permissions	المستخدمون والصلاحيات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
520	ar	order_takers	أخذ الطلبات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
521	ar	riders	الراكبون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
522	ar	delivery_orders	طلبات التوصيل	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
523	ar	expense_list	قائمة المصروفات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
524	ar	general_settings	الإعدادات العامة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
525	ar	branch_settings	إعدادات الفرع	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
526	ar	store_management	إدارة المتجر	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
527	ar	tax_rate	معدل الضريبة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
528	ar	add_new	إضافة جديد	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
529	ar	edit	تعديل	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
530	ar	delete	حذف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
531	ar	save	حفظ	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
532	ar	cancel	إلغاء	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
533	ar	search	بحث	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
534	ar	filter	تصفية	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
535	ar	export	تصدير	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
536	ar	import	استيراد	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
537	ar	update_translation	تحديث الترجمة	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
538	ar	add_translation	إضافة ترجمة	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
539	ar	update	تحديث	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
540	ar	skip	تخطي	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
541	ar	void_order	إلغاء الطلب	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
542	ar	confirm	تأكيد	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
543	ar	close	إغلاق	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
544	ar	submit	إرسال	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
545	ar	reset	إعادة تعيين	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
546	ar	back	رجوع	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
547	ar	next	التالي	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
548	ar	previous	السابق	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
549	ar	finish	إنهاء	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
550	ar	clear	مسح	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
551	ar	current_language	اللغة الحالية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
552	ar	available_languages	اللغات المتاحة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
553	ar	translation_key	مفتاح الترجمة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
554	ar	translation_value	قيمة الترجمة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
555	ar	rtl_support	دعم الكتابة من اليمين إلى اليسار	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
556	ar	language_switcher	مبدل اللغة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
557	ar	context	السياق	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
558	ar	name	الاسم	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
559	ar	email	البريد الإلكتروني	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
560	ar	phone	الهاتف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
561	ar	address	العنوان	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
562	ar	status	الحالة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
563	ar	actions	الإجراءات	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
564	ar	price	السعر	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
565	ar	quantity	الكمية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
566	ar	total	المجموع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
567	ar	subtotal	المجموع الصافي	labels	2025-11-05 22:16:38	2026-02-17 20:01:22
568	ar	tax	الضريبة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
569	ar	discount	الخصم	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
570	ar	grand_total	المجموع الكلي	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
571	ar	order_list	قائمة الطلبات	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
572	ar	delivery_charges	رسوم التوصيل	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
573	ar	notes	ملاحظات	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
574	ar	all	الكل	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
575	ar	navigation	التنقل	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
576	ar	buttons	الأزرار	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
577	ar	labels	التسميات	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
578	ar	messages	الرسائل	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
579	ar	placeholders	النصوص التوضيحية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
580	ar	page_titles	عناوين الصفحات	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
581	ar	translation_updated	تم تحديث الترجمة بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
582	ar	translation_added	تم إضافة الترجمة بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
583	ar	invalid_language	اللغة المحددة غير صحيحة	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
584	ar	success	نجح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
585	ar	error	خطأ	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
586	ar	warning	تحذير	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
587	ar	info	معلومات	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
588	ar	confirm_delete	هل أنت متأكد من أنك تريد حذف هذا العنصر؟	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
589	ar	confirm_void	هل أنت متأكد من أنك تريد إلغاء هذا الطلب؟	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
590	ar	no_data_found	لم يتم العثور على بيانات	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
591	ar	loading	جاري التحميل...	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
592	ar	please_wait	يرجى الانتظار...	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
593	ar	search_product	البحث عن المنتج...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
594	ar	enter_notes	أدخل أي ملاحظات إضافية...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
595	ar	enter_name	أدخل الاسم...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
596	ar	enter_email	أدخل البريد الإلكتروني...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
597	ar	enter_phone	أدخل رقم الهاتف...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
598	ar	enter_address	أدخل العنوان...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
599	ar	enter_price	أدخل السعر...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
600	ar	enter_quantity	أدخل الكمية...	placeholders	2025-11-05 22:16:38	2025-11-05 22:16:38
601	ar	manage_customers	إدارة عملائك	page_titles	2025-11-05 22:16:38	2025-11-05 22:16:38
602	ar	manage_system_languages	إدارة لغات النظام والترجمات	page_titles	2025-11-05 22:16:38	2025-11-05 22:16:38
603	ar	click_category_settings	انقر على فئة لتحميل إعداداتها	page_titles	2025-11-05 22:16:38	2025-11-05 22:16:38
604	ar	expenses	المصروفات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
605	ar	expense_accounts	حسابات المصروفات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
606	ar	expense_categories	فئات المصروفات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
607	ar	accounts	الحسابات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
608	ar	bank_accounts	الحسابات البنكية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
609	ar	payments	المدفوعات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
610	ar	customer_payments	مدفوعات العملاء	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
611	ar	supplier_payments	مدفوعات الموردين	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
612	ar	payment_methods	طرق الدفع	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
613	ar	financials	المالية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
614	ar	chart_of_accounts	دليل الحسابات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
615	ar	account_mappings	ربط الحسابات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
616	ar	journal_entries	قيود اليومية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
617	ar	financial_periods	الفترات المالية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
618	ar	trial_balance	ميزان المراجعة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
619	ar	general_ledger	دفتر الأستاذ العام	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
620	ar	profit_loss	الأرباح والخسائر	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
621	ar	financial_reports	التقارير المالية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
622	ar	hardware_devices	الأجهزة والمعدات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
623	ar	print_devices	أجهزة الطباعة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
624	ar	kds	طلب المطبخ/شاشة المطبخ	navigation	2025-11-05 22:16:38	2025-11-05 22:16:51
625	ar	tablet_orders	طلبات الأجهزة اللوحية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
626	ar	database_backup	نسخ احتياطي لقاعدة البيانات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
627	ar	backup_management	إدارة النسخ الاحتياطية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
628	ar	restore_database	استعادة قاعدة البيانات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
629	ar	sales_report	تقرير المبيعات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
630	ar	invoice_report	تقرير الفواتير	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
631	ar	invoice_wise_profit_report	تقرير الأرباح حسب الفاتورة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
632	ar	sale_return_report	تقرير مرتجع المبيعات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
633	ar	day_wise_sale_summary	ملخص المبيعات اليومية	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
634	ar	item_wise_sales_report	تقرير المبيعات حسب الصنف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
635	ar	item_modifier_report	تقرير معدلات الأصناف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
636	ar	cashier_shift_report	تقرير نوبة الصندوق	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
637	ar	tax_wise_report	تقرير الضرائب	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
638	ar	order_taker_report	تقرير أخذ الطلبات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
639	ar	void_orders_report	تقرير الطلبات الملغاة	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
640	ar	purchase_report	تقرير المشتريات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
641	ar	stock_balance_report	تقرير رصيد المخزون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
642	ar	stock_valuation_report	تقرير تقييم المخزون	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
643	ar	item_ledger_report	تقرير دفتر الأصناف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
644	ar	production_report	تقرير الإنتاج	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
645	ar	purchase_return_report	تقرير مرتجع المشتريات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
646	ar	customer_ledger	دفتر العملاء	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
647	ar	customer_statement	كشف حساب العميل	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
648	ar	supplier_ledger	دفتر الموردين	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
649	ar	supplier_statement	كشف حساب المورد	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
650	ar	profit_loss_report	تحليل صافي الربح	navigation	2025-11-05 22:16:38	2025-11-05 22:16:45
651	ar	account_ledger	دفتر الحسابات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
652	ar	accounts_report	تقرير الحسابات	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
653	ar	item_cost_report	تقرير تكلفة الأصناف	navigation	2025-11-05 22:16:38	2025-11-05 22:16:38
654	ar	cost_method	طريقة التكلفة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
655	ar	average_cost	متوسط التكلفة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
656	ar	fifo_cost	تكلفة FIFO	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
657	ar	current_cost	التكلفة الحالية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
658	ar	retail_price	سعر البيع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
659	ar	cost_price	سعر التكلفة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
660	ar	margin	الهامش	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
661	ar	stock_value	قيمة المخزون	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
662	ar	profit_amount	مبلغ الربح	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
663	ar	profit_percentage	نسبة الربح	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
664	ar	margin_percentage	نسبة الهامش	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
665	ar	current_stock	المخزون الحالي	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
666	ar	last_movement	آخر حركة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
667	ar	show_zero_cost	إظهار التكلفة الصفرية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
668	ar	from_date	من تاريخ	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
669	ar	to_date	إلى تاريخ	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
670	ar	pos	نقطة البيع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
671	ar	cart	السلة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
672	ar	checkout	الدفع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
673	ar	receipt	الإيصال	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
674	ar	invoice	الفاتورة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
675	ar	customer	العميل	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
676	ar	supplier	المورد	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
677	ar	item	الصنف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
678	ar	category	الفئة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
679	ar	sub_category	الفئة الفرعية	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
680	ar	barcode	الباركود	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
681	ar	sku	رمز المنتج	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
682	ar	stock	المخزون	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
683	ar	material	المواد	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
684	ar	non_stock	غير مخزني	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
685	ar	bulk	الكميات الكبيرة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
686	ar	loose	مفكوك	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
687	ar	reorder_level	مستوى إعادة الطلب	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
688	ar	reorder_quantity	كمية إعادة الطلب	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
689	ar	tax_type	نوع الضريبة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
690	ar	included	مشمول	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
691	ar	excluded	غير مشمول	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
692	ar	nil	صفر	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
693	ar	add_item	إضافة صنف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
694	ar	edit_item	تعديل الصنف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
695	ar	delete_item	حذف الصنف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
696	ar	view_item	عرض الصنف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
697	ar	print_barcode	طباعة الباركود	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
698	ar	import_items	استيراد الأصناف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
699	ar	export_items	تصدير الأصناف	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
700	ar	bulk_edit	تعديل جماعي	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
701	ar	bulk_delete	حذف جماعي	buttons	2025-11-05 22:16:38	2025-11-05 22:16:38
702	ar	required_field	هذا الحقل مطلوب	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
703	ar	invalid_email	البريد الإلكتروني غير صحيح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
704	ar	invalid_phone	رقم الهاتف غير صحيح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
705	ar	invalid_price	السعر غير صحيح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
706	ar	invalid_quantity	الكمية غير صحيحة	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
707	ar	duplicate_code	الكود موجود بالفعل	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
708	ar	item_not_found	الصنف غير موجود	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
709	ar	insufficient_stock	المخزون غير كافي	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
710	ar	item_added_successfully	تم إضافة الصنف بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
711	ar	item_updated_successfully	تم تحديث الصنف بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
712	ar	item_deleted_successfully	تم حذف الصنف بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
713	ar	items_imported_successfully	تم استيراد الأصناف بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
714	ar	items_exported_successfully	تم تصدير الأصناف بنجاح	messages	2025-11-05 22:16:38	2025-11-05 22:16:38
715	ar	item_code	كود الصنف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
716	ar	sku_number	رقم SKU	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
717	ar	item_name	اسم الصنف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
718	ar	item_role	دور الصنف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
719	ar	stock_item	صنف مخزني	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
720	ar	material_item	صنف مواد	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
721	ar	non_stock_item	صنف غير مخزني	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
722	ar	item_type	نوع الصنف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
723	ar	bulk_qty	كمية الكمية الكبيرة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
724	ar	bulk_price	سعر الكمية الكبيرة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
725	ar	pkg_qty	كمية العبوة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
726	ar	product_image	صورة المنتج	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
727	ar	uom	وحدة القياس	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
728	ar	id	المعرف	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
729	ar	code	الكود	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
730	ar	image	الصورة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
731	ar	type	النوع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
732	ar	role	الدور	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
733	ar	cost	التكلفة	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
734	ar	retail	البيع	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
735	ar	profit	الربح	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
736	ar	stock_qty	كمية المخزون	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
737	ar	created_date	تاريخ الإنشاء	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
738	ar	updated_date	تاريخ التحديث	labels	2025-11-05 22:16:38	2025-11-05 22:16:38
739	en	updates	Updates	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
740	en	users_access	Users & Access	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
741	en	help	Help	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
742	en	card_types	Card Types	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
743	en	discount_management	Discount Management	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
744	en	database_operation	Database Operation	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
745	en	sync_settings	Sync Settings	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
746	en	contact_support	Contact Support	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
747	ur	updates	اپڈیٹس	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
748	ur	users_access	صارفین اور رسائی	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
749	ur	help	مدد	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
750	ur	card_types	کارڈ اقسام	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
751	ur	discount_management	ڈسکاؤنٹ مینجمنٹ	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
752	ur	database_operation	ڈیٹا بیس آپریشن	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
753	ur	sync_settings	سنگ سیٹنگز	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
754	ur	contact_support	سپورٹ سے رابطہ کریں	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
755	fa	updates	به‌روزرسانی‌ها	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
756	fa	users_access	کاربران و دسترسی	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
757	fa	help	راهنما	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
758	fa	card_types	انواع کارت	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
759	fa	discount_management	مدیریت تخفیف	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
760	fa	database_operation	عملیات پایگاه داده	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
761	fa	sync_settings	تنظیمات همگام‌سازی	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
762	fa	contact_support	تماس با پشتیبانی	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
772	en	welcome_to	Welcome to	page_titles	2025-11-05 22:16:45	2025-11-05 22:16:45
773	en	itr_pos_by_it_resources	ITR POS by IT Resources	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
774	en	todays_gross_sales	Today's Gross Sales	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
775	en	todays_purchase	Today's Purchase	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
776	en	total_gross_sales	Total Gross Sales	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
777	en	total_expense_amount	Total Expense Amount	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
778	en	customer_outstanding	Customer Outstanding	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
779	en	supplier_outstanding	Supplier Outstanding	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
780	en	purchase_invoice	Purchase Invoice	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
781	en	sales_invoice	Sales Invoice	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
782	en	todays_deliveries	Today's Deliveries	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
783	en	pending_deliveries	Pending Deliveries	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
784	en	out_for_delivery	Out for Delivery	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
785	en	completed_deliveries	Completed Deliveries	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
786	en	top_selling_products	Top Selling Products	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
787	en	purchase_and_sales	Purchase & Sales	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
788	en	no_sales_data	No sales data available.	messages	2025-11-05 22:16:45	2025-11-05 22:16:45
789	en	cash_balance	Cash Balance	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
790	ur	welcome_to	خوش آمدید	page_titles	2025-11-05 22:16:45	2025-11-05 22:16:45
791	ur	itr_pos_by_it_resources	آئی ٹی ریسورسز کا آئی ٹی آر پی او ایس	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
792	ur	todays_gross_sales	آج کی مجموعی سیلز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
793	ur	todays_purchase	آج کی خریداری	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
794	ur	total_gross_sales	مجموعی سیلز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
795	ur	total_expense_amount	کل اخراجات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
796	ur	customer_outstanding	کسٹمر واجبات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
797	ur	supplier_outstanding	سپلائر واجبات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
798	ur	purchase_invoice	خریداری کی رسید	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
799	ur	sales_invoice	فروخت کی رسید	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
800	ur	todays_deliveries	آج کی ڈلیوریز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
801	ur	pending_deliveries	زیر التواء ڈلیوریز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
802	ur	out_for_delivery	ڈلیوری کے لیے روانہ	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
803	ur	completed_deliveries	مکمل شدہ ڈلیوریز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
804	ur	top_selling_products	سب سے زیادہ فروخت ہونے والی اشیاء	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
805	ur	purchase_and_sales	خرید و فروخت	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
806	ur	no_sales_data	کوئی سیلز ڈیٹا دستیاب نہیں۔	messages	2025-11-05 22:16:45	2025-11-05 22:16:45
807	ur	cash_balance	نقد بیلنس	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
808	fa	welcome_to	خوش آمدید به	page_titles	2025-11-05 22:16:45	2025-11-05 22:16:45
809	fa	itr_pos_by_it_resources	آی‌تی‌آر پی‌او‌اس توسط آی‌تی ریسورسز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
810	fa	todays_gross_sales	فروش ناخالص امروز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
811	fa	todays_purchase	خرید امروز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
812	fa	total_gross_sales	کل فروش ناخالص	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
813	fa	total_expense_amount	مجموع هزینه‌ها	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
814	fa	customer_outstanding	مطالبات مشتری	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
815	fa	supplier_outstanding	بدهی به تامین‌کننده	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
816	fa	purchase_invoice	فاکتور خرید	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
817	fa	sales_invoice	فاکتور فروش	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
818	fa	todays_deliveries	تحویل‌های امروز	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
819	fa	pending_deliveries	تحویل‌های در انتظار	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
820	fa	out_for_delivery	ارسال برای تحویل	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
821	fa	completed_deliveries	تحویل‌های تکمیل‌شده	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
822	fa	top_selling_products	پرفروش‌ترین محصولات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
823	fa	purchase_and_sales	خرید و فروش	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
824	fa	no_sales_data	داده‌ای برای فروش موجود نیست.	messages	2025-11-05 22:16:45	2025-11-05 22:16:45
825	fa	cash_balance	موجودی نقد	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
826	ar	updates	التحديثات	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
827	ar	users_access	المستخدمون والصلاحيات	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
828	ar	help	مساعدة	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
829	ar	card_types	أنواع البطاقات	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
830	ar	discount_management	إدارة الخصومات	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
831	ar	database_operation	عمليات قاعدة البيانات	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
832	ar	sync_settings	إعدادات المزامنة	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
833	ar	contact_support	اتصل بالدعم	navigation	2025-11-05 22:16:45	2025-11-05 22:16:45
837	ar	welcome_to	مرحبًا بك في	page_titles	2025-11-05 22:16:45	2025-11-05 22:16:45
838	ar	itr_pos_by_it_resources	نظام نقاط البيع ITR بواسطة IT Resources	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
839	ar	todays_gross_sales	إجمالي مبيعات اليوم	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
840	ar	todays_purchase	مشتريات اليوم	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
841	ar	total_gross_sales	إجمالي المبيعات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
842	ar	total_expense_amount	إجمالي المصروفات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
843	ar	customer_outstanding	مستحقات العملاء	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
844	ar	supplier_outstanding	مستحقات الموردين	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
845	ar	purchase_invoice	فواتير الشراء	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
846	ar	sales_invoice	فواتير البيع	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
847	ar	todays_deliveries	طلبات اليوم المُسلمة	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
848	ar	pending_deliveries	طلبات قيد التسليم	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
849	ar	out_for_delivery	خارج للتسليم	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
850	ar	completed_deliveries	طلبات مكتملة التسليم	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
851	ar	top_selling_products	المنتجات الأكثر مبيعًا	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
852	ar	purchase_and_sales	المشتريات والمبيعات	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
853	ar	no_sales_data	لا توجد بيانات مبيعات.	messages	2025-11-05 22:16:45	2025-11-05 22:16:45
854	ar	cash_balance	رصيد النقد	labels	2025-11-05 22:16:45	2025-11-05 22:16:45
855	en	opening_balances	Opening Balances	navigation	2025-11-05 22:16:46	2025-11-05 22:16:46
856	ar	opening_balances	الأرصدة الافتتاحية	navigation	2025-11-05 22:16:46	2025-11-05 22:16:46
857	ur	opening_balances	ابتدائی بیلنس	navigation	2025-11-05 22:16:46	2025-11-05 22:16:46
858	fa	opening_balances	موجودی اولیه	navigation	2025-11-05 22:16:46	2025-11-05 22:16:46
859	en	total_customer_outstanding	Total Customer Outstanding	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
860	ur	total_customer_outstanding	مجموعی کسٹمر واجبات	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
861	fa	total_customer_outstanding	کل مطالبات مشتری	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
862	ar	total_customer_outstanding	إجمالي مستحقات العملاء	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
863	en	total_supplier_outstanding	Total Supplier Outstanding	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
864	ur	total_supplier_outstanding	مجموعی سپلائر واجبات	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
865	fa	total_supplier_outstanding	کل بدهی تأمین‌کننده	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
866	ar	total_supplier_outstanding	إجمالي مستحقات الموردين	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
867	en	top_customers_sales	Top Customers Sales	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
868	ur	top_customers_sales	سرِفہرست کسٹمر سیلز	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
869	fa	top_customers_sales	پرفروش‌ترین مشتریان	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
870	ar	top_customers_sales	أعلى مبيعات العملاء	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
871	en	top_expense_categories	Top Expense Categories	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
872	ur	top_expense_categories	سرِفہرست خرچ کی کیٹگریز	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
873	fa	top_expense_categories	پراستفاده‌ترین دسته‌های هزینه	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
874	ar	top_expense_categories	أعلى فئات المصروفات	labels	2026-02-17 20:01:10	2026-02-17 20:01:10
875	en	no_customer_sales_data	No customer sales data available.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
876	ur	no_customer_sales_data	کسٹمر سیلز کا کوئی ڈیٹا دستیاب نہیں۔	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
877	fa	no_customer_sales_data	داده‌ای برای فروش مشتری در دسترس نیست.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
878	ar	no_customer_sales_data	لا تتوفر بيانات مبيعات العملاء.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
879	en	no_expense_category_data	No expense category data available.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
880	ur	no_expense_category_data	خرچ کی کیٹگریز کا کوئی ڈیٹا دستیاب نہیں۔	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
881	fa	no_expense_category_data	هیچ داده‌ای برای دسته‌های هزینه در دسترس نیست.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
882	ar	no_expense_category_data	لا تتوفر بيانات فئات المصروفات.	messages	2026-02-17 20:01:10	2026-02-17 20:01:10
890	en	delivery_challan	Delivery Challan	navigation	2026-02-17 20:01:10	2026-02-17 20:01:10
891	en	delivery_challan_subtitle	Generate challans for delivered invoices	navigation	2026-02-17 20:01:10	2026-02-17 20:01:10
892	en	print_selected	Print Selected	general	2026-02-17 20:01:10	2026-02-17 20:01:10
893	en	search_invoice_placeholder	Search invoice #	general	2026-02-17 20:01:10	2026-02-17 20:01:10
894	en	available_invoices	Available Invoices	general	2026-02-17 20:01:10	2026-02-17 20:01:10
895	en	records	records	general	2026-02-17 20:01:10	2026-02-17 20:01:10
896	en	delivery_address	Delivery Address	general	2026-02-17 20:01:10	2026-02-17 20:01:10
897	en	delivery_status	Delivery Status	general	2026-02-17 20:01:10	2026-02-17 20:01:10
898	en	no_invoices_found	No invoices found for the selected filters.	general	2026-02-17 20:01:10	2026-02-17 20:01:10
899	en	print_challan	Print Challan	general	2026-02-17 20:01:10	2026-02-17 20:01:10
900	en	hold_orders	Hold Orders	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
901	en	hold	Hold	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
902	en	transaction	Transaction	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
903	en	transaction_id	Transaction ID	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
904	en	products	Products	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
905	en	subcategories	Subcategories	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
906	en	order_tax	Order Tax	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
907	en	service_charges	Service Charges	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
908	en	withholding	Withholding	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
909	en	walk_in_customer	Walk-in Customer	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
910	en	select_customer	Select Customer	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
911	en	select_category_view_subcategories	Select a category to view subcategories	messages	2026-02-17 20:01:22	2026-02-17 20:01:22
912	en	payment	Payment	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
913	en	void	Void	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
914	fa	hold_orders	سفارشات نگه‌داشته	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
915	fa	hold	نگه‌داری	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
916	fa	transaction	تراکنش	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
917	fa	transaction_id	شناسه تراکنش	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
918	fa	products	محصولات	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
919	fa	subcategories	زیر دسته‌ها	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
920	fa	order_tax	مالیات سفارش	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
921	fa	service_charges	هزینه خدمات	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
922	fa	withholding	کسر مالیات	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
923	fa	walk_in_customer	مشتری بدون ثبت نام	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
924	fa	select_customer	انتخاب مشتری	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
925	fa	select_category_view_subcategories	برای مشاهده زیر دسته‌ها، یک دسته انتخاب کنید	messages	2026-02-17 20:01:22	2026-02-17 20:01:22
926	fa	payment	پرداخت	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
927	fa	void	لغو	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
928	ur	hold_orders	ہولڈ آرڈرز	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
929	ur	hold	ہولڈ	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
930	ur	transaction	ٹرانزیکشن	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
931	ur	transaction_id	ٹرانزیکشن آئی ڈی	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
932	ur	products	پروڈکٹس	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
933	ur	subcategories	ذیلی کیٹگریز	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
934	ur	order_tax	آرڈر ٹیکس	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
935	ur	service_charges	سروس چارجز	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
936	ur	withholding	وائٹ ہولڈنگ	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
937	ur	walk_in_customer	واک ان کسٹمر	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
938	ur	select_customer	کسٹمر منتخب کریں	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
939	ur	select_category_view_subcategories	ذیلی کیٹگریز دیکھنے کے لیے ایک کیٹگری منتخب کریں	messages	2026-02-17 20:01:22	2026-02-17 20:01:22
940	ur	payment	پیمنٹ	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
941	ur	void	وائڈ	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
942	ar	hold_orders	الطلبات المحفوظة	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
943	ar	hold	حفظ	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
944	ar	transaction	المعاملة	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
945	ar	transaction_id	رقم المعاملة	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
946	ar	products	المنتجات	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
947	ar	subcategories	الفئات الفرعية	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
948	ar	order_tax	ضريبة الطلب	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
949	ar	service_charges	رسوم الخدمة	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
950	ar	withholding	الاستقطاع	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
951	ar	walk_in_customer	عميل بدون تسجيل	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
952	ar	select_customer	اختر العميل	labels	2026-02-17 20:01:22	2026-02-17 20:01:22
953	ar	select_category_view_subcategories	اختر فئة لعرض الفئات الفرعية	messages	2026-02-17 20:01:22	2026-02-17 20:01:22
954	ar	payment	الدفع	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
955	ar	void	إلغاء	buttons	2026-02-17 20:01:22	2026-02-17 20:01:22
\.


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

COPY public.uom_groups (id, code, name) FROM stdin;
1	CNT	Count
2	WGT	Weight
3	VLM	Volume
4	LGT	Length
\.


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

COPY public.uoms (id, name, symbol, group_id, base_quantity, is_base) FROM stdin;
1	Piece	pc	1	1.0000	t
2	Dozen	dz	1	12.0000	f
3	Gram	g	2	1.0000	t
4	Kilogram	kg	2	1000.0000	f
5	Milligram	mg	2	0.0010	f
6	Liter	l	3	1.0000	t
7	Milliliter	ml	3	0.0010	f
8	Centimeter	cm	4	1.0000	t
9	Meter	m	4	100.0000	f
\.


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

COPY public.user_language_preferences (id, user_id, language_code, created_at, updated_at) FROM stdin;
\.


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

COPY public.users (id, assigned_store_id, default_branch_id, username, email, password, role_id, is_active, last_login, created_at, updated_at, pin, profile_picture, pin_required_for_void, pin_login_enabled, cash_access) FROM stdin;
2	1	1	cashier	test@gmail.com	$2y$10$v2ggo8MgS1shRy7a7bWBouBktIyrMo.geYOb3.bAUJXS/wnRNqYcK	2	t	\N	2025-08-17 19:35:17	2026-05-20 17:28:03		\N	t	f	t
4	\N	1	test	muhammadasnaffkhan@gmail.com	$2y$10$vmyGn5WOH1CuEQHWojF/G.O3GO4umCOR1LybeC5bDhGgPSZwtcKR.	1	t	\N	2026-06-02 18:23:52.838446	2026-06-02 18:23:52.838446		\N	t	f	t
1	1	1	admin	admin@gmail.com	$2y$10$15ETnDm2P5EVQfWBIpLTauhZ5wkJ7lFxYnYyvLnMHlcBrbK0vSXru	1	t	2026-07-09 15:59:45.127156	2025-08-17 19:35:17	2026-05-31 15:40:16	1111	\N	t	f	t
\.


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

COPY public.vendors (id, primary_store_id, name, contact_number, email, address, is_active, created_at, payable_account_id) FROM stdin;
1	\N	test				t	2026-06-26 18:48:52.459543	\N
2	\N	Pharmacy supplier				t	2026-06-27 23:20:50.643666	\N
3	\N	Asnaff				t	2026-07-03 18:11:06.408196	44
\.


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

COPY public.video_help (id, page_name, page_title, video_url, video_title, description, is_active, created_at, updated_at) FROM stdin;
\.


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

COPY public.void_items (id, source_type, source_id, hold_item_id, sale_item_id, item_id, item_name, quantity, unit_price, tax_rate, modifiers, remarks, void_reason_id, voided_by, voided_at) FROM stdin;
1	hold	38	125	\N	21	Crunch Burger	1.000	600.00	0.00	[]		1	1	2026-07-04 15:37:09.35143
2	hold	39	126	\N	19	Classic Burger	1.000	600.00	0.00	[]		1	1	2026-07-04 15:41:56.908938
3	hold	43	136	\N	19	Classic Burger	1.000	600.00	0.00	[]		1	1	2026-07-04 16:00:32.107294
4	hold	43	138	\N	25	Test Esajee  Tax	1.000	600.00	18.00	[]		1	1	2026-07-04 16:00:32.108534
\.


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

COPY public.void_orders (id, store_id, sale_id, void_reason_id, voided_by, voided_at, notes, original_amount) FROM stdin;
1	\N	20	1	1	2026-06-28 15:49:04.343529		150.00
2	\N	54	1	1	2026-06-30 23:54:42.410275		2700.00
3	\N	61	1	1	2026-07-04 15:42:36.578271		500.00
\.


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

COPY public.void_reasons (id, reason_name, description, is_active, created_at) FROM stdin;
1	Mistake		t	2026-05-04 20:08:55
\.


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

COPY public.warranties (id, name, months, days, is_active, created_at) FROM stdin;
1	No Warranty	0	0	t	2025-11-05 22:16:45
2	3 Months	3	0	t	2025-11-05 22:16:45
3	6 Months	6	0	t	2025-11-05 22:16:45
4	1 Year	12	0	t	2025-11-05 22:16:45
5	2 Years	24	0	t	2025-11-05 22:16:45
\.


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

COPY public.wastage (id, wastage_number, store_id, branch_id, wastage_date, total_items, total_wastage_value, remarks, created_by, journal_entry_id, created_at) FROM stdin;
1	WAS-20260703-8805	1	1	2026-07-03 18:55:27	1	500.00		1	90	2026-07-03 18:55:27.639268
\.


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

COPY public.wastage_items (id, wastage_id, item_id, item_name, quantity, cost_price, line_value, loss_reason) FROM stdin;
1	1	26	new item	10.000000	50.0000	500.00	damage
\.


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

COPY public.zatca_config (id, is_enabled, invoice_format, qr_code_size, created_at, updated_at) FROM stdin;
1	f	pdf	150	2026-02-17 20:01:26	2026-02-17 20:01:26
\.


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

COPY public.zatca_invoices (id, sale_id, invoice_number, invoice_type, invoice_date, seller_vat, buyer_vat, buyer_name, total_amount, tax_amount, amount_excluding_tax, qr_code_data, qr_code_image_url, invoice_data, created_at) FROM stdin;
\.


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

COPY public.zatca_phase2_api_logs (id, zatca_phase2_invoice_id, endpoint, http_method, request_headers, request_body, response_status, response_headers, response_body, duration_ms, correlation_id, created_at) FROM stdin;
\.


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

COPY public.zatca_phase2_certificates (id, store_id, environment, device_identifier, certificate_type, certificate_serial, issuer_dn, subject_dn, valid_from, valid_to, csr_pem, certificate_pem, private_key_ref, fingerprint_sha256, is_active, created_at, updated_at) FROM stdin;
\.


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

COPY public.zatca_phase2_device_state (id, store_id, terminal_id, device_identifier, last_icv, last_invoice_uuid, last_invoice_hash, last_submission_at, updated_at, created_at) FROM stdin;
\.


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

COPY public.zatca_phase2_invoices (id, sale_id, invoice_number, invoice_type, uuid, icv, previous_invoice_hash, invoice_hash, unsigned_xml, signed_xml, canonical_xml_hash, qr_tlv_base64, authority_submission_type, authority_invoice_ref, authority_status, authority_response_code, authority_response_message, status, retry_count, next_retry_at, last_error_at, last_error_message, submitted_at, cleared_at, reported_at, created_at, updated_at) FROM stdin;
\.


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

COPY public.zatca_phase2_jobs (id, zatca_phase2_invoice_id, job_type, status, attempt_count, max_attempts, run_after, locked_at, locked_by, last_error, created_at, updated_at) FROM stdin;
\.


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

COPY public.zatca_phase2_status_history (id, zatca_phase2_invoice_id, from_status, to_status, event_source, reason_code, reason_message, created_at) FROM stdin;
\.


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

SELECT pg_catalog.setval('public.account_mappings_id_seq', 45, true);


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

SELECT pg_catalog.setval('public.account_transactions_id_seq', 90, true);


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

SELECT pg_catalog.setval('public.account_types_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.bank_accounts_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.bom_components_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.bom_master_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.branch_info_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.card_types_id_seq', 3, true);


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

SELECT pg_catalog.setval('public.categories_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.chart_of_accounts_id_seq', 52, true);


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

SELECT pg_catalog.setval('public.cheque_books_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.cheques_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.cus_outstanding_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.cus_payments_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.customer_balance_entries_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.customer_categories_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.customer_subscription_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.customer_subscriptions_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.customers_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.deal_items_id_seq', 12, true);


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

SELECT pg_catalog.setval('public.deals_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.delivery_orders_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.delivery_riders_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.dinein_floors_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.dinein_tables_id_seq', 15, true);


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

SELECT pg_catalog.setval('public.discount_categories_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.discounts_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.expense_accounts_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.expense_categories_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.expense_subcategories_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.expenses_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_config_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_digital_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_digital_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_digital_logs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_digital_scenarios_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fbr_logs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.fiscal_periods_id_seq', 24, true);


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

SELECT pg_catalog.setval('public.hold_items_id_seq', 149, true);


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

SELECT pg_catalog.setval('public.hold_orders_id_seq', 47, true);


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

SELECT pg_catalog.setval('public.inventory_lots_id_seq', 7, true);


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

SELECT pg_catalog.setval('public.inventory_movements_id_seq', 185, true);


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

SELECT pg_catalog.setval('public.item_barcodes_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.item_line_discounts_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.item_modifier_group_assignments_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.item_modifier_groups_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.item_modifiers_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.item_serial_transactions_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.item_serials_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.items_id_seq', 182, true);


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

SELECT pg_catalog.setval('public.journal_entries_id_seq', 105, true);


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

SELECT pg_catalog.setval('public.journal_entry_lines_id_seq', 362, true);


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

SELECT pg_catalog.setval('public.kds_activity_log_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kds_cleanup_log_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kds_order_items_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kds_orders_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kds_settings_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.kds_station_items_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kds_stations_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kpra_config_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kpra_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.kpra_logs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.languages_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.line_discount_rules_id_seq', 12, true);


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

SELECT pg_catalog.setval('public.modifier_group_assignments_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.modifier_template_options_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.modifier_templates_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.order_takers_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.payment_method_tax_rates_id_seq', 6, true);


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

SELECT pg_catalog.setval('public.payment_methods_id_seq', 7, true);


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

SELECT pg_catalog.setval('public.price_history_id_seq', 7, true);


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

SELECT pg_catalog.setval('public.print_devices_id_seq', 3, true);


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

SELECT pg_catalog.setval('public.production_cost_lines_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.production_items_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.production_materials_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.production_orders_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.purchase_items_id_seq', 55, true);


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

SELECT pg_catalog.setval('public.purchase_order_items_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.purchase_orders_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.purchase_return_items_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.purchase_returns_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.purchases_id_seq', 20, true);


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

SELECT pg_catalog.setval('public.quotation_drafts_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.quotation_items_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.quotations_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.rights_id_seq', 118, true);


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

SELECT pg_catalog.setval('public.roles_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.sale_item_modifiers_id_seq', 9, true);


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

SELECT pg_catalog.setval('public.sale_items_id_seq', 164, true);


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

SELECT pg_catalog.setval('public.sale_return_items_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.sale_returns_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.sales_id_seq', 68, true);


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

SELECT pg_catalog.setval('public.setting_categories_id_seq', 13, true);


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

SELECT pg_catalog.setval('public.setting_options_id_seq', 56, true);


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

SELECT pg_catalog.setval('public.settings_id_seq', 77, true);


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

SELECT pg_catalog.setval('public.shift_logs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.shifts_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.site_installation_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.stock_adjustment_items_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.stock_adjustments_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.stock_transfer_items_id_seq', 12, true);


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

SELECT pg_catalog.setval('public.stock_transfers_id_seq', 9, true);


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

SELECT pg_catalog.setval('public.store_inventory_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.stores_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.sub_categories_id_seq', 9, true);


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

SELECT pg_catalog.setval('public.subscription_plans_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.sup_outstanding_id_seq', 18, true);


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

SELECT pg_catalog.setval('public.sup_payments_id_seq', 6, true);


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

SELECT pg_catalog.setval('public.supplier_balance_entries_id_seq', 1, true);


--
-- Name: sync_conflicts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.sync_conflicts_id_seq', 1, false);


--
-- Name: sync_dead_letter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.sync_dead_letter_id_seq', 1, false);


--
-- Name: sync_job_tables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.sync_job_tables_id_seq', 360, true);


--
-- Name: sync_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.sync_jobs_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.sync_settings_id_seq', 1, true);


--
-- Name: sync_table_checkpoints_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.sync_table_checkpoints_id_seq', 89, true);


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

SELECT pg_catalog.setval('public.table_transfer_logs_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.tax_rates_id_seq', 2, true);


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

SELECT pg_catalog.setval('public.terminals_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.translations_id_seq', 955, true);


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

SELECT pg_catalog.setval('public.uom_groups_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.uoms_id_seq', 9, true);


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

SELECT pg_catalog.setval('public.user_language_preferences_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.users_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.vendors_id_seq', 3, true);


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

SELECT pg_catalog.setval('public.video_help_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.void_items_id_seq', 4, true);


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

SELECT pg_catalog.setval('public.void_orders_id_seq', 3, true);


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

SELECT pg_catalog.setval('public.void_reasons_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.warranties_id_seq', 5, true);


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

SELECT pg_catalog.setval('public.wastage_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.wastage_items_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.zatca_config_id_seq', 1, true);


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

SELECT pg_catalog.setval('public.zatca_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_api_logs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_certificates_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_device_state_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_invoices_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_jobs_id_seq', 1, false);


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

SELECT pg_catalog.setval('public.zatca_phase2_status_history_id_seq', 1, false);


--
-- Name: account_mappings account_mappings_mapping_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.account_mappings
    ADD CONSTRAINT account_mappings_mapping_code UNIQUE (mapping_code);


--
-- Name: account_mappings account_mappings_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.account_mappings
    ADD CONSTRAINT account_mappings_pkey PRIMARY KEY (id);


--
-- Name: account_transactions account_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.account_transactions
    ADD CONSTRAINT account_transactions_pkey PRIMARY KEY (id);


--
-- Name: account_types account_types_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.account_types
    ADD CONSTRAINT account_types_pkey PRIMARY KEY (id);


--
-- Name: account_types account_types_type_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.account_types
    ADD CONSTRAINT account_types_type_code UNIQUE (type_code);


--
-- Name: bank_access bank_access_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.bank_access
    ADD CONSTRAINT bank_access_pkey PRIMARY KEY (user_id, bank_account_id);


--
-- Name: bank_accounts bank_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.bank_accounts
    ADD CONSTRAINT bank_accounts_pkey PRIMARY KEY (id);


--
-- Name: bom_components bom_components_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.bom_components
    ADD CONSTRAINT bom_components_pkey PRIMARY KEY (id);


--
-- Name: bom_master bom_master_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.bom_master
    ADD CONSTRAINT bom_master_pkey PRIMARY KEY (id);


--
-- Name: branch_access branch_access_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.branch_access
    ADD CONSTRAINT branch_access_pkey PRIMARY KEY (user_id, branch_id);


--
-- Name: branch_info branch_info_branch_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.branch_info
    ADD CONSTRAINT branch_info_branch_code UNIQUE (branch_code);


--
-- Name: branch_info branch_info_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.branch_info
    ADD CONSTRAINT branch_info_pkey PRIMARY KEY (id);


--
-- Name: card_types card_types_card_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.card_types
    ADD CONSTRAINT card_types_card_code UNIQUE (card_code);


--
-- Name: card_types card_types_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.card_types
    ADD CONSTRAINT card_types_pkey PRIMARY KEY (id);


--
-- Name: categories categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.categories
    ADD CONSTRAINT categories_pkey PRIMARY KEY (id);


--
-- Name: chart_of_accounts chart_of_accounts_account_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.chart_of_accounts
    ADD CONSTRAINT chart_of_accounts_account_code UNIQUE (account_code);


--
-- Name: chart_of_accounts chart_of_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.chart_of_accounts
    ADD CONSTRAINT chart_of_accounts_pkey PRIMARY KEY (id);


--
-- Name: cheque_books cheque_books_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.cheque_books
    ADD CONSTRAINT cheque_books_pkey PRIMARY KEY (id);


--
-- Name: cheques cheques_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.cheques
    ADD CONSTRAINT cheques_pkey PRIMARY KEY (id);


--
-- Name: cheques cheques_uq_bank_cheque_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.cheques
    ADD CONSTRAINT cheques_uq_bank_cheque_number UNIQUE (bank_account_id, cheque_number);


--
-- Name: cus_outstanding cus_outstanding_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.cus_outstanding
    ADD CONSTRAINT cus_outstanding_pkey PRIMARY KEY (id);


--
-- Name: cus_payments cus_payments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.cus_payments
    ADD CONSTRAINT cus_payments_pkey PRIMARY KEY (id);


--
-- Name: customer_balance_entries customer_balance_entries_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_balance_entries
    ADD CONSTRAINT customer_balance_entries_pkey PRIMARY KEY (id);


--
-- Name: customer_balance_entries customer_balance_entries_uniq_entry_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_balance_entries
    ADD CONSTRAINT customer_balance_entries_uniq_entry_number UNIQUE (entry_number);


--
-- Name: customer_categories customer_categories_category_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_categories
    ADD CONSTRAINT customer_categories_category_name UNIQUE (category_name);


--
-- Name: customer_categories customer_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_categories
    ADD CONSTRAINT customer_categories_pkey PRIMARY KEY (id);


--
-- Name: customer_subscription_invoices customer_subscription_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_subscription_invoices
    ADD CONSTRAINT customer_subscription_invoices_pkey PRIMARY KEY (id);


--
-- Name: customer_subscription_invoices customer_subscription_invoices_uq_subscription_sale; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_subscription_invoices
    ADD CONSTRAINT customer_subscription_invoices_uq_subscription_sale UNIQUE (subscription_id, sale_id);


--
-- Name: customer_subscriptions customer_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customer_subscriptions
    ADD CONSTRAINT customer_subscriptions_pkey PRIMARY KEY (id);


--
-- Name: customers customers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.customers
    ADD CONSTRAINT customers_pkey PRIMARY KEY (id);


--
-- Name: deal_items deal_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.deal_items
    ADD CONSTRAINT deal_items_pkey PRIMARY KEY (id);


--
-- Name: deals deals_item_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.deals
    ADD CONSTRAINT deals_item_id UNIQUE (item_id);


--
-- Name: deals deals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.deals
    ADD CONSTRAINT deals_pkey PRIMARY KEY (id);


--
-- Name: delivery_orders delivery_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delivery_orders
    ADD CONSTRAINT delivery_orders_pkey PRIMARY KEY (id);


--
-- Name: delivery_riders delivery_riders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delivery_riders
    ADD CONSTRAINT delivery_riders_pkey PRIMARY KEY (id);


--
-- Name: dinein_floors dinein_floors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dinein_floors
    ADD CONSTRAINT dinein_floors_pkey PRIMARY KEY (id);


--
-- Name: dinein_tables dinein_tables_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dinein_tables
    ADD CONSTRAINT dinein_tables_pkey PRIMARY KEY (id);


--
-- Name: discount_categories discount_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.discount_categories
    ADD CONSTRAINT discount_categories_pkey PRIMARY KEY (id);


--
-- Name: discounts discounts_discount_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.discounts
    ADD CONSTRAINT discounts_discount_code UNIQUE (discount_code);


--
-- Name: discounts discounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.discounts
    ADD CONSTRAINT discounts_pkey PRIMARY KEY (id);


--
-- Name: expense_accounts expense_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.expense_accounts
    ADD CONSTRAINT expense_accounts_pkey PRIMARY KEY (id);


--
-- Name: expense_categories expense_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.expense_categories
    ADD CONSTRAINT expense_categories_pkey PRIMARY KEY (id);


--
-- Name: expense_subcategories expense_subcategories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.expense_subcategories
    ADD CONSTRAINT expense_subcategories_pkey PRIMARY KEY (id);


--
-- Name: expenses expenses_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.expenses
    ADD CONSTRAINT expenses_pkey PRIMARY KEY (id);


--
-- Name: fbr_config fbr_config_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_config
    ADD CONSTRAINT fbr_config_pkey PRIMARY KEY (id);


--
-- Name: fbr_digital_invoices fbr_digital_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_digital_invoices
    ADD CONSTRAINT fbr_digital_invoices_pkey PRIMARY KEY (id);


--
-- Name: fbr_digital_logs fbr_digital_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_digital_logs
    ADD CONSTRAINT fbr_digital_logs_pkey PRIMARY KEY (id);


--
-- Name: fbr_digital fbr_digital_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_digital
    ADD CONSTRAINT fbr_digital_pkey PRIMARY KEY (id);


--
-- Name: fbr_digital_scenarios fbr_digital_scenarios_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_digital_scenarios
    ADD CONSTRAINT fbr_digital_scenarios_pkey PRIMARY KEY (id);


--
-- Name: fbr_invoices fbr_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_invoices
    ADD CONSTRAINT fbr_invoices_pkey PRIMARY KEY (id);


--
-- Name: fbr_logs fbr_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fbr_logs
    ADD CONSTRAINT fbr_logs_pkey PRIMARY KEY (id);


--
-- Name: fiscal_period_setup fiscal_period_setup_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiscal_period_setup
    ADD CONSTRAINT fiscal_period_setup_pkey PRIMARY KEY (start_year);


--
-- Name: fiscal_periods fiscal_periods_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiscal_periods
    ADD CONSTRAINT fiscal_periods_pkey PRIMARY KEY (id);


--
-- Name: fiscal_periods fiscal_periods_unique_period_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiscal_periods
    ADD CONSTRAINT fiscal_periods_unique_period_code UNIQUE (period_code);


--
-- Name: hold_items hold_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.hold_items
    ADD CONSTRAINT hold_items_pkey PRIMARY KEY (id);


--
-- Name: hold_orders hold_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.hold_orders
    ADD CONSTRAINT hold_orders_pkey PRIMARY KEY (id);


--
-- Name: inventory_lots inventory_lots_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_lots
    ADD CONSTRAINT inventory_lots_pkey PRIMARY KEY (id);


--
-- Name: inventory_movements inventory_movements_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_movements
    ADD CONSTRAINT inventory_movements_pkey PRIMARY KEY (id);


--
-- Name: item_barcodes item_barcodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_barcodes
    ADD CONSTRAINT item_barcodes_pkey PRIMARY KEY (id);


--
-- Name: item_barcodes item_barcodes_uniq_item_barcodes_barcode; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_barcodes
    ADD CONSTRAINT item_barcodes_uniq_item_barcodes_barcode UNIQUE (barcode);


--
-- Name: item_line_discounts item_line_discounts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_line_discounts
    ADD CONSTRAINT item_line_discounts_pkey PRIMARY KEY (id);


--
-- Name: item_line_discounts item_line_discounts_uk_item_line_discounts_item_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_line_discounts
    ADD CONSTRAINT item_line_discounts_uk_item_line_discounts_item_id UNIQUE (item_id);


--
-- Name: item_modifier_group_assignments item_modifier_group_assignments_item_modifier_unique; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_modifier_group_assignments
    ADD CONSTRAINT item_modifier_group_assignments_item_modifier_unique UNIQUE (item_id, modifier_group_id);


--
-- Name: item_modifier_group_assignments item_modifier_group_assignments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_modifier_group_assignments
    ADD CONSTRAINT item_modifier_group_assignments_pkey PRIMARY KEY (id);


--
-- Name: item_modifier_groups item_modifier_groups_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_modifier_groups
    ADD CONSTRAINT item_modifier_groups_name UNIQUE (name);


--
-- Name: item_modifier_groups item_modifier_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_modifier_groups
    ADD CONSTRAINT item_modifier_groups_pkey PRIMARY KEY (id);


--
-- Name: item_modifiers item_modifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_modifiers
    ADD CONSTRAINT item_modifiers_pkey PRIMARY KEY (id);


--
-- Name: item_serial_transactions item_serial_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_serial_transactions
    ADD CONSTRAINT item_serial_transactions_pkey PRIMARY KEY (id);


--
-- Name: item_serials item_serials_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_serials
    ADD CONSTRAINT item_serials_pkey PRIMARY KEY (id);


--
-- Name: item_serials item_serials_uq_item_serial; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_serials
    ADD CONSTRAINT item_serials_uq_item_serial UNIQUE (item_id, serial_no);


--
-- Name: items items_item_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.items
    ADD CONSTRAINT items_item_code UNIQUE (item_code);


--
-- Name: items items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.items
    ADD CONSTRAINT items_pkey PRIMARY KEY (id);


--
-- Name: journal_entries journal_entries_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.journal_entries
    ADD CONSTRAINT journal_entries_pkey PRIMARY KEY (id);


--
-- Name: journal_entry_lines journal_entry_lines_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.journal_entry_lines
    ADD CONSTRAINT journal_entry_lines_pkey PRIMARY KEY (id);


--
-- Name: kds_activity_log kds_activity_log_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_activity_log
    ADD CONSTRAINT kds_activity_log_pkey PRIMARY KEY (id);


--
-- Name: kds_cleanup_log kds_cleanup_log_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_cleanup_log
    ADD CONSTRAINT kds_cleanup_log_pkey PRIMARY KEY (id);


--
-- Name: kds_order_items kds_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_order_items
    ADD CONSTRAINT kds_order_items_pkey PRIMARY KEY (id);


--
-- Name: kds_orders kds_orders_order_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_orders
    ADD CONSTRAINT kds_orders_order_number UNIQUE (order_number);


--
-- Name: kds_orders kds_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_orders
    ADD CONSTRAINT kds_orders_pkey PRIMARY KEY (id);


--
-- Name: kds_settings kds_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_settings
    ADD CONSTRAINT kds_settings_pkey PRIMARY KEY (id);


--
-- Name: kds_settings kds_settings_setting_key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_settings
    ADD CONSTRAINT kds_settings_setting_key UNIQUE (setting_key);


--
-- Name: kds_station_items kds_station_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_station_items
    ADD CONSTRAINT kds_station_items_pkey PRIMARY KEY (id);


--
-- Name: kds_station_items kds_station_items_station_item_unique; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_station_items
    ADD CONSTRAINT kds_station_items_station_item_unique UNIQUE (station_id, item_id);


--
-- Name: kds_stations kds_stations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kds_stations
    ADD CONSTRAINT kds_stations_pkey PRIMARY KEY (id);


--
-- Name: kpra_config kpra_config_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kpra_config
    ADD CONSTRAINT kpra_config_pkey PRIMARY KEY (id);


--
-- Name: kpra_invoices kpra_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kpra_invoices
    ADD CONSTRAINT kpra_invoices_pkey PRIMARY KEY (id);


--
-- Name: kpra_logs kpra_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.kpra_logs
    ADD CONSTRAINT kpra_logs_pkey PRIMARY KEY (id);


--
-- Name: languages languages_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.languages
    ADD CONSTRAINT languages_code UNIQUE (code);


--
-- Name: languages languages_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.languages
    ADD CONSTRAINT languages_pkey PRIMARY KEY (id);


--
-- Name: line_discount_rules line_discount_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.line_discount_rules
    ADD CONSTRAINT line_discount_rules_pkey PRIMARY KEY (id);


--
-- Name: modifier_group_assignments modifier_group_assignments_modifier_group_unique; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.modifier_group_assignments
    ADD CONSTRAINT modifier_group_assignments_modifier_group_unique UNIQUE (modifier_id, modifier_group_id);


--
-- Name: modifier_group_assignments modifier_group_assignments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.modifier_group_assignments
    ADD CONSTRAINT modifier_group_assignments_pkey PRIMARY KEY (id);


--
-- Name: modifier_template_options modifier_template_options_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.modifier_template_options
    ADD CONSTRAINT modifier_template_options_pkey PRIMARY KEY (id);


--
-- Name: modifier_templates modifier_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.modifier_templates
    ADD CONSTRAINT modifier_templates_pkey PRIMARY KEY (id);


--
-- Name: order_takers order_takers_employee_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.order_takers
    ADD CONSTRAINT order_takers_employee_id UNIQUE (employee_id);


--
-- Name: order_takers order_takers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.order_takers
    ADD CONSTRAINT order_takers_pkey PRIMARY KEY (id);


--
-- Name: payment_method_tax_rates payment_method_tax_rates_payment_method; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.payment_method_tax_rates
    ADD CONSTRAINT payment_method_tax_rates_payment_method UNIQUE (payment_method);


--
-- Name: payment_method_tax_rates payment_method_tax_rates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.payment_method_tax_rates
    ADD CONSTRAINT payment_method_tax_rates_pkey PRIMARY KEY (id);


--
-- Name: payment_methods payment_methods_method_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.payment_methods
    ADD CONSTRAINT payment_methods_method_name UNIQUE (method_name);


--
-- Name: payment_methods payment_methods_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.payment_methods
    ADD CONSTRAINT payment_methods_pkey PRIMARY KEY (id);


--
-- Name: price_history price_history_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.price_history
    ADD CONSTRAINT price_history_pkey PRIMARY KEY (id);


--
-- Name: print_devices print_devices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.print_devices
    ADD CONSTRAINT print_devices_pkey PRIMARY KEY (id);


--
-- Name: production_cost_lines production_cost_lines_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.production_cost_lines
    ADD CONSTRAINT production_cost_lines_pkey PRIMARY KEY (id);


--
-- Name: production_items production_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.production_items
    ADD CONSTRAINT production_items_pkey PRIMARY KEY (id);


--
-- Name: production_materials production_materials_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.production_materials
    ADD CONSTRAINT production_materials_pkey PRIMARY KEY (id);


--
-- Name: production_orders production_orders_order_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.production_orders
    ADD CONSTRAINT production_orders_order_number UNIQUE (order_number);


--
-- Name: production_orders production_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.production_orders
    ADD CONSTRAINT production_orders_pkey PRIMARY KEY (id);


--
-- Name: purchase_items purchase_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_items
    ADD CONSTRAINT purchase_items_pkey PRIMARY KEY (id);


--
-- Name: purchase_order_items purchase_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_order_items
    ADD CONSTRAINT purchase_order_items_pkey PRIMARY KEY (id);


--
-- Name: purchase_orders purchase_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_orders
    ADD CONSTRAINT purchase_orders_pkey PRIMARY KEY (id);


--
-- Name: purchase_orders purchase_orders_uk_po_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_orders
    ADD CONSTRAINT purchase_orders_uk_po_number UNIQUE (po_number);


--
-- Name: purchase_return_items purchase_return_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_return_items
    ADD CONSTRAINT purchase_return_items_pkey PRIMARY KEY (id);


--
-- Name: purchase_returns purchase_returns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchase_returns
    ADD CONSTRAINT purchase_returns_pkey PRIMARY KEY (id);


--
-- Name: purchases purchases_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchases
    ADD CONSTRAINT purchases_pkey PRIMARY KEY (id);


--
-- Name: purchases purchases_purchase_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.purchases
    ADD CONSTRAINT purchases_purchase_number UNIQUE (purchase_number);


--
-- Name: quotation_drafts quotation_drafts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.quotation_drafts
    ADD CONSTRAINT quotation_drafts_pkey PRIMARY KEY (id);


--
-- Name: quotation_drafts quotation_drafts_uq_quotation_draft_user_store; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.quotation_drafts
    ADD CONSTRAINT quotation_drafts_uq_quotation_draft_user_store UNIQUE (user_id, store_id);


--
-- Name: quotation_items quotation_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.quotation_items
    ADD CONSTRAINT quotation_items_pkey PRIMARY KEY (id);


--
-- Name: quotations quotations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.quotations
    ADD CONSTRAINT quotations_pkey PRIMARY KEY (id);


--
-- Name: quotations quotations_quotation_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.quotations
    ADD CONSTRAINT quotations_quotation_number UNIQUE (quotation_number);


--
-- Name: rights rights_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.rights
    ADD CONSTRAINT rights_pkey PRIMARY KEY (id);


--
-- Name: role_rights role_rights_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.role_rights
    ADD CONSTRAINT role_rights_pkey PRIMARY KEY (role_id, right_id);


--
-- Name: roles roles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.roles
    ADD CONSTRAINT roles_pkey PRIMARY KEY (id);


--
-- Name: sale_item_modifiers sale_item_modifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sale_item_modifiers
    ADD CONSTRAINT sale_item_modifiers_pkey PRIMARY KEY (id);


--
-- Name: sale_items sale_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sale_items
    ADD CONSTRAINT sale_items_pkey PRIMARY KEY (id);


--
-- Name: sale_return_items sale_return_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sale_return_items
    ADD CONSTRAINT sale_return_items_pkey PRIMARY KEY (id);


--
-- Name: sale_returns sale_returns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sale_returns
    ADD CONSTRAINT sale_returns_pkey PRIMARY KEY (id);


--
-- Name: sales sales_invoice_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sales
    ADD CONSTRAINT sales_invoice_number UNIQUE (invoice_number);


--
-- Name: sales sales_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sales
    ADD CONSTRAINT sales_pkey PRIMARY KEY (id);


--
-- Name: setting_categories setting_categories_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.setting_categories
    ADD CONSTRAINT setting_categories_code UNIQUE (code);


--
-- Name: setting_categories setting_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.setting_categories
    ADD CONSTRAINT setting_categories_pkey PRIMARY KEY (id);


--
-- Name: setting_options setting_options_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.setting_options
    ADD CONSTRAINT setting_options_pkey PRIMARY KEY (id);


--
-- Name: settings settings_idx_settings_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.settings
    ADD CONSTRAINT settings_idx_settings_code UNIQUE (code);


--
-- Name: settings settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.settings
    ADD CONSTRAINT settings_pkey PRIMARY KEY (id);


--
-- Name: shift_logs shift_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.shift_logs
    ADD CONSTRAINT shift_logs_pkey PRIMARY KEY (id);


--
-- Name: shifts shifts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.shifts
    ADD CONSTRAINT shifts_pkey PRIMARY KEY (id);


--
-- Name: site_installation site_installation_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.site_installation
    ADD CONSTRAINT site_installation_pkey PRIMARY KEY (id);


--
-- Name: stock_adjustment_items stock_adjustment_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_adjustment_items
    ADD CONSTRAINT stock_adjustment_items_pkey PRIMARY KEY (id);


--
-- Name: stock_adjustments stock_adjustments_adjustment_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_adjustments
    ADD CONSTRAINT stock_adjustments_adjustment_number UNIQUE (adjustment_number);


--
-- Name: stock_adjustments stock_adjustments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_adjustments
    ADD CONSTRAINT stock_adjustments_pkey PRIMARY KEY (id);


--
-- Name: stock_transfer_items stock_transfer_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_transfer_items
    ADD CONSTRAINT stock_transfer_items_pkey PRIMARY KEY (id);


--
-- Name: stock_transfers stock_transfers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_transfers
    ADD CONSTRAINT stock_transfers_pkey PRIMARY KEY (id);


--
-- Name: stock_transfers stock_transfers_transfer_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stock_transfers
    ADD CONSTRAINT stock_transfers_transfer_number UNIQUE (transfer_number);


--
-- Name: store_inventory store_inventory_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.store_inventory
    ADD CONSTRAINT store_inventory_pkey PRIMARY KEY (id);


--
-- Name: store_inventory store_inventory_store_item_unique; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.store_inventory
    ADD CONSTRAINT store_inventory_store_item_unique UNIQUE (store_id, item_id);


--
-- Name: stores stores_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stores
    ADD CONSTRAINT stores_pkey PRIMARY KEY (id);


--
-- Name: stores stores_store_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.stores
    ADD CONSTRAINT stores_store_code UNIQUE (store_code);


--
-- Name: sub_categories sub_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sub_categories
    ADD CONSTRAINT sub_categories_pkey PRIMARY KEY (id);


--
-- Name: subscription_plans subscription_plans_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.subscription_plans
    ADD CONSTRAINT subscription_plans_pkey PRIMARY KEY (id);


--
-- Name: sup_outstanding sup_outstanding_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sup_outstanding
    ADD CONSTRAINT sup_outstanding_pkey PRIMARY KEY (id);


--
-- Name: sup_payments sup_payments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sup_payments
    ADD CONSTRAINT sup_payments_pkey PRIMARY KEY (id);


--
-- Name: supplier_balance_entries supplier_balance_entries_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.supplier_balance_entries
    ADD CONSTRAINT supplier_balance_entries_pkey PRIMARY KEY (id);


--
-- Name: supplier_balance_entries supplier_balance_entries_uniq_entry_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.supplier_balance_entries
    ADD CONSTRAINT supplier_balance_entries_uniq_entry_number UNIQUE (entry_number);


--
-- Name: sync_conflicts sync_conflicts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_conflicts
    ADD CONSTRAINT sync_conflicts_pkey PRIMARY KEY (id);


--
-- Name: sync_dead_letter sync_dead_letter_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_dead_letter
    ADD CONSTRAINT sync_dead_letter_pkey PRIMARY KEY (id);


--
-- Name: sync_entity_policies sync_entity_policies_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_entity_policies
    ADD CONSTRAINT sync_entity_policies_pkey PRIMARY KEY (entity_name);


--
-- Name: sync_job_tables sync_job_tables_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_job_tables
    ADD CONSTRAINT sync_job_tables_pkey PRIMARY KEY (id);


--
-- Name: sync_jobs sync_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_jobs
    ADD CONSTRAINT sync_jobs_pkey PRIMARY KEY (id);


--
-- Name: sync_settings sync_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_settings
    ADD CONSTRAINT sync_settings_pkey PRIMARY KEY (id);


--
-- Name: sync_table_checkpoints sync_table_checkpoints_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_table_checkpoints
    ADD CONSTRAINT sync_table_checkpoints_pkey PRIMARY KEY (id);


--
-- Name: table_transfer_logs table_transfer_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.table_transfer_logs
    ADD CONSTRAINT table_transfer_logs_pkey PRIMARY KEY (id);


--
-- Name: tax_rates tax_rates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.tax_rates
    ADD CONSTRAINT tax_rates_pkey PRIMARY KEY (id);


--
-- Name: terminals terminals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.terminals
    ADD CONSTRAINT terminals_pkey PRIMARY KEY (id);


--
-- Name: terminals terminals_unique_computer_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.terminals
    ADD CONSTRAINT terminals_unique_computer_name UNIQUE (computer_name);


--
-- Name: translations translations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.translations
    ADD CONSTRAINT translations_pkey PRIMARY KEY (id);


--
-- Name: translations translations_unique_translation; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.translations
    ADD CONSTRAINT translations_unique_translation UNIQUE (language_code, key);


--
-- Name: uom_groups uom_groups_code; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.uom_groups
    ADD CONSTRAINT uom_groups_code UNIQUE (code);


--
-- Name: uom_groups uom_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.uom_groups
    ADD CONSTRAINT uom_groups_pkey PRIMARY KEY (id);


--
-- Name: uoms uoms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.uoms
    ADD CONSTRAINT uoms_pkey PRIMARY KEY (id);


--
-- Name: user_language_preferences user_language_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.user_language_preferences
    ADD CONSTRAINT user_language_preferences_pkey PRIMARY KEY (id);


--
-- Name: user_language_preferences user_language_preferences_user_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.user_language_preferences
    ADD CONSTRAINT user_language_preferences_user_id UNIQUE (user_id);


--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT users_pkey PRIMARY KEY (id);


--
-- Name: vendors vendors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.vendors
    ADD CONSTRAINT vendors_pkey PRIMARY KEY (id);


--
-- Name: video_help video_help_page_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.video_help
    ADD CONSTRAINT video_help_page_name UNIQUE (page_name);


--
-- Name: video_help video_help_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.video_help
    ADD CONSTRAINT video_help_pkey PRIMARY KEY (id);


--
-- Name: void_items void_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.void_items
    ADD CONSTRAINT void_items_pkey PRIMARY KEY (id);


--
-- Name: void_orders void_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.void_orders
    ADD CONSTRAINT void_orders_pkey PRIMARY KEY (id);


--
-- Name: void_reasons void_reasons_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.void_reasons
    ADD CONSTRAINT void_reasons_pkey PRIMARY KEY (id);


--
-- Name: warranties warranties_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.warranties
    ADD CONSTRAINT warranties_pkey PRIMARY KEY (id);


--
-- Name: warranties warranties_uq_warranty_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.warranties
    ADD CONSTRAINT warranties_uq_warranty_name UNIQUE (name);


--
-- Name: wastage_items wastage_items_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.wastage_items
    ADD CONSTRAINT wastage_items_pkey PRIMARY KEY (id);


--
-- Name: wastage wastage_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.wastage
    ADD CONSTRAINT wastage_pkey PRIMARY KEY (id);


--
-- Name: wastage wastage_wastage_number; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.wastage
    ADD CONSTRAINT wastage_wastage_number UNIQUE (wastage_number);


--
-- Name: zatca_config zatca_config_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_config
    ADD CONSTRAINT zatca_config_pkey PRIMARY KEY (id);


--
-- Name: zatca_invoices zatca_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_invoices
    ADD CONSTRAINT zatca_invoices_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_api_logs zatca_phase2_api_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_api_logs
    ADD CONSTRAINT zatca_phase2_api_logs_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_certificates zatca_phase2_certificates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_certificates
    ADD CONSTRAINT zatca_phase2_certificates_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_device_state zatca_phase2_device_state_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_device_state
    ADD CONSTRAINT zatca_phase2_device_state_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_device_state zatca_phase2_device_state_uq_zatca_p2_device; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_device_state
    ADD CONSTRAINT zatca_phase2_device_state_uq_zatca_p2_device UNIQUE (store_id, terminal_id, device_identifier);


--
-- Name: zatca_phase2_invoices zatca_phase2_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_invoices
    ADD CONSTRAINT zatca_phase2_invoices_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_invoices zatca_phase2_invoices_uq_zatca_p2_sale_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_invoices
    ADD CONSTRAINT zatca_phase2_invoices_uq_zatca_p2_sale_id UNIQUE (sale_id);


--
-- Name: zatca_phase2_invoices zatca_phase2_invoices_uq_zatca_p2_uuid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_invoices
    ADD CONSTRAINT zatca_phase2_invoices_uq_zatca_p2_uuid UNIQUE (uuid);


--
-- Name: zatca_phase2_jobs zatca_phase2_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_jobs
    ADD CONSTRAINT zatca_phase2_jobs_pkey PRIMARY KEY (id);


--
-- Name: zatca_phase2_status_history zatca_phase2_status_history_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.zatca_phase2_status_history
    ADD CONSTRAINT zatca_phase2_status_history_pkey PRIMARY KEY (id);


--
-- Name: account_mappings_idx_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_mappings_idx_account_id ON public.account_mappings USING btree (account_id);


--
-- Name: account_mappings_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_mappings_idx_is_active ON public.account_mappings USING btree (is_active);


--
-- Name: account_mappings_idx_mapping_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_mappings_idx_mapping_code ON public.account_mappings USING btree (mapping_code);


--
-- Name: account_transactions_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_account_id ON public.account_transactions USING btree (account_id);


--
-- Name: account_transactions_fk_account_transactions_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_fk_account_transactions_branch ON public.account_transactions USING btree (branch_id);


--
-- Name: account_transactions_idx_account_transactions_cheque_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_account_transactions_cheque_id ON public.account_transactions USING btree (cheque_id);


--
-- Name: account_transactions_idx_account_transactions_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_account_transactions_created_at ON public.account_transactions USING btree (created_at);


--
-- Name: account_transactions_idx_account_transactions_sale_account; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_account_transactions_sale_account ON public.account_transactions USING btree (sale_id, account_type);


--
-- Name: account_transactions_idx_account_transactions_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_account_transactions_store_id ON public.account_transactions USING btree (store_id);


--
-- Name: account_transactions_idx_account_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_account_type ON public.account_transactions USING btree (account_type);


--
-- Name: account_transactions_idx_card_last_four; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_card_last_four ON public.account_transactions USING btree (card_last_four);


--
-- Name: account_transactions_idx_card_type_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_idx_card_type_id ON public.account_transactions USING btree (card_type_id);


--
-- Name: account_transactions_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_transactions_sale_id ON public.account_transactions USING btree (sale_id);


--
-- Name: account_types_idx_sort_order; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_types_idx_sort_order ON public.account_types USING btree (sort_order);


--
-- Name: account_types_idx_type_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX account_types_idx_type_code ON public.account_types USING btree (type_code);


--
-- Name: bank_access_idx_bank_access_bank; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bank_access_idx_bank_access_bank ON public.bank_access USING btree (bank_account_id);


--
-- Name: bank_access_idx_bank_access_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bank_access_idx_bank_access_user ON public.bank_access USING btree (user_id);


--
-- Name: bank_accounts_idx_chart_of_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bank_accounts_idx_chart_of_account_id ON public.bank_accounts USING btree (chart_of_account_id);


--
-- Name: bank_accounts_idx_mapped_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bank_accounts_idx_mapped_at ON public.bank_accounts USING btree (mapped_at);


--
-- Name: bom_components_bom_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bom_components_bom_id ON public.bom_components USING btree (bom_id);


--
-- Name: bom_components_component_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bom_components_component_item_id ON public.bom_components USING btree (component_item_id);


--
-- Name: bom_master_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX bom_master_item_id ON public.bom_master USING btree (item_id);


--
-- Name: branch_access_idx_branch_access_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX branch_access_idx_branch_access_branch ON public.branch_access USING btree (branch_id);


--
-- Name: branch_access_idx_branch_access_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX branch_access_idx_branch_access_user ON public.branch_access USING btree (user_id);


--
-- Name: branch_info_idx_branch_info_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX branch_info_idx_branch_info_active ON public.branch_info USING btree (is_active);


--
-- Name: branch_info_idx_branch_info_default; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX branch_info_idx_branch_info_default ON public.branch_info USING btree (is_default);


--
-- Name: branch_info_idx_branch_info_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX branch_info_idx_branch_info_type ON public.branch_info USING btree (branch_type);


--
-- Name: categories_idx_icon; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX categories_idx_icon ON public.categories USING btree (icon);


--
-- Name: categories_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX categories_idx_is_active ON public.categories USING btree (is_active);


--
-- Name: chart_of_accounts_idx_account_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX chart_of_accounts_idx_account_code ON public.chart_of_accounts USING btree (account_code);


--
-- Name: chart_of_accounts_idx_account_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX chart_of_accounts_idx_account_type ON public.chart_of_accounts USING btree (account_type);


--
-- Name: chart_of_accounts_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX chart_of_accounts_idx_is_active ON public.chart_of_accounts USING btree (is_active);


--
-- Name: chart_of_accounts_idx_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX chart_of_accounts_idx_store_id ON public.chart_of_accounts USING btree (store_id);


--
-- Name: cheque_books_idx_cheque_books_bank; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheque_books_idx_cheque_books_bank ON public.cheque_books USING btree (bank_account_id);


--
-- Name: cheque_books_idx_cheque_books_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheque_books_idx_cheque_books_branch ON public.cheque_books USING btree (branch_id);


--
-- Name: cheques_idx_cheques_book; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheques_idx_cheques_book ON public.cheques USING btree (cheque_book_id);


--
-- Name: cheques_idx_cheques_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheques_idx_cheques_branch ON public.cheques USING btree (branch_id);


--
-- Name: cheques_idx_cheques_sale; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheques_idx_cheques_sale ON public.cheques USING btree (sale_id);


--
-- Name: cheques_idx_cheques_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cheques_idx_cheques_status ON public.cheques USING btree (status);


--
-- Name: cus_outstanding_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_outstanding_customer_id ON public.cus_outstanding USING btree (customer_id);


--
-- Name: cus_outstanding_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_outstanding_sale_id ON public.cus_outstanding USING btree (sale_id);


--
-- Name: cus_payments_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_payments_customer_id ON public.cus_payments USING btree (customer_id);


--
-- Name: cus_payments_idx_cus_payments_balance_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_payments_idx_cus_payments_balance_entry_id ON public.cus_payments USING btree (balance_entry_id);


--
-- Name: cus_payments_idx_cus_payments_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_payments_idx_cus_payments_store_id ON public.cus_payments USING btree (store_id);


--
-- Name: cus_payments_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX cus_payments_sale_id ON public.cus_payments USING btree (sale_id);


--
-- Name: customer_balance_entries_idx_customer_balance_customer; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_balance_entries_idx_customer_balance_customer ON public.customer_balance_entries USING btree (customer_id);


--
-- Name: customer_balance_entries_idx_customer_balance_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_balance_entries_idx_customer_balance_status ON public.customer_balance_entries USING btree (status);


--
-- Name: customer_balance_entries_idx_customer_balance_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_balance_entries_idx_customer_balance_type ON public.customer_balance_entries USING btree (entry_type);


--
-- Name: customer_subscription_invoices_idx_customer_subscription_invoic; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscription_invoices_idx_customer_subscription_invoic ON public.customer_subscription_invoices USING btree (period_end);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_customer_id ON public.customer_subscriptions USING btree (customer_id);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_item_id ON public.customer_subscriptions USING btree (item_id);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_period_end; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_period_end ON public.customer_subscriptions USING btree (current_period_end);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_plan_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_plan_id ON public.customer_subscriptions USING btree (subscription_plan_id);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_renewal_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_renewal_date ON public.customer_subscriptions USING btree (next_renewal_date);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_status ON public.customer_subscriptions USING btree (status);


--
-- Name: customer_subscriptions_idx_customer_subscriptions_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customer_subscriptions_idx_customer_subscriptions_store_id ON public.customer_subscriptions USING btree (store_id);


--
-- Name: customers_idx_customers_is_walk_in; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customers_idx_customers_is_walk_in ON public.customers USING btree (is_walk_in);


--
-- Name: customers_idx_customers_name; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customers_idx_customers_name ON public.customers USING btree (name);


--
-- Name: customers_idx_customers_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX customers_idx_customers_store_id ON public.customers USING btree (primary_store_id);


--
-- Name: deal_items_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deal_items_category_id ON public.deal_items USING btree (category_id);


--
-- Name: deal_items_deal_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deal_items_deal_id ON public.deal_items USING btree (deal_id);


--
-- Name: deal_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deal_items_item_id ON public.deal_items USING btree (item_id);


--
-- Name: deal_items_selection_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deal_items_selection_type ON public.deal_items USING btree (selection_type);


--
-- Name: deal_items_sub_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deal_items_sub_category_id ON public.deal_items USING btree (sub_category_id);


--
-- Name: deals_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX deals_is_active ON public.deals USING btree (is_active);


--
-- Name: delivery_orders_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_orders_customer_id ON public.delivery_orders USING btree (customer_id);


--
-- Name: delivery_orders_idx_delivery_orders_created; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_orders_idx_delivery_orders_created ON public.delivery_orders USING btree (created_at);


--
-- Name: delivery_orders_idx_delivery_orders_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_orders_idx_delivery_orders_store_id ON public.delivery_orders USING btree (store_id);


--
-- Name: delivery_orders_rider_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_orders_rider_id ON public.delivery_orders USING btree (rider_id);


--
-- Name: delivery_orders_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_orders_sale_id ON public.delivery_orders USING btree (sale_id);


--
-- Name: delivery_riders_idx_delivery_riders_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX delivery_riders_idx_delivery_riders_store_id ON public.delivery_riders USING btree (assigned_store_id);


--
-- Name: dinein_floors_idx_dinein_floors_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dinein_floors_idx_dinein_floors_store_id ON public.dinein_floors USING btree (store_id);


--
-- Name: dinein_tables_floor_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dinein_tables_floor_id ON public.dinein_tables USING btree (floor_id);


--
-- Name: dinein_tables_idx_dinein_tables_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dinein_tables_idx_dinein_tables_store_id ON public.dinein_tables USING btree (store_id);


--
-- Name: discounts_idx_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX discounts_idx_category_id ON public.discounts USING btree (category_id);


--
-- Name: expense_accounts_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expense_accounts_category_id ON public.expense_accounts USING btree (category_id);


--
-- Name: expense_accounts_idx_chart_of_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expense_accounts_idx_chart_of_account_id ON public.expense_accounts USING btree (chart_of_account_id);


--
-- Name: expense_accounts_idx_mapped_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expense_accounts_idx_mapped_at ON public.expense_accounts USING btree (mapped_at);


--
-- Name: expense_accounts_subcategory_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expense_accounts_subcategory_id ON public.expense_accounts USING btree (subcategory_id);


--
-- Name: expense_subcategories_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expense_subcategories_category_id ON public.expense_subcategories USING btree (category_id);


--
-- Name: expenses_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_account_id ON public.expenses USING btree (account_id);


--
-- Name: expenses_bank_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_bank_account_id ON public.expenses USING btree (bank_account_id);


--
-- Name: expenses_idx_expenses_approved_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_expenses_approved_at ON public.expenses USING btree (approved_at);


--
-- Name: expenses_idx_expenses_approved_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_expenses_approved_by ON public.expenses USING btree (approved_by);


--
-- Name: expenses_idx_expenses_shift_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_expenses_shift_id ON public.expenses USING btree (shift_id);


--
-- Name: expenses_idx_expenses_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_expenses_status ON public.expenses USING btree (status);


--
-- Name: expenses_idx_expenses_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_expenses_store_id ON public.expenses USING btree (store_id);


--
-- Name: expenses_idx_reversal_journal; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_reversal_journal ON public.expenses USING btree (reversal_journal_id);


--
-- Name: expenses_idx_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_idx_status ON public.expenses USING btree (status);


--
-- Name: expenses_journal_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX expenses_journal_entry_id ON public.expenses USING btree (journal_entry_id);


--
-- Name: fbr_digital_invoices_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fbr_digital_invoices_sale_id ON public.fbr_digital_invoices USING btree (sale_id);


--
-- Name: fbr_digital_logs_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fbr_digital_logs_sale_id ON public.fbr_digital_logs USING btree (sale_id);


--
-- Name: fbr_digital_scenarios_scenario_id_uq; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX fbr_digital_scenarios_scenario_id_uq ON public.fbr_digital_scenarios USING btree (scenario_id);


--
-- Name: fbr_invoices_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fbr_invoices_sale_id ON public.fbr_invoices USING btree (sale_id);


--
-- Name: fiscal_period_setup_idx_open_year; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fiscal_period_setup_idx_open_year ON public.fiscal_period_setup USING btree (open_year);


--
-- Name: fiscal_periods_idx_end_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fiscal_periods_idx_end_date ON public.fiscal_periods USING btree (end_date);


--
-- Name: fiscal_periods_idx_is_closed; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fiscal_periods_idx_is_closed ON public.fiscal_periods USING btree (is_closed);


--
-- Name: fiscal_periods_idx_period_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fiscal_periods_idx_period_status ON public.fiscal_periods USING btree (period_status);


--
-- Name: fiscal_periods_idx_start_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX fiscal_periods_idx_start_date ON public.fiscal_periods USING btree (start_date);


--
-- Name: hold_items_idx_hold_id_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_items_idx_hold_id_item ON public.hold_items USING btree (hold_id, item_id);


--
-- Name: hold_items_idx_hold_items_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_items_idx_hold_items_store_id ON public.hold_items USING btree (store_id);


--
-- Name: hold_items_idx_hold_void; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_items_idx_hold_void ON public.hold_items USING btree (hold_id, void_status);


--
-- Name: hold_items_idx_is_deal; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_items_idx_is_deal ON public.hold_items USING btree (is_deal);


--
-- Name: hold_items_idx_void_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_items_idx_void_status ON public.hold_items USING btree (void_status);


--
-- Name: hold_orders_idx_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_customer_id ON public.hold_orders USING btree (customer_id);


--
-- Name: hold_orders_idx_discount_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_discount_id ON public.hold_orders USING btree (discount_id);


--
-- Name: hold_orders_idx_hold_orders_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_hold_orders_store_id ON public.hold_orders USING btree (store_id);


--
-- Name: hold_orders_idx_order_mode_table; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_order_mode_table ON public.hold_orders USING btree (order_mode, table_id);


--
-- Name: hold_orders_idx_order_taker_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_order_taker_id ON public.hold_orders USING btree (order_taker_id);


--
-- Name: hold_orders_idx_shift_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_shift_id ON public.hold_orders USING btree (shift_id);


--
-- Name: hold_orders_idx_table_id_created; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_table_id_created ON public.hold_orders USING btree (table_id, created_at);


--
-- Name: hold_orders_idx_token_shift; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX hold_orders_idx_token_shift ON public.hold_orders USING btree (shift_id, token_number);


--
-- Name: idx_branch_access_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX idx_branch_access_branch ON public.branch_access USING btree (branch_id);


--
-- Name: idx_branch_access_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX idx_branch_access_user ON public.branch_access USING btree (user_id);


--
-- Name: idx_sync_conflicts_table_pk; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX idx_sync_conflicts_table_pk ON public.sync_conflicts USING btree (table_name, pk_value);


--
-- Name: idx_sync_dead_letter_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX idx_sync_dead_letter_status ON public.sync_dead_letter USING btree (status);


--
-- Name: idx_sync_job_tables_job; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX idx_sync_job_tables_job ON public.sync_job_tables USING btree (job_id);


--
-- Name: inventory_lots_idx_branch_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_lots_idx_branch_status ON public.inventory_lots USING btree (branch_id, status_code);


--
-- Name: inventory_lots_idx_expiry_on_hand; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_lots_idx_expiry_on_hand ON public.inventory_lots USING btree (expiry_date) WHERE (qty_on_hand > (0)::numeric);


--
-- Name: inventory_lots_idx_item_store_expiry; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_lots_idx_item_store_expiry ON public.inventory_lots USING btree (item_id, store_id, expiry_date);


--
-- Name: inventory_lots_idx_purchase_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_lots_idx_purchase_item ON public.inventory_lots USING btree (purchase_item_id) WHERE (purchase_item_id IS NOT NULL);


--
-- Name: inventory_movements_idx_inventory_movements_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_inventory_movements_branch_id ON public.inventory_movements USING btree (branch_id);


--
-- Name: inventory_movements_idx_inventory_movements_branch_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_inventory_movements_branch_store ON public.inventory_movements USING btree (branch_id, store_id);


--
-- Name: inventory_movements_idx_inventory_movements_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_inventory_movements_created_at ON public.inventory_movements USING btree (created_at);


--
-- Name: inventory_movements_idx_inventory_movements_item_reference; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_inventory_movements_item_reference ON public.inventory_movements USING btree (item_id, reference_type, reference_id);


--
-- Name: inventory_movements_idx_inventory_movements_reference; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_inventory_movements_reference ON public.inventory_movements USING btree (reference_type, reference_id);


--
-- Name: inventory_movements_idx_lot_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_idx_lot_id ON public.inventory_movements USING btree (lot_id) WHERE (lot_id IS NOT NULL);


--
-- Name: inventory_movements_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_item_id ON public.inventory_movements USING btree (item_id);


--
-- Name: inventory_movements_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX inventory_movements_store_id ON public.inventory_movements USING btree (store_id);


--
-- Name: item_barcodes_idx_item_barcodes_item_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_barcodes_idx_item_barcodes_item_active ON public.item_barcodes USING btree (item_id, is_active);


--
-- Name: item_barcodes_idx_item_barcodes_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_barcodes_idx_item_barcodes_item_id ON public.item_barcodes USING btree (item_id);


--
-- Name: item_line_discounts_idx_item_line_discounts_active_dates; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_line_discounts_idx_item_line_discounts_active_dates ON public.item_line_discounts USING btree (is_active, expires_at, starts_at);


--
-- Name: item_modifier_group_assignments_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifier_group_assignments_item_id ON public.item_modifier_group_assignments USING btree (item_id);


--
-- Name: item_modifier_group_assignments_modifier_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifier_group_assignments_modifier_group_id ON public.item_modifier_group_assignments USING btree (modifier_group_id);


--
-- Name: item_modifier_groups_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifier_groups_is_active ON public.item_modifier_groups USING btree (is_active);


--
-- Name: item_modifier_groups_sort_order; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifier_groups_sort_order ON public.item_modifier_groups USING btree (sort_order);


--
-- Name: item_modifiers_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifiers_is_active ON public.item_modifiers USING btree (is_active);


--
-- Name: item_modifiers_sort_order; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_modifiers_sort_order ON public.item_modifiers USING btree (sort_order);


--
-- Name: item_serial_transactions_idx_st_doc; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serial_transactions_idx_st_doc ON public.item_serial_transactions USING btree (doc_type, doc_id);


--
-- Name: item_serial_transactions_idx_st_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serial_transactions_idx_st_item ON public.item_serial_transactions USING btree (item_id);


--
-- Name: item_serial_transactions_idx_st_serial; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serial_transactions_idx_st_serial ON public.item_serial_transactions USING btree (serial_id);


--
-- Name: item_serial_transactions_idx_st_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serial_transactions_idx_st_type ON public.item_serial_transactions USING btree (trans_type);


--
-- Name: item_serials_idx_serial_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serials_idx_serial_branch ON public.item_serials USING btree (branch_id);


--
-- Name: item_serials_idx_serial_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serials_idx_serial_item ON public.item_serials USING btree (item_id);


--
-- Name: item_serials_idx_serial_no; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serials_idx_serial_no ON public.item_serials USING btree (serial_no);


--
-- Name: item_serials_idx_serial_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX item_serials_idx_serial_status ON public.item_serials USING btree (status_code);


--
-- Name: items_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_category_id ON public.items USING btree (category_id);


--
-- Name: items_idx_display_color; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_display_color ON public.items USING btree (display_color);


--
-- Name: items_idx_items_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_category_id ON public.items USING btree (category_id);


--
-- Name: items_idx_items_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_is_active ON public.items USING btree (is_active);


--
-- Name: items_idx_items_is_serialized; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_is_serialized ON public.items USING btree (is_serialized);


--
-- Name: items_idx_items_item_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_item_code ON public.items USING btree (item_code);


--
-- Name: items_idx_items_item_role; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_item_role ON public.items USING btree (item_role);


--
-- Name: items_idx_items_name; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_name ON public.items USING btree (name);


--
-- Name: items_idx_items_sub_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_sub_category_id ON public.items USING btree (sub_category_id);


--
-- Name: items_idx_items_supplier_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_idx_items_supplier_id ON public.items USING btree (supplier_id);


--
-- Name: items_sub_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_sub_category_id ON public.items USING btree (sub_category_id);


--
-- Name: items_tax_rate_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_tax_rate_id ON public.items USING btree (tax_rate_id);


--
-- Name: items_uom_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX items_uom_id ON public.items USING btree (uom_id);


--
-- Name: journal_entries_branch_code_entry_number_key; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX journal_entries_branch_code_entry_number_key ON public.journal_entries USING btree (branch_code, entry_number);


--
-- Name: journal_entries_branch_code_source_entry_id_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_branch_code_source_entry_id_idx ON public.journal_entries USING btree (branch_code, source_entry_id);


--
-- Name: journal_entries_idx_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_branch_id ON public.journal_entries USING btree (branch_id);


--
-- Name: journal_entries_idx_entry_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_entry_date ON public.journal_entries USING btree (entry_date);


--
-- Name: journal_entries_idx_entry_number; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_entry_number ON public.journal_entries USING btree (entry_number);


--
-- Name: journal_entries_idx_period_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_period_id ON public.journal_entries USING btree (period_id);


--
-- Name: journal_entries_idx_reference_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_reference_id ON public.journal_entries USING btree (reference_id);


--
-- Name: journal_entries_idx_source_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_source_type ON public.journal_entries USING btree (source_type);


--
-- Name: journal_entries_idx_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_status ON public.journal_entries USING btree (status);


--
-- Name: journal_entries_idx_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_store_id ON public.journal_entries USING btree (store_id);


--
-- Name: journal_entries_idx_user_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entries_idx_user_id ON public.journal_entries USING btree (user_id);


--
-- Name: journal_entry_lines_branch_code_journal_entry_id_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entry_lines_branch_code_journal_entry_id_idx ON public.journal_entry_lines USING btree (branch_code, journal_entry_id);


--
-- Name: journal_entry_lines_branch_code_source_line_id_key; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX journal_entry_lines_branch_code_source_line_id_key ON public.journal_entry_lines USING btree (branch_code, source_line_id);


--
-- Name: journal_entry_lines_idx_account_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entry_lines_idx_account_id ON public.journal_entry_lines USING btree (account_id);


--
-- Name: journal_entry_lines_idx_journal_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX journal_entry_lines_idx_journal_entry_id ON public.journal_entry_lines USING btree (journal_entry_id);


--
-- Name: kds_activity_log_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_activity_log_created_at ON public.kds_activity_log USING btree (created_at);


--
-- Name: kds_activity_log_idx_kds_activity_log_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_activity_log_idx_kds_activity_log_store_id ON public.kds_activity_log USING btree (store_id);


--
-- Name: kds_activity_log_kds_order_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_activity_log_kds_order_id ON public.kds_activity_log USING btree (kds_order_id);


--
-- Name: kds_activity_log_kds_order_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_activity_log_kds_order_item_id ON public.kds_activity_log USING btree (kds_order_item_id);


--
-- Name: kds_activity_log_user_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_activity_log_user_id ON public.kds_activity_log USING btree (user_id);


--
-- Name: kds_cleanup_log_idx_cleanup_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_cleanup_log_idx_cleanup_date ON public.kds_cleanup_log USING btree (cleanup_date);


--
-- Name: kds_cleanup_log_idx_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_cleanup_log_idx_status ON public.kds_cleanup_log USING btree (status);


--
-- Name: kds_order_items_hold_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_hold_item_id ON public.kds_order_items USING btree (hold_item_id);


--
-- Name: kds_order_items_idx_kds_order_items_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_idx_kds_order_items_store_id ON public.kds_order_items USING btree (store_id);


--
-- Name: kds_order_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_item_id ON public.kds_order_items USING btree (item_id);


--
-- Name: kds_order_items_item_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_item_status ON public.kds_order_items USING btree (item_status);


--
-- Name: kds_order_items_kds_order_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_kds_order_id ON public.kds_order_items USING btree (kds_order_id);


--
-- Name: kds_order_items_sale_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_order_items_sale_item_id ON public.kds_order_items USING btree (sale_item_id);


--
-- Name: kds_orders_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_created_at ON public.kds_orders USING btree (created_at);


--
-- Name: kds_orders_hold_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_hold_id ON public.kds_orders USING btree (hold_id);


--
-- Name: kds_orders_idx_kds_orders_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_idx_kds_orders_store_id ON public.kds_orders USING btree (store_id);


--
-- Name: kds_orders_idx_order_taker_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_idx_order_taker_id ON public.kds_orders USING btree (order_taker_id);


--
-- Name: kds_orders_idx_parent_order; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_idx_parent_order ON public.kds_orders USING btree (parent_order_id);


--
-- Name: kds_orders_idx_sequence; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_idx_sequence ON public.kds_orders USING btree (order_sequence);


--
-- Name: kds_orders_order_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_order_status ON public.kds_orders USING btree (order_status);


--
-- Name: kds_orders_priority; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_priority ON public.kds_orders USING btree (priority);


--
-- Name: kds_orders_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_orders_sale_id ON public.kds_orders USING btree (sale_id);


--
-- Name: kds_settings_idx_kds_settings_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_settings_idx_kds_settings_store_id ON public.kds_settings USING btree (store_id);


--
-- Name: kds_station_items_idx_kds_station_items_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_station_items_idx_kds_station_items_store_id ON public.kds_station_items USING btree (store_id);


--
-- Name: kds_station_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_station_items_item_id ON public.kds_station_items USING btree (item_id);


--
-- Name: kds_station_items_station_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_station_items_station_id ON public.kds_station_items USING btree (station_id);


--
-- Name: kds_stations_idx_kds_stations_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_stations_idx_kds_stations_store_id ON public.kds_stations USING btree (store_id);


--
-- Name: kds_stations_idx_printer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kds_stations_idx_printer_id ON public.kds_stations USING btree (printer_id);


--
-- Name: kpra_invoices_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kpra_invoices_sale_id ON public.kpra_invoices USING btree (sale_id);


--
-- Name: kpra_logs_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX kpra_logs_sale_id ON public.kpra_logs USING btree (sale_id);


--
-- Name: line_discount_rules_idx_active_dates; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX line_discount_rules_idx_active_dates ON public.line_discount_rules USING btree (scope_type, is_active, expires_at, starts_at);


--
-- Name: line_discount_rules_uk_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX line_discount_rules_uk_scope ON public.line_discount_rules USING btree (scope_type, scope_id);


--
-- Name: modifier_group_assignments_modifier_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX modifier_group_assignments_modifier_group_id ON public.modifier_group_assignments USING btree (modifier_group_id);


--
-- Name: modifier_group_assignments_modifier_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX modifier_group_assignments_modifier_id ON public.modifier_group_assignments USING btree (modifier_id);


--
-- Name: order_takers_idx_employee_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX order_takers_idx_employee_id ON public.order_takers USING btree (employee_id);


--
-- Name: order_takers_idx_order_takers_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX order_takers_idx_order_takers_store_id ON public.order_takers USING btree (assigned_store_id);


--
-- Name: order_takers_idx_user_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX order_takers_idx_user_id ON public.order_takers USING btree (user_id);


--
-- Name: print_devices_idx_print_devices_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX print_devices_idx_print_devices_active ON public.print_devices USING btree (is_active);


--
-- Name: print_devices_idx_print_devices_default; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX print_devices_idx_print_devices_default ON public.print_devices USING btree (is_default);


--
-- Name: print_devices_idx_print_devices_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX print_devices_idx_print_devices_type ON public.print_devices USING btree (print_type);


--
-- Name: print_devices_idx_terminal_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX print_devices_idx_terminal_id ON public.print_devices USING btree (terminal_id);


--
-- Name: production_cost_lines_idx_production_cost_lines_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_cost_lines_idx_production_cost_lines_item ON public.production_cost_lines USING btree (production_item_id);


--
-- Name: production_items_finish_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_items_finish_store_id ON public.production_items USING btree (finish_store_id);


--
-- Name: production_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_items_item_id ON public.production_items USING btree (item_id);


--
-- Name: production_items_material_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_items_material_store_id ON public.production_items USING btree (material_store_id);


--
-- Name: production_items_production_order_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_items_production_order_id ON public.production_items USING btree (production_order_id);


--
-- Name: production_items_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_items_status ON public.production_items USING btree (status);


--
-- Name: production_materials_material_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_materials_material_item_id ON public.production_materials USING btree (material_item_id);


--
-- Name: production_materials_production_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_materials_production_item_id ON public.production_materials USING btree (production_item_id);


--
-- Name: production_orders_created_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_orders_created_by ON public.production_orders USING btree (created_by);


--
-- Name: production_orders_production_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_orders_production_date ON public.production_orders USING btree (production_date);


--
-- Name: production_orders_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX production_orders_status ON public.production_orders USING btree (status);


--
-- Name: purchase_items_idx_purchase_items_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_items_idx_purchase_items_store_id ON public.purchase_items USING btree (store_id);


--
-- Name: purchase_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_items_item_id ON public.purchase_items USING btree (item_id);


--
-- Name: purchase_items_purchase_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_items_purchase_id ON public.purchase_items USING btree (purchase_id);


--
-- Name: purchase_order_items_idx_poi_item; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_order_items_idx_poi_item ON public.purchase_order_items USING btree (item_id);


--
-- Name: purchase_order_items_idx_poi_po; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_order_items_idx_poi_po ON public.purchase_order_items USING btree (purchase_order_id);


--
-- Name: purchase_orders_idx_po_branch_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_orders_idx_po_branch_store ON public.purchase_orders USING btree (branch_id, store_id);


--
-- Name: purchase_orders_idx_po_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_orders_idx_po_status ON public.purchase_orders USING btree (status);


--
-- Name: purchase_orders_idx_po_vendor; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_orders_idx_po_vendor ON public.purchase_orders USING btree (vendor_id);


--
-- Name: purchase_return_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_return_items_item_id ON public.purchase_return_items USING btree (item_id);


--
-- Name: purchase_return_items_purchase_return_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_return_items_purchase_return_id ON public.purchase_return_items USING btree (purchase_return_id);


--
-- Name: purchase_returns_idx_purchase_returns_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_returns_idx_purchase_returns_store_id ON public.purchase_returns USING btree (store_id);


--
-- Name: purchase_returns_purchase_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_returns_purchase_id ON public.purchase_returns USING btree (purchase_id);


--
-- Name: purchase_returns_vendor_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchase_returns_vendor_id ON public.purchase_returns USING btree (vendor_id);


--
-- Name: purchases_idx_purchases_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchases_idx_purchases_branch_id ON public.purchases USING btree (branch_id);


--
-- Name: purchases_idx_purchases_branch_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchases_idx_purchases_branch_store ON public.purchases USING btree (branch_id, store_id);


--
-- Name: purchases_idx_purchases_source_po_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchases_idx_purchases_source_po_id ON public.purchases USING btree (source_po_id);


--
-- Name: purchases_idx_purchases_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchases_idx_purchases_store_id ON public.purchases USING btree (store_id);


--
-- Name: purchases_vendor_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX purchases_vendor_id ON public.purchases USING btree (vendor_id);


--
-- Name: quotation_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX quotation_items_item_id ON public.quotation_items USING btree (item_id);


--
-- Name: quotation_items_quotation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX quotation_items_quotation_id ON public.quotation_items USING btree (quotation_id);


--
-- Name: quotations_idx_quotations_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX quotations_idx_quotations_customer_id ON public.quotations USING btree (customer_id);


--
-- Name: quotations_idx_quotations_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX quotations_idx_quotations_status ON public.quotations USING btree (status);


--
-- Name: quotations_idx_quotations_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX quotations_idx_quotations_store_id ON public.quotations USING btree (store_id);


--
-- Name: role_rights_right_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX role_rights_right_id ON public.role_rights USING btree (right_id);


--
-- Name: sale_item_modifiers_modifier_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_item_modifiers_modifier_group_id ON public.sale_item_modifiers USING btree (modifier_group_id);


--
-- Name: sale_item_modifiers_modifier_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_item_modifiers_modifier_id ON public.sale_item_modifiers USING btree (modifier_id);


--
-- Name: sale_item_modifiers_sale_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_item_modifiers_sale_item_id ON public.sale_item_modifiers USING btree (sale_item_id);


--
-- Name: sale_items_idx_is_deal; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_idx_is_deal ON public.sale_items USING btree (is_deal);


--
-- Name: sale_items_idx_sale_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_idx_sale_items_item_id ON public.sale_items USING btree (item_id);


--
-- Name: sale_items_idx_sale_items_item_sale; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_idx_sale_items_item_sale ON public.sale_items USING btree (item_id, sale_id);


--
-- Name: sale_items_idx_sale_items_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_idx_sale_items_sale_id ON public.sale_items USING btree (sale_id);


--
-- Name: sale_items_idx_sale_items_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_idx_sale_items_store_id ON public.sale_items USING btree (store_id);


--
-- Name: sale_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_item_id ON public.sale_items USING btree (item_id);


--
-- Name: sale_items_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_items_sale_id ON public.sale_items USING btree (sale_id);


--
-- Name: sale_return_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_return_items_item_id ON public.sale_return_items USING btree (item_id);


--
-- Name: sale_return_items_sale_return_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_return_items_sale_return_id ON public.sale_return_items USING btree (sale_return_id);


--
-- Name: sale_returns_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_returns_customer_id ON public.sale_returns USING btree (customer_id);


--
-- Name: sale_returns_idx_sale_returns_bank_account; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_returns_idx_sale_returns_bank_account ON public.sale_returns USING btree (bank_account_id);


--
-- Name: sale_returns_idx_sale_returns_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_returns_idx_sale_returns_store_id ON public.sale_returns USING btree (store_id);


--
-- Name: sale_returns_idx_shift_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_returns_idx_shift_id ON public.sale_returns USING btree (shift_id);


--
-- Name: sale_returns_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sale_returns_sale_id ON public.sale_returns USING btree (sale_id);


--
-- Name: sales_idx_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_customer_id ON public.sales USING btree (customer_id);


--
-- Name: sales_idx_discount_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_discount_id ON public.sales USING btree (discount_id);


--
-- Name: sales_idx_kpra_enabled; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_kpra_enabled ON public.sales USING btree (is_kpra_enabled);


--
-- Name: sales_idx_number_of_guests; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_number_of_guests ON public.sales USING btree (number_of_guests);


--
-- Name: sales_idx_order_taker_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_order_taker_id ON public.sales USING btree (order_taker_id);


--
-- Name: sales_idx_payment_method; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_payment_method ON public.sales USING btree (payment_method);


--
-- Name: sales_idx_sales_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_branch_id ON public.sales USING btree (branch_id);


--
-- Name: sales_idx_sales_branch_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_branch_store ON public.sales USING btree (branch_id, store_id);


--
-- Name: sales_idx_sales_customer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_customer_id ON public.sales USING btree (customer_id);


--
-- Name: sales_idx_sales_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_date ON public.sales USING btree (sale_date);


--
-- Name: sales_idx_sales_invoice_number; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_invoice_number ON public.sales USING btree (invoice_number);


--
-- Name: sales_idx_sales_order_mode; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_order_mode ON public.sales USING btree (order_mode);


--
-- Name: sales_idx_sales_sale_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_sale_date ON public.sales USING btree (sale_date);


--
-- Name: sales_idx_sales_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_store_id ON public.sales USING btree (store_id);


--
-- Name: sales_idx_sales_terminal_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_terminal_id ON public.sales USING btree (terminal_id);


--
-- Name: sales_idx_sales_zatca_phase2_invoice_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_sales_zatca_phase2_invoice_id ON public.sales USING btree (zatca_phase2_invoice_id);


--
-- Name: sales_idx_tip_amount; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sales_idx_tip_amount ON public.sales USING btree (tip_amount);


--
-- Name: setting_options_setting_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX setting_options_setting_id ON public.setting_options USING btree (setting_id);


--
-- Name: settings_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX settings_category_id ON public.settings USING btree (category_id);


--
-- Name: settings_idx_settings_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX settings_idx_settings_store_id ON public.settings USING btree (store_id);


--
-- Name: shift_logs_idx_shift_logs_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX shift_logs_idx_shift_logs_store_id ON public.shift_logs USING btree (store_id);


--
-- Name: shifts_fk_shifts_branch; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX shifts_fk_shifts_branch ON public.shifts USING btree (branch_id);


--
-- Name: shifts_idx_shifts_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX shifts_idx_shifts_store_id ON public.shifts USING btree (store_id);


--
-- Name: site_installation_singleton; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX site_installation_singleton ON public.site_installation USING btree ((true));


--
-- Name: stock_adjustment_items_adjustment_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustment_items_adjustment_id ON public.stock_adjustment_items USING btree (adjustment_id);


--
-- Name: stock_adjustment_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustment_items_item_id ON public.stock_adjustment_items USING btree (item_id);


--
-- Name: stock_adjustments_adjustment_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustments_adjustment_date ON public.stock_adjustments USING btree (adjustment_date);


--
-- Name: stock_adjustments_created_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustments_created_by ON public.stock_adjustments USING btree (created_by);


--
-- Name: stock_adjustments_journal_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustments_journal_entry_id ON public.stock_adjustments USING btree (journal_entry_id);


--
-- Name: stock_adjustments_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_adjustments_store_id ON public.stock_adjustments USING btree (store_id);


--
-- Name: stock_transfer_items_idx_stock_transfer_items_from_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfer_items_idx_stock_transfer_items_from_store_id ON public.stock_transfer_items USING btree (from_store_id);


--
-- Name: stock_transfer_items_idx_stock_transfer_items_to_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfer_items_idx_stock_transfer_items_to_store_id ON public.stock_transfer_items USING btree (to_store_id);


--
-- Name: stock_transfer_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfer_items_item_id ON public.stock_transfer_items USING btree (item_id);


--
-- Name: stock_transfer_items_transfer_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfer_items_transfer_id ON public.stock_transfer_items USING btree (transfer_id);


--
-- Name: stock_transfers_from_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfers_from_store_id ON public.stock_transfers USING btree (from_store_id);


--
-- Name: stock_transfers_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfers_status ON public.stock_transfers USING btree (status);


--
-- Name: stock_transfers_to_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stock_transfers_to_store_id ON public.stock_transfers USING btree (to_store_id);


--
-- Name: store_inventory_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX store_inventory_item_id ON public.store_inventory USING btree (item_id);


--
-- Name: store_inventory_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX store_inventory_store_id ON public.store_inventory USING btree (store_id);


--
-- Name: stores_idx_stores_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stores_idx_stores_active ON public.stores USING btree (is_active);


--
-- Name: stores_idx_stores_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX stores_idx_stores_branch_id ON public.stores USING btree (branch_id);


--
-- Name: sub_categories_category_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sub_categories_category_id ON public.sub_categories USING btree (category_id);


--
-- Name: sub_categories_idx_display_color; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sub_categories_idx_display_color ON public.sub_categories USING btree (display_color);


--
-- Name: sub_categories_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sub_categories_idx_is_active ON public.sub_categories USING btree (is_active);


--
-- Name: subscription_plans_idx_subscription_plans_billing_interval; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX subscription_plans_idx_subscription_plans_billing_interval ON public.subscription_plans USING btree (billing_interval);


--
-- Name: subscription_plans_idx_subscription_plans_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX subscription_plans_idx_subscription_plans_is_active ON public.subscription_plans USING btree (is_active);


--
-- Name: subscription_plans_idx_subscription_plans_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX subscription_plans_idx_subscription_plans_store_id ON public.subscription_plans USING btree (store_id);


--
-- Name: sup_payments_idx_sup_payments_balance_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sup_payments_idx_sup_payments_balance_entry_id ON public.sup_payments USING btree (balance_entry_id);


--
-- Name: sup_payments_idx_sup_payments_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX sup_payments_idx_sup_payments_store_id ON public.sup_payments USING btree (store_id);


--
-- Name: supplier_balance_entries_idx_supplier_balance_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX supplier_balance_entries_idx_supplier_balance_status ON public.supplier_balance_entries USING btree (status);


--
-- Name: supplier_balance_entries_idx_supplier_balance_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX supplier_balance_entries_idx_supplier_balance_type ON public.supplier_balance_entries USING btree (entry_type);


--
-- Name: supplier_balance_entries_idx_supplier_balance_vendor; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX supplier_balance_entries_idx_supplier_balance_vendor ON public.supplier_balance_entries USING btree (vendor_id);


--
-- Name: table_transfer_logs_idx_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_created_at ON public.table_transfer_logs USING btree (created_at);


--
-- Name: table_transfer_logs_idx_hold_order; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_hold_order ON public.table_transfer_logs USING btree (hold_order_id);


--
-- Name: table_transfer_logs_idx_source_table; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_source_table ON public.table_transfer_logs USING btree (source_table_id);


--
-- Name: table_transfer_logs_idx_target_table; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_target_table ON public.table_transfer_logs USING btree (target_table_id);


--
-- Name: table_transfer_logs_idx_transfer_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_transfer_type ON public.table_transfer_logs USING btree (transfer_type);


--
-- Name: table_transfer_logs_idx_transferred_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX table_transfer_logs_idx_transferred_by ON public.table_transfer_logs USING btree (transferred_by);


--
-- Name: tax_rates_idx_tax_rates_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX tax_rates_idx_tax_rates_id ON public.tax_rates USING btree (id);


--
-- Name: terminals_idx_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX terminals_idx_branch_id ON public.terminals USING btree (branch_id);


--
-- Name: terminals_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX terminals_idx_is_active ON public.terminals USING btree (is_active);


--
-- Name: terminals_idx_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX terminals_idx_store_id ON public.terminals USING btree (store_id);


--
-- Name: translations_key; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX translations_key ON public.translations USING btree (key);


--
-- Name: translations_language_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX translations_language_code ON public.translations USING btree (language_code);


--
-- Name: uoms_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX uoms_group_id ON public.uoms USING btree (group_id);


--
-- Name: uq_sync_table_checkpoints_key; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX uq_sync_table_checkpoints_key ON public.sync_table_checkpoints USING btree (table_name, direction, COALESCE(branch_code, ''::character varying));


--
-- Name: user_language_preferences_language_code; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX user_language_preferences_language_code ON public.user_language_preferences USING btree (language_code);


--
-- Name: users_idx_email; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_email ON public.users USING btree (email);


--
-- Name: users_idx_is_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_is_active ON public.users USING btree (is_active);


--
-- Name: users_idx_profile_picture; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_profile_picture ON public.users USING btree (profile_picture);


--
-- Name: users_idx_username; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_username ON public.users USING btree (username);


--
-- Name: users_idx_users_default_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_users_default_branch_id ON public.users USING btree (default_branch_id);


--
-- Name: users_idx_users_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_idx_users_store_id ON public.users USING btree (assigned_store_id);


--
-- Name: users_role_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX users_role_id ON public.users USING btree (role_id);


--
-- Name: vendors_idx_vendors_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX vendors_idx_vendors_active ON public.vendors USING btree (is_active);


--
-- Name: vendors_idx_vendors_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX vendors_idx_vendors_store_id ON public.vendors USING btree (primary_store_id);


--
-- Name: void_items_idx_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_items_idx_item_id ON public.void_items USING btree (item_id);


--
-- Name: void_items_idx_source; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_items_idx_source ON public.void_items USING btree (source_type, source_id);


--
-- Name: void_items_idx_void_reason; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_items_idx_void_reason ON public.void_items USING btree (void_reason_id);


--
-- Name: void_items_idx_voided_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_items_idx_voided_at ON public.void_items USING btree (voided_at);


--
-- Name: void_items_idx_voided_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_items_idx_voided_by ON public.void_items USING btree (voided_by);


--
-- Name: void_orders_idx_void_orders_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_orders_idx_void_orders_store_id ON public.void_orders USING btree (store_id);


--
-- Name: void_orders_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_orders_sale_id ON public.void_orders USING btree (sale_id);


--
-- Name: void_orders_void_reason_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_orders_void_reason_id ON public.void_orders USING btree (void_reason_id);


--
-- Name: void_orders_voided_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX void_orders_voided_by ON public.void_orders USING btree (voided_by);


--
-- Name: wastage_branch_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_branch_id ON public.wastage USING btree (branch_id);


--
-- Name: wastage_created_by; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_created_by ON public.wastage USING btree (created_by);


--
-- Name: wastage_items_item_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_items_item_id ON public.wastage_items USING btree (item_id);


--
-- Name: wastage_items_wastage_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_items_wastage_id ON public.wastage_items USING btree (wastage_id);


--
-- Name: wastage_journal_entry_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_journal_entry_id ON public.wastage USING btree (journal_entry_id);


--
-- Name: wastage_store_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_store_id ON public.wastage USING btree (store_id);


--
-- Name: wastage_wastage_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX wastage_wastage_date ON public.wastage USING btree (wastage_date);


--
-- Name: zatca_invoices_invoice_date; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_invoices_invoice_date ON public.zatca_invoices USING btree (invoice_date);


--
-- Name: zatca_invoices_invoice_number; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_invoices_invoice_number ON public.zatca_invoices USING btree (invoice_number);


--
-- Name: zatca_invoices_invoice_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_invoices_invoice_type ON public.zatca_invoices USING btree (invoice_type);


--
-- Name: zatca_invoices_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_invoices_sale_id ON public.zatca_invoices USING btree (sale_id);


--
-- Name: zatca_phase2_api_logs_idx_zatca_p2_api_created; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_api_logs_idx_zatca_p2_api_created ON public.zatca_phase2_api_logs USING btree (created_at);


--
-- Name: zatca_phase2_api_logs_idx_zatca_p2_api_invoice; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_api_logs_idx_zatca_p2_api_invoice ON public.zatca_phase2_api_logs USING btree (zatca_phase2_invoice_id);


--
-- Name: zatca_phase2_api_logs_idx_zatca_p2_api_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_api_logs_idx_zatca_p2_api_status ON public.zatca_phase2_api_logs USING btree (response_status);


--
-- Name: zatca_phase2_certificates_idx_zatca_p2_cert_active; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_certificates_idx_zatca_p2_cert_active ON public.zatca_phase2_certificates USING btree (is_active);


--
-- Name: zatca_phase2_certificates_idx_zatca_p2_cert_env; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_certificates_idx_zatca_p2_cert_env ON public.zatca_phase2_certificates USING btree (environment);


--
-- Name: zatca_phase2_certificates_idx_zatca_p2_cert_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_certificates_idx_zatca_p2_cert_store ON public.zatca_phase2_certificates USING btree (store_id);


--
-- Name: zatca_phase2_device_state_idx_zatca_p2_device_store; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_device_state_idx_zatca_p2_device_store ON public.zatca_phase2_device_state USING btree (store_id);


--
-- Name: zatca_phase2_invoices_idx_zatca_p2_created_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_invoices_idx_zatca_p2_created_at ON public.zatca_phase2_invoices USING btree (created_at);


--
-- Name: zatca_phase2_invoices_idx_zatca_p2_invoice_number; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_invoices_idx_zatca_p2_invoice_number ON public.zatca_phase2_invoices USING btree (invoice_number);


--
-- Name: zatca_phase2_invoices_idx_zatca_p2_next_retry_at; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_invoices_idx_zatca_p2_next_retry_at ON public.zatca_phase2_invoices USING btree (next_retry_at);


--
-- Name: zatca_phase2_invoices_idx_zatca_p2_sale_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_invoices_idx_zatca_p2_sale_id ON public.zatca_phase2_invoices USING btree (sale_id);


--
-- Name: zatca_phase2_invoices_idx_zatca_p2_status; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_invoices_idx_zatca_p2_status ON public.zatca_phase2_invoices USING btree (status);


--
-- Name: zatca_phase2_jobs_idx_zatca_p2_jobs_invoice; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_jobs_idx_zatca_p2_jobs_invoice ON public.zatca_phase2_jobs USING btree (zatca_phase2_invoice_id);


--
-- Name: zatca_phase2_jobs_idx_zatca_p2_jobs_locked; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_jobs_idx_zatca_p2_jobs_locked ON public.zatca_phase2_jobs USING btree (locked_at);


--
-- Name: zatca_phase2_jobs_idx_zatca_p2_jobs_status_run; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_jobs_idx_zatca_p2_jobs_status_run ON public.zatca_phase2_jobs USING btree (status, run_after);


--
-- Name: zatca_phase2_status_history_idx_zatca_p2_hist_created; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_status_history_idx_zatca_p2_hist_created ON public.zatca_phase2_status_history USING btree (created_at);


--
-- Name: zatca_phase2_status_history_idx_zatca_p2_hist_invoice; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX zatca_phase2_status_history_idx_zatca_p2_hist_invoice ON public.zatca_phase2_status_history USING btree (zatca_phase2_invoice_id);


--
-- Name: item_barcodes fk_item_barcodes_item; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_barcodes
    ADD CONSTRAINT fk_item_barcodes_item FOREIGN KEY (item_id) REFERENCES public.items(id) ON DELETE CASCADE;


--
-- Name: item_line_discounts fk_item_line_discounts_item; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_line_discounts
    ADD CONSTRAINT fk_item_line_discounts_item FOREIGN KEY (item_id) REFERENCES public.items(id) ON UPDATE CASCADE ON DELETE CASCADE;


--
-- Name: item_serial_transactions fk_serial_trans_serial; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.item_serial_transactions
    ADD CONSTRAINT fk_serial_trans_serial FOREIGN KEY (serial_id) REFERENCES public.item_serials(id) ON DELETE CASCADE;


--
-- Name: inventory_lots inventory_lots_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_lots
    ADD CONSTRAINT inventory_lots_item_id_fkey FOREIGN KEY (item_id) REFERENCES public.items(id) ON DELETE RESTRICT;


--
-- Name: inventory_lots inventory_lots_purchase_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_lots
    ADD CONSTRAINT inventory_lots_purchase_id_fkey FOREIGN KEY (purchase_id) REFERENCES public.purchases(id) ON DELETE SET NULL;


--
-- Name: inventory_lots inventory_lots_purchase_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_lots
    ADD CONSTRAINT inventory_lots_purchase_item_id_fkey FOREIGN KEY (purchase_item_id) REFERENCES public.purchase_items(id) ON DELETE SET NULL;


--
-- Name: inventory_lots inventory_lots_store_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_lots
    ADD CONSTRAINT inventory_lots_store_id_fkey FOREIGN KEY (store_id) REFERENCES public.stores(id) ON DELETE SET NULL;


--
-- Name: inventory_movements inventory_movements_lot_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inventory_movements
    ADD CONSTRAINT inventory_movements_lot_id_fkey FOREIGN KEY (lot_id) REFERENCES public.inventory_lots(id) ON DELETE SET NULL;


--
-- Name: sync_dead_letter sync_dead_letter_job_table_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_dead_letter
    ADD CONSTRAINT sync_dead_letter_job_table_id_fkey FOREIGN KEY (job_table_id) REFERENCES public.sync_job_tables(id) ON DELETE SET NULL;


--
-- Name: sync_job_tables sync_job_tables_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sync_job_tables
    ADD CONSTRAINT sync_job_tables_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.sync_jobs(id) ON DELETE CASCADE;


--
--

\unrestrict A8HFrwa2JNdMUddjos6f4aGMibDu1rjChxPbIKPPvj10wlW5ML5qqgQd9OWjLxn

