tambah status berjaya dalam wasap dan sms
This commit is contained in:
@@ -278,6 +278,7 @@
|
||||
<th>Tempoh</th>
|
||||
<th>Tarikh</th>
|
||||
<th>Masa</th>
|
||||
<th>Status</th>
|
||||
</thead>
|
||||
@php
|
||||
$counter = 1;
|
||||
@@ -301,6 +302,19 @@
|
||||
<td style="white-space: nowrap;">@foreach($item['rekodblast'] as $item1){{ $item1['tempoh']}}<br>@endforeach</td>
|
||||
<td style="white-space: nowrap;">@foreach($item['rekodblast'] as $item1){{ date('d-m-Y', strtotime($item1['created_at']))}}<br>@endforeach</td>
|
||||
<td style="white-space: nowrap;">@foreach($item['rekodblast'] as $item1){{ date('h:i:s', strtotime($item1['created_at']))}}<br>@endforeach</td>
|
||||
<td style="white-space: nowrap;">@foreach($item['rekodblast'] as $item1)
|
||||
@php
|
||||
$response = $item1['status'];
|
||||
$status = collect(json_decode($response));
|
||||
|
||||
@endphp
|
||||
@if($status['status'] == "success")
|
||||
Berjaya
|
||||
@else
|
||||
Tidak Berjaya
|
||||
@endif
|
||||
|
||||
<br>@endforeach</td>
|
||||
</tr>
|
||||
@php $counter++; @endphp
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user