79 lines
4.5 KiB
PHP
79 lines
4.5 KiB
PHP
@extends('user.layout.main')
|
|
@section('content')
|
|
<div class="main-content">
|
|
<section class="section">
|
|
<div class="section-header">
|
|
<h1>Halaman Refund</h1>
|
|
<div class="section-header-breadcrumb">
|
|
<div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
|
|
<div class="breadcrumb-item"><a href="#"> Transaction</a></div>
|
|
<div class="breadcrumb-item">Manajemen Kontak</div>
|
|
<div class="breadcrumb-item">Halaman Refund</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped" id="table-1">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center">
|
|
#
|
|
</th>
|
|
<th>Order Id</th>
|
|
<th>Customer</th>
|
|
<th>Seller</th>
|
|
<th>total</th>
|
|
<th>Due Date</th>
|
|
<th>Status</th>
|
|
|
|
<th>Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($refundUserss as $key => $HistoryRefundUser)
|
|
<tr>
|
|
<td> {{ ++$key }}</td>
|
|
<td class="font-weight-600">
|
|
{{ $HistoryRefundUser['orderId'] }}</td>
|
|
<td class="font-weight-600">
|
|
{{ $HistoryRefundUser['Customer'] }}</td>
|
|
<td class="font-weight-600">
|
|
{{ $HistoryRefundUser['seller'] }}</td>
|
|
<td class="font-weight-600">
|
|
{{ $HistoryRefundUser['Total'] }}</td>
|
|
<td>{{ $HistoryRefundUser['dueDate'] }}</td>
|
|
<td>
|
|
@php
|
|
$statusClass="";
|
|
if ($HistoryRefundUser['status'] === 'diproses'){
|
|
$statusClass = 'badge-warning';
|
|
}elseif($HistoryRefundUser['status'] === 'diterima'){
|
|
$statusClass ='badge badge-success';
|
|
}elseif($HistoryRefundUser['status'] === 'ditolak'){
|
|
$statusClass ='badge badge-danger';
|
|
}
|
|
@endphp
|
|
<div class="badge {{$statusClass}}">{{ $HistoryRefundUser['status'] }}</div></td>
|
|
|
|
<td>
|
|
<button class="btn btn-info open-detail-modal" data-toggle="modal"
|
|
data-target="#awaldetailrefund">Detail</button>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@extends('user.refund.detail-refund')
|
|
@endsection
|