@extends('backend.layout.top-head') @section('content') @if($errors->has('phone_number'))
{{ $errors->first('phone_number') }}
@endif @if(session()->has('message'))
{!! session()->get('message') !!}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif
{!! Form::open(['route' => 'sales.store', 'method' => 'post', 'files' => true, 'class' => 'payment-form']) !!} @php if($lims_pos_setting_data) $keybord_active = $lims_pos_setting_data->keybord_active; else $keybord_active = 0; $customer_active = DB::table('permissions') ->join('role_has_permissions', 'permissions.id', '=', 'role_has_permissions.permission_id') ->where([ ['permissions.name', 'customers-add'], ['role_id', \Auth::user()->role_id] ])->first(); @endphp
@if($errors->has('reference_no')) {{ $errors->first('reference_no') }} @endif
@if($lims_pos_setting_data->is_table)
@if($lims_pos_setting_data) @endif
@else
@if($lims_pos_setting_data) @endif
@endif
@if($lims_pos_setting_data) @endif
@if($lims_pos_setting_data) @endif
@if($customer_active) @else @endif
i
@foreach($custom_fields as $field) @if(!$field->is_admin || \Auth::user()->role_id == 1)
@if($field->type == 'text') is_required){{'required'}}@endif> @elseif($field->type == 'number') is_required){{'required'}}@endif> @elseif($field->type == 'textarea') @elseif($field->type == 'checkbox')
@foreach($option_values as $value)   @endforeach @elseif($field->type == 'radio_button')
@foreach($option_values as $value)   @endforeach @elseif($field->type == 'select') @elseif($field->type == 'multi_select') @elseif($field->type == 'date_picker') is_required){{'required'}}@endif> @endif
@endif @endforeach
{{trans('file.product')}} {{trans('file.Batch No')}} {{trans('file.Price')}} {{trans('file.Quantity')}} {{trans('file.Subtotal')}}
{{trans('file.Items')}}0
{{trans('file.Total')}}{{number_format(0, $general_setting->decimal, '.', '')}}
{{trans('file.Discount')}} {{number_format(0, $general_setting->decimal, '.', '')}}
{{trans('file.Coupon')}} {{number_format(0, $general_setting->decimal, '.', '')}}
{{trans('file.Tax')}} {{number_format(0, $general_setting->decimal, '.', '')}}
{{trans('file.Shipping')}} {{number_format(0, $general_setting->decimal, '.', '')}}

{{trans('file.grand total')}} {{number_format(0, $general_setting->decimal, '.', '')}}

@if(in_array("card",$options))
@endif @if(in_array("cash",$options))
@endif @if(in_array("paypal",$options) && $lims_pos_setting_data && (strlen($lims_pos_setting_data->paypal_live_api_username)>0) && (strlen($lims_pos_setting_data->paypal_live_api_password)>0) && (strlen($lims_pos_setting_data->paypal_live_api_secret)>0))
@endif
@if(in_array("cheque",$options))
@endif @if(in_array("gift_card",$options))
@endif @if(in_array("deposit",$options))
@endif @if($lims_reward_point_setting_data && $lims_reward_point_setting_data->is_active)
@endif
{!! Form::close() !!}