%inherit file="../base/base.html" />
<%namespace file="../base/base.html" import="header, setup_margin_labels" />
<%block name="title_head">
${ header(complete_header, title, subtitle, notes) }
${ _("Code") } |
${ _("Category") } |
${ _("Item") } |
${ _("Quantity") } |
${ _("Price") } |
${ _("Total") } |
% for item in loan.get_items():
${ item.sellable.code } |
${ item.sellable.get_category_description() } |
${ item.sellable.get_description() } |
${ format_quantity(item.quantity) } |
${ format_price(item.price) } |
${ format_price(item.get_total()) } |
% endfor
${ _("Total: %s") % format_price(loan.get_total_amount()) }
|
${ loan.client.person.name }
% if loan.client.person.individual:
% if loan.client.person.individual.rg_number:
RG: ${ loan.client.person.individual.rg_number }
% endif
% if loan.client.person.individual.cpf:
CPF: ${ loan.client.person.individual.cpf }
% endif
% elif loan.client.person.company:
% if loan.client.person.company.cnpj:
CNPJ: ${ loan.client.person.company.cnpj }
% endif
% endif
% if print_promissory_note: