We use python programming language. Here is a quick tutorial. We use Django a python module for webdevelopment.
The flood cess in Kerala is calculated on the value of the supply(CGST and SGST are not included in the value of supply).
eg:
- The value of the goods supplied is Rs. 1000.
- The GST rate is 12%. CGST is Rs. 60 and SGST is Rs. 60.
- The flood CESS is 1% and will have a value of Rs. 10.
- The total of your invoice will be Rs. 1130 only.
MRP = 1130
value = 1130*100/(12+1+100)
Here is the live example:
billings/views/billentry.py
line 165: amount_excl_tax = (amount * 100) / (item.gst_rate+cess_rate + 100)
https://forum.ionicframework.com/t/printing-on-bluetooth-printers/17886/23
TXT_BOLD_OFF: '\x1b\x45\x00', // Bold font OFF
TXT_BOLD_ON: '\x1b\x45\x01', // Bold font ON
TXT_FONT_A: '\x1b\x4d\x00', // Font type A //normal font
TXT_FONT_B: '\x1b\x4d\x01', // Font type B //small font
TXT_FONT_C: '\x1b\x4d\x02', // Font type C //normal font
TXT_NORMAL: '\x1b\x21\x00', // Normal text
TXT_2HEIGHT: '\x1b\x21\x10', // Double height text
TXT_2WIDTH: '\x1b\x21\x20', // Double width text
TXT_4SQUARE: '\x1b\x21\x30', // Double width & height text
TXT_UNDERL_OFF: '\x1b\x2d\x00', // Underline font OFF
TXT_UNDERL_ON: '\x1b\x2d\x01', // Underline font 1-dot ON
TXT_UNDERL2_ON: '\x1b\x2d\x02', // Underline font 2-dot ON
TXT_ITALIC_OFF: '\x1b\x35', // Italic font ON
TXT_ITALIC_ON: '\x1b\x34', // Italic font ON
TXT_FONT_A: '\x1b\x4d\x00', // Font type A //normal font
TXT_FONT_B: '\x1b\x4d\x01', // Font type B //small font
TXT_FONT_C: '\x1b\x4d\x02', // Font type C //normal font
Closing Balance(Stock)= opening balance + purchase - sales - stock adjustment
Closing Balance(Financial)= closing balance(stock) * purchase rate
Difference(Financial)= opening balance + purchase - sales - closing balance