mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Qual: Normalize code
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
<!-- <test name="noFileCloseTag"/> -->
|
<!-- <test name="noFileCloseTag"/> -->
|
||||||
|
|
||||||
<!-- Test if a file finish with some inner HTML (OK for some view but could provoque "header already sent" error) -->
|
<!-- Test if a file finish with some inner HTML (OK for some view but could provoque "header already sent" error) -->
|
||||||
<test name="noFileFinishHTML" level="ERROR" />
|
<!-- <test name="noFileFinishHTML" level="ERROR" /> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- **************** -->
|
<!-- **************** -->
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<!-- BEGIN PHP TEMPLATE -->
|
<!-- BEGIN PHP TEMPLATE -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($somethingshown) { echo '<br>'; }
|
if ($somethingshown) { echo '<br>'; }
|
||||||
print_titre($langs->trans('RelatedCommercialProposals'));
|
print_titre($langs->trans('RelatedCommercialProposals'));
|
||||||
?>
|
?>
|
||||||
@@ -33,7 +33,7 @@ print_titre($langs->trans('RelatedCommercialProposals'));
|
|||||||
<td align="right"><?php echo $langs->trans("AmountHTShort"); ?></td>
|
<td align="right"><?php echo $langs->trans("AmountHTShort"); ?></td>
|
||||||
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
<td align="right"><?php echo $langs->trans("Status"); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$var=true;
|
$var=true;
|
||||||
for ($i = 0 ; $i < $num ; $i++)
|
for ($i = 0 ; $i < $num ; $i++)
|
||||||
{
|
{
|
||||||
@@ -41,7 +41,7 @@ for ($i = 0 ; $i < $num ; $i++)
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
?>
|
?>
|
||||||
<tr <?php echo $bc[$var]; ?> ><td>
|
<tr <?php echo $bc[$var]; ?> ><td>
|
||||||
<a href="<?php echo DOL_URL_ROOT.'/compta/propal.php?id='.$linkedObjectBlock->id.'">'.img_object($langs->trans("ShowPropal"),"propal").' '.$linkedObjectBlock->ref; ?></a></td>
|
<a href="<?php echo DOL_URL_ROOT.'/compta/propal.php?id='.$linkedObjectBlock->id.'">'.img_object($langs->trans("ShowPropal"),"propal").' '.$linkedObjectBlock->ref; ?>"></a></td>
|
||||||
<td><?php echo $linkedObjectBlock->ref_client; ?></td>
|
<td><?php echo $linkedObjectBlock->ref_client; ?></td>
|
||||||
<td align="center"><?php echo dol_print_date($linkedObjectBlock->date,'day'); ?></td>
|
<td align="center"><?php echo dol_print_date($linkedObjectBlock->date,'day'); ?></td>
|
||||||
<td align="right"><?php echo price($linkedObjectBlock->total_ht); ?></td>
|
<td align="right"><?php echo price($linkedObjectBlock->total_ht); ?></td>
|
||||||
@@ -59,4 +59,4 @@ $total = $total + $linkedObjectBlock->total_ht;
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- END PHP TEMPLATE -->
|
<!-- END PHP TEMPLATE -->
|
||||||
|
|||||||
Reference in New Issue
Block a user