change show to print method in req bills controller

This commit is contained in:
Yan
2017-06-06 17:01:15 +06:30
parent c482318b1a
commit fbf312f71c
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
class Origami::RequestBillsController < BaseOrigamiController
def show
def print
@sale = Sale.new
booking_id = params[:id]

View File

@@ -19,7 +19,7 @@ class ReceiptBillPdf < Prawn::Document
#setting page margin and width
super(:margin => [self.margin, self.margin, self.margin, self.margin], :page_size => [self.p_width, self.page_height])
self.header_font_size = 10
self.item_font_size = 6
self.item_font_size = 9
header( printer_settings.printer_name, printer_settings.name)
stroke_horizontal_rule