@extends('layouts/pos_layout') @section('title', '| Add Opeining') @section('content') @php use App\Models\pos\ProductConfig\PosProduct; @endphp
Opening Stock List @if($isImportFromExcelStatus == 'true') Upload Opening Stock Excel Sheet @endif
Opening Stock
{!! Form::open(array('url' => '' , 'enctype' => 'multipart/form-data', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('branch_id', 'Branch*', ['class' => 'col-sm-3 control-label']) !!}

{!! Form::label('Opening Date', 'Opening Date:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('opening_date', null, ['class'=>'form-control', 'id' => 'opening_date_id','readonly']) !!}

@if (!empty($hasCategorys)) @php $serial = 0; @endphp @foreach ($hasCategorys as $key => $hasCategory) @php $posProducts = PosProduct::where('category_id', '=' , $key)->get(); @endphp @if (!empty($posProducts)) @foreach ($posProducts as $posProduct) @endforeach @endif @endforeach @endif
Sl. Barcode Brand Product Name Model Sale Price Total Quantity Cost Price Total Price
{{$hasCategorys[$key]}}
{{ ++$serial }} {{ $posProduct->barcode }} {{ ($posProduct->brand) ? $posProduct->brand->name : '' }} {{ $posProduct->name }} {{ ($posProduct->model) ? $posProduct->model->name : '' }} {{ $posProduct->sales_price }} /home/shikkhaplus/public_html/guk_bk/resources/views/pos/tools/openingStock/addOpeningStock.blade.php on line 107
" name="quantity[]" placeholder="Total Quantity" value="0" class="custom-quantity" data-qid='
Warning: Undefined variable $posProduct in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/tools/openingStock/addOpeningStock.blade.php on line 107

Warning: Attempt to read property "id" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/tools/openingStock/addOpeningStock.blade.php on line 107
' />
/home/shikkhaplus/public_html/guk_bk/resources/views/pos/tools/openingStock/addOpeningStock.blade.php on line 108
" name="opening_amount[]" value="{{ $posProduct->cost_price}}" class="custom-costprice" readonly />
/home/shikkhaplus/public_html/guk_bk/resources/views/pos/tools/openingStock/addOpeningStock.blade.php on line 109
" name="total_amount[]" value="0" class="custom-total" readonly />
Total
{!! Form::label('submit', ' ', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@include('pos/exportImportData/importModalView/excelOpeningStockModal') @endsection