|
|
@@ -159,18 +159,22 @@
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}</b></span></td>
|
|
|
@elseif($p->type == 'IN')
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:green; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}}</b></span></td>
|
|
|
+ <td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b> </b></span></td>
|
|
|
+
|
|
|
@elseif($p->type == 'OUT')
|
|
|
+ <td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:green; font-size:18px;"><b> </b></span></td>
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}</b></span></td>
|
|
|
@endif
|
|
|
@else
|
|
|
@if($p->type == 'ALL')
|
|
|
+
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:green; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}}</b></span></td>
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}</b></span></td>
|
|
|
@elseif($p->type == 'IN')
|
|
|
<td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:green; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}}</b></span></td>
|
|
|
- <td style="text-align:right"></td>
|
|
|
+ <td style="text-align:center"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b> </b></span></td>
|
|
|
@elseif($p->type == 'OUT')
|
|
|
- <td style="text-align:right"></td>
|
|
|
+ <td style="text-align:right"><span class="tablesaw-cell-content primary" style="color:green; font-size:18px;"><b> </b></span></td>
|
|
|
<td style="text-align:center"><span class="tablesaw-cell-content primary" style="color:red; font-size:18px;"><b>{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}</b></span></td>
|
|
|
|
|
|
@endif
|