receipt_rejections_reasons
A data validator can reject a contributed data, in such cases they choose the reasons because of which they are rejecting the receipt.
Model
This table contains a pre-defined list of receipt rejection reasons that show up for an admin/data-validator to select when rejecting a receipt. This list contains the definitions and active/inactive state for all the reasons.
id
int4
NO
short_description
varchar
NO
long_description
varchar
NO
created_at
timestamp
updated_at
timestamp
is_active
bool
NO
Description of fields
id
This is the primary key that is used in the sales_receipt table and the frontend API.
short_description
This is the short description of the reason e.g डुप्लीकेट रसीद एंट्री
long_description
This is the long description of the reason e.g इस मंडी और फसल के लिए एक ही बुकलेट नंबर और रसीद नंबर वाली रसीद पहले से मौजूद है।
created_at
Timestamp at which the reason is created
updated_at
Timestamp at which the reason is updated
is_active
This is boolean and true means that the reason description will be visible, and false means that the reason will not be visible.
How do we make sense of this table?
Where is the short description used?
Short description is shown to the admin for selecting a reason to reject a receipt. They are well trained in validating a receipt and can quickly select the reasons with the help of short description.
Where is the long description used?
Long Description is shown to the frontend user in the Bolbhav app. The users are not trained/aware on how receipts are validated and hence it was decided to show them long description about the reasons because of which their receipt is failed.
Rejection IDs Table:
कोई और फसल की तस्वीर
1
पुरानी तारीख की पर्ची
2
मंडी का नाम नहीं दिख रहा
3
अनुबंध क्रमांक नहीं दिख रहा
4
बुकलेट नंबर नहीं दिख रहा
5
पर्ची की तस्वीर कटी हुई
6
पृष्ठभूमि में कोई फसल नहीं
7
पृष्ठभूमि में कम अनाज
8
हाथ-पैर के अलावा अंग दिखाई दे रहे
9
तस्वीर की ग़लत दिशा
10
धुंधली और अस्पष्ट तस्वीर
11
तस्वीर हिली हुई तस्वीर हिली हुई है।
12
तस्वीर ऊपर से नहीं
13
पर्ची में दो भाव
14
पर्ची के अलावा कोई और तस्वीर
15
व्यापारी द्वारा जारी पर्ची
16
डुप्लीकेट रसीद एंट्री
17
पर्ची में भाव बहुत कम
18
तारीख़ नहीं दिख रही है
19
फसल का नाम नहीं दिख रहा
20
Last updated