|
@@ -488,12 +488,14 @@ openerp.pagare_decorart = function (instance, local) {
|
|
pdfDoc.text(12,150,'Referencias Comerciales:');
|
|
pdfDoc.text(12,150,'Referencias Comerciales:');
|
|
|
|
|
|
i=0;
|
|
i=0;
|
|
|
|
+ f=0;
|
|
_.each(AccountInvoice[0].partner_id[0].ref_comercial_ids,function(item){
|
|
_.each(AccountInvoice[0].partner_id[0].ref_comercial_ids,function(item){
|
|
pdfDoc.setFontSize(8);
|
|
pdfDoc.setFontSize(8);
|
|
pdfDoc.setFontStyle('normal');
|
|
pdfDoc.setFontStyle('normal');
|
|
- pdfDoc.text(50+i,75, '' + item.name);
|
|
|
|
- pdfDoc.text(80+i,75, '' + item.phone);
|
|
|
|
- i=60;
|
|
|
|
|
|
+ pdfDoc.text(50+i,155+f, '' + item.name);
|
|
|
|
+ pdfDoc.text(100+i,155+f, '' + item.phone);
|
|
|
|
+ i=150;
|
|
|
|
+ f=5;
|
|
});
|
|
});
|
|
|
|
|
|
pdfDoc.setFontSize(8);
|
|
pdfDoc.setFontSize(8);
|
|
@@ -501,12 +503,14 @@ openerp.pagare_decorart = function (instance, local) {
|
|
pdfDoc.text(12,180,'Referencias Personales:');
|
|
pdfDoc.text(12,180,'Referencias Personales:');
|
|
|
|
|
|
i=0;
|
|
i=0;
|
|
|
|
+ f=0;
|
|
_.each(AccountInvoice[0].partner_id[0].ref_personal_ids,function(item){
|
|
_.each(AccountInvoice[0].partner_id[0].ref_personal_ids,function(item){
|
|
pdfDoc.setFontSize(8);
|
|
pdfDoc.setFontSize(8);
|
|
pdfDoc.setFontStyle('normal');
|
|
pdfDoc.setFontStyle('normal');
|
|
- pdfDoc.text(50+i,75, '' + item.name);
|
|
|
|
- pdfDoc.text(80+i,75, '' + item.phone);
|
|
|
|
- i=60;
|
|
|
|
|
|
+ pdfDoc.text(50+i,185+f, '' + item.name);
|
|
|
|
+ pdfDoc.text(100+i,185+f, '' + item.phone);
|
|
|
|
+ i=150;
|
|
|
|
+ f=5;
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|