update error report
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
<span class="input-group-text" id="basic-addon1">Cawangan</span>
|
||||
</div>
|
||||
<select class="custom-select" name="caw" id="caw">
|
||||
<option value="">Please select</option>
|
||||
<option value="">Pilih Cawangan</option>
|
||||
@foreach ($caw as $item)
|
||||
<option value="{{$item->id}}">{{$item->caw_name}}</option>
|
||||
@endforeach
|
||||
|
||||
@@ -130,7 +130,14 @@ tr:nth-child(even) {
|
||||
<td>{{ $item['berat'] }}</td>
|
||||
<td>{{ $item['hargaasas'] }}</td>
|
||||
</tr>
|
||||
@endforeach</td>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="3" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
||||
<td><strong>{{ number_format($total_berat, 2, '.', ',') }}</strong></td>
|
||||
<td><strong>{{ number_format($total_hargaasas, 2, '.', ',') }}</strong></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
@@ -142,7 +142,11 @@ tr:nth-child(even) {
|
||||
</td>
|
||||
<td>
|
||||
@foreach($laporan['details'] as $details)
|
||||
<span class="m-2">{{ $details['masa_bidaan']}}</span><br>
|
||||
<span class="m-2"> @php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d H:i:s', $details['masa_bidaan'] );
|
||||
$t_lelong = $myDateTime->format('d-m-Y h:i:s');
|
||||
echo($t_lelong);
|
||||
@endphp</span><br>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user