forked from Third-Culture-Software/bhima
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(patients): add POS patient receipt
This commit adds a template for a thermal printer POS receipt. This receipt still cannot be selected directly from the application, but it renders a nicely formatted page for the thermal printer to print. Closes Third-Culture-Software#22.
- Loading branch information
Showing
8 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<head> | ||
<meta charset="utf-8" /> | ||
</head> | ||
<body> | ||
<p><b style="text-transform : uppercase">{{translate 'HOME.BHIMA'}} - {{translate 'TREE.PATIENT_REGISTRATION'}}</b></p> | ||
<p>----------------------------------------------------------------</p> | ||
<p><b>{{patient.display_name}}</b></p> | ||
<p><u>{{translate "FORM.LABELS.DOB"}}</u>: {{date patient.dob }}</p> | ||
<p><u>{{translate "TABLE.COLUMNS.REGISTERED_ON"}}</u>: {{date patient.registration_date }}</p> | ||
<p><u>{{translate "FORM.LABELS.DEBTOR_GROUP"}}</u>: {{ patient.debtor_group_name }}</p> | ||
<p>----------------------------------------------------------------</p> | ||
|
||
<p style="text-align:center"> | ||
{{>barcode value=patient.reference }} | ||
{{ patient.reference }} | ||
</p> | ||
|
||
<script>JsBarcode('.barcode').init();</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
'use strict'; | ||
|
||
exports.generate = generate; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters