issues fixes in batchcard_stockdetails

This commit is contained in:
gandhimathi 2018-05-09 13:04:53 +00:00
parent 150844c113
commit 08941f9de4

View File

@ -65,7 +65,7 @@ else
border-collapse: collapse;
border-spacing: 0;
/*table-layout: fixed; Algoritmo de distribucion fijo */
/*white-space:nowrap; Impide los saltos de línea automáticos */
/*white-space:nowrap; Impide los saltos de línea automáticos */
}
.fht-table th,.fht-table td {
@ -268,7 +268,8 @@ else
$total = 0;
if($key == 0){
$total = $total + $data->ed_receipt;
//$total = $total + $data->ed_receipt;
$total = $total+$premonopen+$data->ed_receipt;
}
else
{
@ -282,7 +283,7 @@ else
<tr>
<td style="text-align:right;"><?= date_format(date_create($data->ddate),'d-m-Y');?></td>
<td style="text-align:right;"><?php if($key == 0){echo $premonopen; } else {echo $pre['preclose'];}?> </td>
<td style="text-align:right;"><?php if($key == 0){ /**echo $premonopen;*/ echo empty($premonopen)?'0':$premonopen; } else {echo $pre['preclose'];}?> </td>
<td style="text-align:right;"><?= $data->ed_receipt;?></td>
<td style="text-align:right;"><?= $total;?></td>
<td style="text-align:right;"><?= $data->ed_issues;?></td>