-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.cs
117 lines (103 loc) · 4.9 KB
/
Constants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace prjGrow
{
public class Constants : Pos
{
// public const string client_name = "Malik Steel Works";
public const string bottom_label_general = "Shortcut Keys=> Save: Alt + S, Update: Alt + U, Clear: Alt + R, Close: Alt + C";
public Color color = Color.FromArgb(1,138, 43, 226);
public static bool multiple_forms = true; //true to enable multiple forms
public const short module_product = 1;
// public const short module_bank = 2;
// public const short module_suplier = 3;
// public const short module_customer = 4;
// public const short module_employee = 5;
public const short module_purchase = 6;
public const short module_sale = 7;
public const short module_damage = 8;
// public const short module_stock = 9;
// public const short module_suplier_ledger = 10;
// public const short module_client_ledger = 11;
// public const short module_employee_ledger = 12;
// public const short module_bank_transaction = 13;
public const short status_deleted = 0;
public const short status_active = 1;
public const short status_disabled = 2;
public const short acc_assets = 1;
public const short acc_libality = 2;
public const short acc_capital = 3;
public const short acc_income = 4;
public const short acc_expense = 5;
public const short message_info = 1;
public const short message_error = 2;
public const short message_success = 3;
public const short message_warning = 4;
public const short interval_message = 3000;
//-------Account Configration-------------------
public const short config_none = 0;
public const short config_cash = 1;
public const short config_sale = 3;
public const short config_discount = 4;
public const short config_bank = 5;
public const short config_expense = 6;
public const short config_income = 7;
public const short config_customer = 8;
public const short config_suplier = 9;
public const short config_purchase = 10;
public const short config_capital = 11;
public const short config_employee = 12;
public const short config_order = 13;
public const short config_pur_discount = 14;
public const short config_fixed_assets = 15;
public const short config_goods_damage = 16;
public const short config_comp = 17;
public const short opening_balances = 18;
public const short config_cheq_payment = 19;
public const short config_cheq_recive = 20;
public const short config_adv_order = 21;
public const short config_frieght = 22;
public const short config_salery = 23;
//-----------------------------------------------
//--------- BBro clients ----------------
public const short CLT_MALIK_STEEL = 1;
public const short CLT_ALKARIM = 2;
public const short CLT_DUBAI_COMMNICATION = 3;
public const short CLT_SAUGHAT_RESTURANT = 4;
public const short CLT_BRUSHAL_PRINTERS = 5;
public const short CLT_SAFE_RIDERS = 6;
public const short CLT_HUNZA_FOOD_PROCESSING = 7;
public const short CLT_CYBER_BRO = 8;
public const short CLT_HUNZA_GARDEN = 9;
//----------------------------------------
public const string operation_save = "&Save";
public const string operation_update = "&Update";
public const string operation_edit = "Edit";
public const string operation_delete = "Del";
public const short cate_stock = 1;
public const short cate_raw = 2;
public const short cate_gadget = 3;
public const short cate_mobile = 4;
public const short cate_cake = 5;
public const short cate_partial = 6;
public const short cate_service = 7;
public const short term_shop = 1;
public const short term_store = 2;
public const short term_order_queue = 3;
public const short term_factory = 4;
public const short cheq_pymnt = 1;
public const short cheq_recive = 2;
public const short cheq_status_pending = 1;
public const short cheq_status_processed = 2;
public const short auth_dev = 1;
public const short auth_admin = 2;
public const short auth_guest = 3;
public const string btn_review = "Review", btn_return = "Return", btn_add = "Add", btn_sub = "Sub", btn_del = "Delete", btn_edit = "Edit";
public const string btn_cnc = "Ca&ncel", btn_save = "&Save";
public const short order_new = 1, order_factory = 2, order_ready = 3, order_display = 4, order_recieved = 8, order_delivered = 9;
public const string code_bag_sm = "100001", code_bag_lg = "100002";
}
}