Fix: missing colspan if view line number is active
This commit is contained in:
parent
b862b37731
commit
5de859d14b
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
/* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2010-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<input type="hidden" name="type" value="<?php echo $line->product_type; ?>">
|
<input type="hidden" name="type" value="<?php echo $line->product_type; ?>">
|
||||||
|
|
||||||
<tr <?php echo $bc[$var]; ?>>
|
<tr <?php echo $bc[$var]; ?>>
|
||||||
<td>
|
<td<?php echo (! empty($conf->global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="2"' : ''); ?>>
|
||||||
<a name="<?php echo $line->id; ?>"></a>
|
<a name="<?php echo $line->id; ?>"></a>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
<input type="hidden" name="lineid" value="<?php echo $line->id; ?>" />
|
<input type="hidden" name="lineid" value="<?php echo $line->id; ?>" />
|
||||||
|
|
||||||
<tr <?php echo $bc[$var]; ?>>
|
<tr <?php echo $bc[$var]; ?>>
|
||||||
<td>
|
<td<?php echo (! empty($conf->global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="2"' : ''); ?>>
|
||||||
<a name="<?php echo $line->id; ?>"></a>
|
<a name="<?php echo $line->id; ?>"></a>
|
||||||
<input type="hidden" name="productid" value="<?php echo $line->fk_product; ?>" />
|
<input type="hidden" name="productid" value="<?php echo $line->fk_product; ?>" />
|
||||||
<a href="<?php echo DOL_URL_ROOT.'/product/fiche.php?id='.$line->fk_product; ?>">
|
<a href="<?php echo DOL_URL_ROOT.'/product/fiche.php?id='.$line->fk_product; ?>">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user