tambah status berjaya dalam wasap dan sms
This commit is contained in:
@@ -100,8 +100,8 @@
|
||||
<ol class="breadcrumb pb-3">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('laporan') }}">Laporan</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('laporan.stokauditkhas') }}">Stok Audit Khas (Blast Whatsapp)</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Rekod Blast</li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('laporan.stokauditkhas') }}">Stok Audit Khas (Blast Whatsapp & SMS)</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Rekod Blast Whatsapp</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
@@ -138,6 +138,7 @@
|
||||
<th>Tempoh</th>
|
||||
<th>Tarikh</th>
|
||||
<th>Masa</th>
|
||||
<th>Status</th>
|
||||
</thead>
|
||||
@php
|
||||
$counter = 1;
|
||||
@@ -161,6 +162,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