{# ***Begin Custom Options*** Set any of the options in this section from 'false' to 'true' in order to enable them in the template #} {% set chrome_right_margin_fix = false %} {# Fixes a potential issue where the right side of receipts are cut off in Chrome #} {% set firefox_margin_fix = false %} {# Fixes issue with margins cutting off when printing on a letter printer on a Mac #} {% set itemized_hours_labor = false %} {# Shows time spent on Labor item if time spent is present in the charge #} {% set per_line_subtotal = false %} {# Displays Subtotals for each Sale Line (ex. 1 x $5.00) #} {% set employee_name_on_labor_charges = false %} {# Display Employee name on Labor Charges #} {% set make_work_order_number_small = false %} {# Makes work order number inline with the header #} {% set remove_logo = false %} {# Removes logo from receipt #} {% set tag_header_information = false %} {# Shows shop header information on Tags #} {% set notes_on_tag_only = false %} {# Displays notes on tags only (these will still show up in the Sales screen when ringing out the Work Order) #} {% set hide_work_order_item = false %} {# Removes the Start and end date from receipts #} {% set hide_status = false %} {# Removes the Status receipts #} {% set hide_warranty = false %} {# Removes warranty line from receipts #} {% set hide_start_and_date = false %} {# Removes the Start and end date from receipts #} {% set hide_employee = false %} {# Removes the the employee from the Work order header #} {% set hide_Work_Order_Agreement = false %} {# Removes the the employee from the Work order header #} {% set hide_barcode = false %} {# Removes barcode from bottom of receipts #} {% set hide_barcode_sku = false %} {# Remove the System ID from displaying at the bottom of barcdoes #} {% set logo_width = '225px' %} {# Default width is 225px. A smaller number will scale logo down #} {% set multi_shop_logos = false %} {# Allows multiple logos to be added for separate locations when used with options below #} {% set minimal_mode = false %} {# Use the following shop_logo_array to enter all of your locations and the link to the logo image that you have uploaded to the internet. Enter your EXACT shop name (Case Sensitive!) in the Quotes after the "name": entry and then enter the URL to your logo after the "logo": entry. Be sure to set the multi_shop_logos setting above to true in order to have these logos take effect! #} {% set shop_logo_array = { 0:{"name":"Example Shop", "logo_url":"http://logo.url.goes/here.jpg"}, 1:{"name":"", "logo_url":""}, 2:{"name":"", "logo_url":""}, 3:{"name":"", "logo_url":""}, 4:{"name":"", "logo_url":""}, 5:{"name":"", "logo_url":""} } %} {# ***End Custom Options*** #} {% extends parameters.print ? "printbase" : "base" %} {% block extrastyles %} @page { margin: 0px; } body { font: normal 10pt 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0; {% if chrome_right_margin_fix == true %} margin-right: .13in; {% endif %} {% if firefox_margin_fix == true %} margin: 25px; {% endif %} padding: 1px; } .workorder { margin: 0px; font: normal 10pt 'Helvetica Neue',Helvetica,Arial,sans-serif; } .header { text-align: center; {% if minimal_mode == false %} margin-bottom: 30px; {% else %} margin-bottom: 10px; {% endif %} } .header p { margin: 0; } .header h1 { text-align: center; font-size: 12pt; margin-bottom: 0; } .header h3 { font-size: 10pt; margin: 0; } .header h1 strong { border: 3px solid black; font-size: 24pt; padding: 10px; } .header img { display: block; margin: 8px auto 4px; } .detail { margin-bottom: 1em; } .detail h2, .detail h3 { margin: 0px 0px 10px 0px; padding: 0px; {% if minimal_mode == false %} font-size: 11pt; {% else %} font-size: 10pt; {% endif %} } .detail p { margin: 0; } .workOrderItem { font-size: 15px; font-weight: bold; } table { width: 100%; border-collapse:collapse; text-align: right; } table th { border-bottom: 1px solid #000; } table th.specialorder { padding-top: 10px; text-align: left; } table th.description { text-align: left; } table td.description { font-weight: bold; text-align: left; width: 100%; } table td.item_fee_line_name { text-align: left; padding-left: 10px; } table .description small { font-weight: normal; } table td.quantity, table th.quantity { text-align: center; white-space: nowrap; } table td.amount { padding-left: 10px; } table div.line_description { text-align: left; font-weight: bold; } table div.line_note { text-align: left; font-weight: normal; } table.totals td { margin: 0; width: 100%; } table.totals { text-align: right; border-top: 1px solid #000; } table.totals tr.total td { font-weight: bold; } .notes { overflow: hidden; margin: 0 0 1em; } .notes h3 { {% if minimal_mode == true %} font-size: 10pt; {% endif %} } .workorderAgree { margin-bottom: 40px; {% if minimal_mode == true %} font-size: 9pt; {% endif %} } img.barcode { display: block; {% if minimal_mode == false %} margin: 2em auto; {% else %} margin: 0px auto; {% endif %} } {% endblock extrastyles %} {% block content %} {% for Workorder in Workorders %}
{{ Workorder.Shop.Contact.Addresses.ContactAddress.address1 }}
{{ Workorder.Shop.Contact.Addresses.ContactAddress.address2 }}
{{ Workorder.Shop.Contact.Addresses.ContactAddress.city }}, {{ Workorder.Shop.Contact.Addresses.ContactAddress.state }} {{ Workorder.Shop.Contact.Addresses.ContactAddress.zip }}
{{ Workorder.Shop.Contact.Phones.ContactPhone.number }}
{% endif %} {% endif %} {% if minimal_mode == true %}{{ Workorder.Customer.firstName}} {{ Workorder.Customer.lastName}}
{{ Workorder.Customer.Contact.Addresses.ContactAddress.address1 }}
{{ Workorder.Customer.Contact.Addresses.ContactAddress.address2 }}
{{ Workorder.Customer.Contact.Addresses.ContactAddress.city }}{% if Workorder.Customer.Contact.Addresses.ContactAddress.city and (Workorder.Customer.Contact.Addresses.ContactAddress.state or Workorder.Customer.Contact.Addresses.ContactAddress.zip) %},{% endif %} {{ Workorder.Customer.Contact.Addresses.ContactAddress.state }} {{ Workorder.Customer.Contact.Addresses.ContactAddress.zip }}
{{ Workorder.Customer.company }} {% for ContactPhone in Workorder.Customer.Contact.Phones.ContactPhone %}
{{ ContactPhone.number }} ({{ ContactPhone.useType }})
{% endfor %} {% for ContactEmail in Workorder.Customer.Contact.Emails.ContactEmail %}{{ ContactEmail.address }}
{% endfor %} {% for serializedID in Workorder.Serialized %} {% if hide_work_order_item == false %}Position/Tätigkeit | # | Preis |
---|---|---|
Sonderbestellungen |
Arbeit | {{Workorder.MetaData.labor|money}} |
Teile | {{Workorder.MetaData.parts|money}} |
Rabatte | {{Workorder.MetaData.discount|getinverse|money}} |
Summe Gebührenbetrag | {{Workorder.MetaData.itemFeesSubtotal|money}} |
Steuern | {{Workorder.MetaData.tax|money}} |
Gesamtsumme | {{Workorder.MetaData.total|money}} |
{{ Workorder.Shop.ReceiptSetup.workorderAgree|noteformat|raw }}
X_______________________________{{"now"|correcttimezone|date('m/d/Y h:i:s A')}}
{% endmacro %} {% macro line(Line,parameters,options) %}