stock module latest today vadivel J 19-01-2025
This commit is contained in:
parent
0d75fd2c32
commit
002d3a560e
@ -111,7 +111,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.celda_encabezado_total {
|
.celda_encabezado_total {
|
||||||
background-color:rgb(162, 41, 0);
|
background-color:#ffffff;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -332,9 +332,9 @@ foreach ($period as $day) {
|
|||||||
// Sum values for the material
|
// Sum values for the material
|
||||||
;
|
;
|
||||||
$summary[$materialCode]['opening'] = "-" ;
|
$summary[$materialCode]['opening'] = "-" ;
|
||||||
$summary[$materialCode]['receipt'] += $resinStock['receipt'];
|
$summary[$materialCode]['receipt'] += $resinStock['receipt'] == '-' ? 0 :$resinStock['receipt'] ;
|
||||||
$summary[$materialCode]['used'] += $resinStock['used'];
|
$summary[$materialCode]['used'] += $resinStock['used'] == '-' ? 0 :$resinStock['used'] ;
|
||||||
$summary[$materialCode]['balanceStock'] = $resinStock['balanceStock'];
|
$summary[$materialCode]['balanceStock'] = $resinStock['balanceStock'] == '-' ? 0 :$resinStock['balanceStock'] ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -416,6 +416,8 @@ foreach ($period as $day) {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="resinStockDetailsTableSummaryId" class="fht-table table-striped">
|
<table id="resinStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||||
|
|
||||||
@ -433,7 +435,10 @@ foreach ($period as $day) {
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td> </td>
|
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||||
|
<b> Total </b>
|
||||||
|
</td>
|
||||||
|
|
||||||
<?php foreach($summary as $each){ ?>
|
<?php foreach($summary as $each){ ?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user