init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package constants
|
||||
|
||||
// Outlet printer setting keys
|
||||
const (
|
||||
PRINTER_OUTLET_NAME = "printer_outlet_name"
|
||||
PRINTER_ADDRESS = "printer_address"
|
||||
PRINTER_PHONE_NUMBER = "printer_phone_number"
|
||||
PRINTER_PAPER_SIZE = "printer_paper_size"
|
||||
PRINTER_FOOTER = "printer_footer"
|
||||
PRINTER_FOOTER_HASHTAG = "printer_footer_hashtag"
|
||||
)
|
||||
|
||||
// Default printer settings
|
||||
const (
|
||||
DEFAULT_PAPER_SIZE = "80mm"
|
||||
DEFAULT_FOOTER = "Thank you for your purchase!"
|
||||
DEFAULT_FOOTER_HASHTAG = "#ThankYou"
|
||||
)
|
||||
|
||||
// Valid paper sizes
|
||||
var ValidPaperSizes = []string{
|
||||
"58mm",
|
||||
"80mm",
|
||||
"A4",
|
||||
"A5",
|
||||
"Letter",
|
||||
}
|
||||
Reference in New Issue
Block a user