@extends('layouts.backend')
@section('extraCss')
@endsection
@php
$reqpos = request("warehouse_id");
@endphp
@section('mainContentArea')
| # |
Article |
Color |
Size |
MRP |
Qty |
AGE |
@php if(count($warehouseProducts) > 0) { @endphp
@php $totalcountallsize = 0 ; @endphp
@foreach($warehouseProducts as $key => $row)
@php $article = \App\Article::with('category')->with('maincategory')->select('image')->where('code',$row->article)->first(); @endphp
| {{$key + $warehouseProducts->firstItem()}} |
{{ $row->article }} |
{{ $row->color }} |
{{ $row->size }} |
{{ $row->mrp }} |
{{ $row->qty }} |
@php
$date1=date_create(date('Y-m-d h:i:s'));
$date2=date_create($row->created_at);
$diff=date_diff($date1,$date2);
@endphp
{{ $diff->format("%R%a days") }} |
@endforeach
@php } @endphp
@php if(count($warehouseProducts) > 0) { @endphp {!! $warehouseProducts->appends(request()->input())->links() !!} @php } @endphp
@endsection
@section('extraJs')
@endsection