Improve pdf

This commit is contained in:
Martin Lensment 2015-04-22 13:30:21 +03:00
parent fc9b8f6ef4
commit 962c42e5cb

View file

@ -131,10 +131,6 @@
h1 { h1 {
margin-bottom: 5px; margin-bottom: 5px;
} }
/%style{type:"text/css"}
/ = Rails.application.assets.find_asset('shared/pdf').to_s
/ = stylesheet_link_tag 'shared/pdf', media: 'all'
/ = stylesheet_link_tag 'shared/pdf', media: 'all'
%body %body
.container .container
#header.row #header.row
@ -207,15 +203,9 @@
%dt= t('email') %dt= t('email')
%dd= @invoice.buyer_email %dd= @invoice.buyer_email
/ = render 'registrar/invoices/partials/details'
/ .col-md-6= render 'registrar/invoices/partials/buyer'
.clear .clear
.row.pull-down .row.pull-down
.col-md-12 .col-md-12
%h4= t('items')
%hr
.table-responsive .table-responsive
%table.table.table-hover.table-condensed %table.table.table-hover.table-condensed
%thead %thead
@ -247,7 +237,6 @@
%th= t('total') %th= t('total')
%td= "#{@invoice.sum} #{@invoice.currency}" %td= "#{@invoice.sum} #{@invoice.currency}"
#footer #footer
%hr %hr
.row .row