dbfdg @php // $logo=asset(Storage::url('uploads/logo/')); $logo = \App\Models\Utility::get_file('uploads/logo'); $company_favicon = Utility::getValByName('company_favicon'); $SITE_RTL = Utility::getValByName('SITE_RTL'); $setting = \App\Models\Utility::colorset(); $color = 'theme-3'; if (!empty($setting['color'])) { $color = $setting['color']; } if (isset($setting['color_flag']) && $setting['color_flag'] == 'true') { $themeColor = 'theme-3'; } else { $themeColor = $color; } @endphp {{ !empty($companySettings['header_text']) ? $companySettings['header_text']->value : config('app.name', 'ERPGO SaaS') }} - {{ __('POS') }} @if ($SITE_RTL == 'on') @endif @if ($setting['cust_darklayout'] == 'on') @else @endif @stack('css-page')
segment(count(request()->segments())); ?>
{{ __('POS') }}
{{ Form::select('customer_id', $customers, $customer, ['class' => 'form-control select customer_select', 'id' => 'customer', 'required' => 'required']) }} {{ Form::hidden('vc_name_hidden', '', ['id' => 'vc_name_hidden']) }}
{{ Form::select('warehouse_id', $warehouses, $warehouseId, ['class' => 'form-control select warehouse_select ', 'id' => 'warehouse', 'required' => 'required']) }} {{ Form::hidden('warehouse_name_hidden', '', ['id' => 'warehouse_name_hidden']) }} {{ Form::hidden('quotation_id', $id, ['id' => 'quotation_id', 'class' => 'quotation']) }}
@php $total = 0; $netPrice = 0; $discount = 0; @endphp
@if (session($lastsegment) && !empty(session($lastsegment)) && count(session($lastsegment)) > 0) @foreach (session($lastsegment) as $id => $details) @php $product = \App\Models\ProductService::find($details['id']); $image_url = !empty($product) && isset($product->pro_image) ? $product->pro_image : 'uploads/pro_image/'; $total += $details['subtotal']; $netPrice += $details['netPrice']; $discount += $details['discount']; @endphp @endforeach @else @endif
{{ __('Name') }} {{ __('QTY') }} {{ __('Tax') }} {{ __('Price') }} {{ __('Sub Total') }}
Image placeholder {{ $details['name'] }} @if (!empty($product->tax_id)) @php $taxes = \Utility::tax($product->tax_id); @endphp @foreach ($taxes as $tax) {{ $tax->name . ' (' . $tax->rate . '%)' }}
@endforeach @else - @endif
{{ Auth::user()->priceFormat($details['price']) }} {{ Auth::user()->priceFormat($details['subtotal']) }} {!! Form::open(['method' => 'delete', 'url' => ['remove-from-cart'], 'id' => 'delete-form-' . $id]) !!} {!! Form::close() !!}
{{ __('No Data Found.!') }}
{{ __('Sub Total') }} :
{{ Auth::user()->priceFormat($total) }}
{{ \Auth::user()->currencySymbol() }} {{ Form::number('discount', $discount, ['class' => ' form-control discount', 'required' => 'required', 'placeholder' => __('Discount')]) }} {{ Form::hidden('discount_hidden', $discount, ['id' => 'discount_hidden']) }}
{{ __('Total') }} :
{{ Auth::user()->priceFormat($netPrice) }}
{{ __('Empty Cart') }} {!! Form::open(['method' => 'post', 'url' => ['empty-cart'], 'id' => 'delete-form-emptycart']) !!} {!! Form::close() !!}
@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @stack('script-page')