X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fcoup_de_pouce_velo.git;a=blobdiff_plain;f=report%2Fpos_receipt_coup_de_pouce_velo.rml;fp=report%2Fpos_receipt_coup_de_pouce_velo.rml;h=5dc1792ed0d8124b7a0e56b558a09beda19dc0b5;hp=0000000000000000000000000000000000000000;hb=c14f1be0bd82e06a986e9a00d932bc3da3304857;hpb=545b81717077f4531192a30409c8fc8300347724 diff --git a/report/pos_receipt_coup_de_pouce_velo.rml b/report/pos_receipt_coup_de_pouce_velo.rml new file mode 100644 index 0000000..5dc1792 --- /dev/null +++ b/report/pos_receipt_coup_de_pouce_velo.rml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ repeatIn(objects,'o') ]] + Entretien vélo dans le cadre du"Coup de pouce Vélo - Réparation" + + + + [[o.user_id.company_id.name]] + [[ address and display_address(address)]] + Tél : [[ address and address.phone ]] + SIRET : [[o.user_id.company_id.siret]] + Atelier : [[ o.shop_id.name ]] + Date : [[ o.date_order ]] + + + + Bénéficiaire + [[ o.partner_id.name ]] + Portable: [[ o.partner_id.mobile ]] + + + + + + + + + + [[ o.name ]] + + + + Description + + + Qté + + + Prix + + + + + [[ repeatIn(o.lines,'line') ]] + [[ line.product_id.name ]] + + With a [[ line and line.discount == 0.0 and removeParentNode('font') ]] ([[ '%.2f' % line.discount ]]) % discount. + + + + + + + [[o.state=='cancel' and o.statement_ids and '-' or '']][['%.f' % line.qty ]] + + + [[o.state=='cancel' and o.statement_ids and '-' or '']][[ formatLang(net(line.id), currency_obj=company.currency_id) ]] [[ line and line.discount == 0.0 and removeParentNode('font') ]] ([[ formatLang(line.discount, currency_obj=company.currency_id) ]]) + + + + + + + Taxes : + + + [[o.state=='cancel' and o.statement_ids and '-' or '']][[formatLang(o.amount_tax, currency_obj=company.currency_id)]] + + + + + + + Total : + + + [[o.state=='cancel' and o.statement_ids and '-' or '']][[formatLang(o.amount_total, currency_obj=company.currency_id)]] + + + + + + + Moyen(s) de paiement + + + + + + + + Montant + + + + + [[ repeatIn(get_journal_amt(o),'d') ]] + [[ d['name'] ]] + + + + + + + + [[ formatLang(d['amt'] or 0, currency_obj=company.currency_id) ]] + + + + +