app/views/extface/devices/show.html.erb in extface-0.1.7 vs app/views/extface/devices/show.html.erb in extface-0.1.8

- old
+ new

@@ -67,9 +67,16 @@ <hr /> <% if @device.print? %> <%= button_to 'Print Test Page', test_page_device_path(@device), remote: true, name: :test_page, value: true, class: 'btn btn-warning' %> <% end %> +<% if @device.fiscal? %> + <%= button_to 'Non Fiscal Test', fiscal_device_path(@device), remote: true, name: :non_fiscal_test, value: true, class: 'btn btn-warning' %> + <%= button_to 'Fiscal Test', fiscal_device_path(@device), remote: true, name: :fiscal_test, value: true, class: 'btn btn-warning' %> + <%= button_to 'X Report', fiscal_device_path(@device), remote: true, name: :x_report, value: true, class: 'btn btn-warning' %> + <%= button_to 'Z Report', fiscal_device_path(@device), remote: true, name: :z_report, value: true, class: 'btn btn-warning' %> + <%= button_to 'Cancel Fiscal Doc', fiscal_device_path(@device), remote: true, name: :cancel_fiscal_doc, value: true, class: 'btn btn-warning' %> +<% end %> <br />Simulate push data from device <div class="input-group"> <input type="text" id='data' class="form-control">