Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="content" style="padding-top: 1.875rem!important;">
- <div class="card" style="margin-bottom: 0rem;">
- <div class="card-body">
- <div class="table-responsive">
- <table class="table">
- <thead>
- <tr>
- <th>Store Name</th>
- <th>Status</th>
- <th>Action</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($restaurants as $restaurant)
- <tr>
- <td>{{$restaurant->name}}</td>
- <td>
- @if($restaurant->is_active)
- <span class="badge badge-success text-white text-capitalize">Open</span>
- @else
- <span class="badge badge-danger text-white text-capitalize">Close</span>
- @endif
- </td>
- <td>
- @csrf
- <div class="text-center">
- <div class="btn-group btn-group-justified" style="width:30px">
- @if($restaurant->is_active)
- <a href="{{ route('restaurant.disableRestaurant', $restaurant->id) }}"
- class="btn btn-danger" data-popup="tooltip"
- title="{{ __('storeDashboard.closeStoreToolTipMessage') }}" data-placement="bottom">
- <b><i class="icon-switch2"></i></b>
- </a>
- @else
- <a href="{{ route('restaurant.disableRestaurant', $restaurant->id) }}"
- class="btn btn-secondary" data-popup="tooltip"
- title="{{ __('storeDashboard.openStoreToolTipMessage') }}" data-placement="bottom">
- <b><i class="icon-switch2"></i></b>
- </a>
- @endif
- </div>
- </div>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment