From 94341e83ed58d9774cf653cea6cbc98f5b64e74f Mon Sep 17 00:00:00 2001 From: BENKE Charlie <charles.fr@benke.fr> Date: Tue, 16 Jun 2015 15:22:13 +0200 Subject: [PATCH] added ref supplier bill more useful to match supplier bill than internal ref --- htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php b/htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php index 81f259d67c6..500e3ed50f3 100644 --- a/htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php +++ b/htdocs/fourn/facture/tpl/linkedobjectblock.tpl.php @@ -1,6 +1,7 @@ <?php /* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2014 Marcos GarcĂa <marcosgdf@gmail.com> + * Copyright (C) 2015 Charlie Benke <charlie@patas-monkey.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,6 +36,7 @@ print_titre($langs->trans("RelatedSupplierInvoices")); <table class="noborder allwidth"> <tr class="liste_titre"> <td><?php echo $langs->trans("Ref"); ?></td> + <td align="left"><?php echo $langs->trans("RefSupplier"); ?></td> <td align="center"><?php echo $langs->trans("Date"); ?></td> <td align="right"><?php echo $langs->trans("AmountHTShort"); ?></td> <td align="right"><?php echo $langs->trans("Status"); ?></td> @@ -46,8 +48,9 @@ foreach($linkedObjectBlock as $object) { $var=!$var; ?> -<tr <?php echo $bc[$var]; ?> ><td> - <a href="<?php echo DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$object->id ?>"><?php echo img_object($langs->trans("ShowBill"),"bill").' '.$object->ref; ?></a></td> +<tr <?php echo $bc[$var]; ?> > + <td></td><a href="<?php echo DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$object->id ?>"><?php echo img_object($langs->trans("ShowBill"),"bill").' '.$object->ref; ?></a></td> + <td align="left"><?php echo $object->ref_supplier; ?></td> <td align="center"><?php echo dol_print_date($object->date,'day'); ?></td> <td align="right"><?php if ($user->rights->fournisseur->facture->lire) { -- GitLab