1 | <?php |
||
2 | |||
3 | // Member Status |
||
4 | class constStatus { |
||
5 | const InActive = 0; |
||
6 | const Active = 1; |
||
7 | const Archive = 2; |
||
8 | } |
||
9 | |||
10 | // Enquiry Status |
||
11 | class constEnquiryStatus { |
||
12 | const Lost = 0; |
||
13 | const Lead = 1; |
||
14 | const Member = 2; |
||
15 | } |
||
16 | |||
17 | //Follow Up Status |
||
18 | class constFollowUpStatus { |
||
19 | const Pending = 0; |
||
20 | const Done = 1; |
||
21 | } |
||
22 | |||
23 | //Follow Up By |
||
24 | class constFollowUpBy { |
||
25 | const Call = 0; |
||
26 | const SMS = 1; |
||
27 | const Personal = 2; |
||
28 | } |
||
29 | |||
30 | // File PATHS |
||
31 | class constPaths { |
||
32 | const UserProfilePhoto = '/assets/img/profile'; |
||
33 | const UserProofPhoto = '/assets/img/proof'; |
||
34 | const StaffPhoto = '/assets/img/staff'; |
||
35 | const GymLogo = '/assets/img/gym'; |
||
36 | } |
||
37 | |||
38 | class constFilePrefix { |
||
39 | const UserProfilePhoto = 'profile_'; |
||
40 | const UserProofPhoto = 'proof_'; |
||
41 | const StaffPhoto = 'staff_'; |
||
42 | } |
||
43 | |||
44 | // Payment status |
||
45 | class constPaymentStatus { |
||
46 | const Unpaid = 0; |
||
47 | const Paid = 1; |
||
48 | const Partial = 2; |
||
49 | const Overpaid = 3; |
||
50 | } |
||
51 | |||
52 | // Cheque status |
||
53 | class constChequeStatus { |
||
54 | const Recieved = 0; |
||
55 | const Deposited = 1; |
||
56 | const Cleared = 2; |
||
57 | const Bounced = 3; |
||
58 | const Reissued = 4; |
||
59 | } |
||
60 | |||
61 | // Invoice Items |
||
62 | class constInvoiceItem { |
||
63 | const admission = "Admission"; |
||
64 | const gymSubscription = "Gym Subscription"; |
||
65 | const taxes = "Taxes"; |
||
66 | } |
||
67 | |||
68 | //subscription |
||
69 | class constSubscription { |
||
70 | const Expired = 0; |
||
71 | const onGoing = 1; |
||
72 | const renewed = 2; |
||
73 | const cancelled = 3; |
||
74 | } |
||
75 | |||
76 | //numbering mode |
||
77 | class constNumberingMode { |
||
78 | const Manual = 0; |
||
79 | const Auto = 1; |
||
80 | } |
||
81 | |||
82 | //Payment mode |
||
83 | class constPaymentMode { |
||
84 | const Cheque = 0; |
||
85 | const Cash = 1; |
||
86 | } |
||
87 | |||
88 | ?> |
||
0 ignored issues
–
show
|
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.