@extends('layouts.admin.master') @section('styles') @endsection @section('body-content')

{{--
Seller’s Products
--}}
@if ( session()->has('message') )
Well done! {{ session('message') }}
@elseif ( session()->has('error') )
Ohh Snap! {{ session('error') }}
@endif
@if(isset($data)) @foreach($data as $product) @if($product->fault == 1) @else @endif @if($product->active == 1) @else @endif @foreach($product->prod_size as $product_sizes) @endforeach @endforeach
ID Seller’s Name Product Name Price Fault Status Status Action
1 {{$product->user->first_name}} {{$product->user->last_name}} {{$product->product_parent->product_name}} @foreach($product->prod_size as $product_sizes) £{{ number_format((float)$product_sizes->sale_price, 2, '.', '') }} @endforeach FaultNo FaultLiveNon-ActiveDetails Delete
ID Seller’s Name Product Name Price Fault Status Status Action
@endif
@endsection @section('scripts') @endsection