Skip to content

Commit

Permalink
fix: change print format for table order
Browse files Browse the repository at this point in the history
  • Loading branch information
anhilmy committed Jul 3, 2024
1 parent 56dbc84 commit 12a574b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"doctype": "Print Format",
"font": "Default",
"font_size": 0,
"html": "{% set list = print_list_order(doc.name) %}\n<h1 class=\"text-center\">\n\tORDER: {{list.name}}<br />\n\tTABLE: {{list.table}}<br/>\n</h1>\n<hr class=\"top-divider\">\n\n<div class=\"title\">\n<h1>PESANAN</h1>\n</div>\n<table class=\"table table-condensed cart no-border\">\n\t<tbody>\n\t\t{% for item in list[\"items\"] %}\n\t\t<tr>\n\t\t <td ></td>\n\t\t <td width=\"10%\"><h1><input type=\"checkbox\" \\></h1></td>\n\t\t\t<td width=\"10%\"><h1>{{ item.quantity }}</h1></td>\n\t\t\t<td width=\"70%\"><h1>{{ item.item_name }}</h1></td>\n\t\t</tr>\n\t\t{% endfor %}\n\t</tbody>\n</table>\n",
"html": "{% set list = print_list_order(doc.name) %}\n<p class=\"text-center\">\n\tORDER: {{list.name}}<br />\n\tTABLE: {{list.table}}<br/>\n</p>\n<hr class=\"top-divider\">\n\n<div class=\"title\">\n<h3>PESANAN</h3>\n</div>\n<table class=\"table table-condensed cart no-border\">\n\t<tbody>\n\t\t{% for item in list[\"items\"] %}\n\t\t<tr>\n\t\t <td ></td>\n\t\t <td width=\"10%\"><input type=\"checkbox\" \\></td>\n\t\t\t<td width=\"10%\">{{ item.quantity }}</td>\n\t\t\t<td width=\"70%\">{{ item.item_name }}</td>\n\t\t</tr>\n\t\t{% endfor %}\n\t</tbody>\n</table>\n",
"idx": 0,
"line_breaks": 0,
"margin_bottom": 0.0,
"margin_left": 0.0,
"margin_right": 0.0,
"margin_top": 0.0,
"modified": "2024-05-21 15:17:34.808622",
"modified": "2024-07-03 10:38:01.155971",
"modified_by": "Administrator",
"module": "Inn Hotels",
"name": "POS Extended Captain Order",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"margin_left": 0.0,
"margin_right": 0.0,
"margin_top": 0.0,
"modified": "2024-05-21 15:17:29.330684",
"modified": "2024-07-03 10:38:41.607982",
"modified_by": "Administrator",
"module": "Inn Hotels",
"name": "POS Extended Table Order",
Expand Down

0 comments on commit 12a574b

Please sign in to comment.