{{-- @if($serverstatus) --}} @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('store_purchase-read')) {{--Permissions--}}
@error('dategroup') {{ $message }} @enderror
@if($show_date)
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
@elseif($show_item)
@foreach($items as $item) @endforeach @error('item_name') {{ $message }} @enderror
@else @if($dategroup)
@error('item_group_id') {{ $message }} @enderror
@endif
@if(sizeof($itemsubgroupsarray)>0) @error('item_subgroup_id') {{ $message }} @enderror @endif
@if(sizeof($itemnamesarray)>0)
{{-- @error('item_id') {{ $message }} @enderror--}} @foreach($items as $item) @endforeach @error('item_name') {{ $message }} @enderror
{{-- @error('brand_id') {{ $message }} @enderror--}} @foreach($brandnames as $brand) @endforeach @error('brandname') {{ $message }} @enderror
@error('barcode') {{ $message }} @enderror
@endif @endif @if($dategroup == 2 || $show_item == 3 || $item_subgroup_id && sizeof($itemnamesarray)>0) @endif
{{--
--}}

Items Informations

{{--
--}}
{{----}} @foreach($storescategory as $category) @endforeach {{-- --}} {{-- --}} {{----}} {{-- --}} @if(sizeof($datatables)>0) @foreach($datatables as $key => $tabledata) {{----}} @foreach($storescategory as $key1 => $category) @endforeach {{----}} @endforeach @else @endif
StatusAction On Sale Item Qty Stocks Unit Price Disc. Rate Disc. Amount MRP Revenue Cost Purchase Cost Margin % {{$category['store_short_category_name']}}
({{$category['store_category_name']}})
Sale Disc. Rate Sale Disc. AmountSale PriceOnline Sale PriceActions
@if($tabledata['status']) Active @else Inactive @endif
@if(in_array($key,$checkeditem)) @if($tabledata['sellingitem_info']['status']==1) @elseif($tabledata['sellingitem_info']['status']==2) @endif @else @if($tabledata['sellingitem_info']['status']==2) @else @endif @endif {{$tabledata['item_info']['item_name']}} / {{$tabledata['brand_info']['brand_name']}} / {{$tabledata['dimension_info']['dimension_name']}}
Invoice No : {{$tabledata['getpurchase']['purchase_invoice_no']}}
Batch : {{$tabledata['batch_no']}}
{{$tabledata['quantity']}} {{$tabledata['balance_quantity']}} ₹{{$tabledata['unit_price']}} ₹{{$tabledata['discount_rate']}} ₹{{$tabledata['discount_amount']}} ₹{{$tabledata['purchase_mrp']}} ₹{{$tabledata['purchase_mrp'] * $tabledata['quantity']}} ₹{{$tabledata['unit_price'] * $tabledata['quantity']}} ₹{{$tabledata['getsellingiteminfo']['margin_percentage']}} @if(in_array($key,$checkeditem)) @else @if(sizeof($tabledata['category_managed_discount_info'])>0) @if($tabledata['category_managed_discount_info'][$key1]['store_category_id'] == $category['id']) ₹{{$tabledata['category_managed_discount_info'][$key1]['selling_price']}} ({{$tabledata['category_managed_discount_info'][$key1]['discount_rate']}}%) @endif @else ₹{{$tabledata['sellingitem_info']['selling_price']}} ({{$tabledata['sellingitem_info']['selling_discount_rate']}}%) @endif @endif @if(in_array($key,$checkeditem)) @else ₹{{$tabledata['getsellingiteminfo']['selling_discount_rate']}} @endif @if(in_array($key,$checkeditem)) @else ₹{{$tabledata['getsellingiteminfo']['selling_discount_amount']}} @endif @if(in_array($key,$checkeditem)) @else ₹{{$tabledata['getsellingiteminfo']['selling_price']}} @endif @if(in_array($key,$checkeditem)) @else ₹{{$tabledata['getsellingiteminfo']['online_selling_price']}} @endif

No Data Available

{{$datatables->links('livewire.pagination-livewire')}}
@if(sizeof($datatables)>0)
@endif
{{-- --}} {{-- --}}
@else

Sorry !!! Unauthorized Access.

@endif {{-- @else

Sorry !!! Service Is Not Available.

@endif --}} @section('externaljs') @endsection