@extends('layouts.default') @section('content')

Price List

@if (Session::get('success'))
{{ Session::get('success') }}
@endif
@foreach($prices as $price) @if($price['with_effective_from']==NULL || $price['with_effective_to']==NULL ||($price['with_effective_from']<=date('Y-m-d') && $price['with_effective_to']>=date('Y-m-d')) ) @endif @endforeach
Product Description HSN Code Purchase Price Sales Price Transfer Price MRP Effective Date(From-To) Action updated_at
{{$price['sku_code']}} {{$price['discription']}} {{$price['hsn_code']}} {{$price['purchase']}} {{$price['sales']}} {{$price['transfer']}} {{$price['mrp']}} From:@if($price['with_effective_from']) {{date('d-m-Y', strtotime($price['with_effective_from']))}} @endif
To:@if($price['with_effective_to']) {{date('d-m-Y', strtotime($price['with_effective_to']))}} @endif
{{$price['updated_at']}}