@extends('layouts.app')
@php
$title = __('lang_v1.add_sell_return');
@endphp
@section('title', $title)
@section('content')
{!! Form::open(['url' => action([\App\Http\Controllers\SellReturnController::class, 'store']), 'method' => 'post', 'id' => 'add_sell_return_form', 'files' => true ]) !!}
@component('components.widget', ['class' => 'box-solid'])
{{--
--}}
@lang('lang_v1.billing_address'):
{!! $walk_in_customer['contact_address'] ?? '' !!}
@lang('lang_v1.shipping_address'):
{{$walk_in_customer['supplier_business_name'] ?? ''}},
{{$walk_in_customer['name'] ?? ''}},
{{$walk_in_customer['shipping_address'] ?? ''}}
@can('edit_invoice_number')
@endcan
{!! Form::label('return_note',__('sale.return_note')) !!}
{!! Form::textarea('sale_note', null, ['class' => 'form-control', 'id' => 'return_note', 'rows' => 3]); !!}
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
@php
$hide_tax = 'hide';
@endphp
|
@lang('sale.product')
|
@lang('sale.qty')
|
@lang('sale.unit_price')
|
@lang('sale.tax')
|
@lang('sale.price_inc_tax')
|
@if(!empty($common_settings['enable_product_warranty']))
@lang('lang_v1.warranty') |
@endif
@lang('sale.subtotal')
|
|
|
@lang('sale.item'):
0
@lang('sale.total'):
0
|
@endcomponent
@component('components.widget', ['class' => 'box-solid hide'])
{!! Form::label('discount_type', __( 'purchase.discount_type' ) . ':') !!}
{!! Form::select('discount_type', [ '' => __('lang_v1.none'), 'fixed' => __( 'lang_v1.fixed' ), 'percentage' => __( 'lang_v1.percentage' )], '', ['class' => 'form-control']); !!}
{!! Form::label('discount_amount', __( 'purchase.discount_amount' ) . ':') !!}
{!! Form::text('discount_amount', 0, ['class' => 'form-control input_number']); !!}
@endcomponent
@php
$payment_body_id = 'payment_rows_div';
@endphp
@can('sell.payments')
@component('components.widget', ['class' => 'box-solid', 'id' => $payment_body_id, 'title' => __('Add Return payment')])
@lang('lang_v1.advance_balance'):
{!! Form::hidden('advance_balance', null, ['id' => 'advance_balance', 'data-error-msg' => __('lang_v1.required_advance_balance_not_available')]); !!}
@include('sell_return.partials.payment_row_form', ['row_index' => 0, 'show_date' => true, 'show_denomination' => true])
{{--
@lang('lang_v1.change_return'):
0
{!! Form::hidden("change_return", $change_return['amount'], ['class' => 'form-control change_return input_number', 'required', 'id' => "change_return"]); !!}
@if(!empty($change_return['id']))
@endif
@if(!empty($accounts))
@endif
@include('sale_pos.partials.payment_type_details', ['payment_line' => $change_return, 'row_index' => 'change_return'])
--}}
@lang('lang_v1.balance'): 0.00
@endcomponent
@endcan
{!! Form::hidden('is_save_and_print', 0, ['id' => 'is_save_and_print']); !!}
{!! Form::close() !!}
@include('contact.create', ['quick_add' => true])
@include('sale_pos.partials.configure_search_modal')
@stop
@section('javascript')
@if(in_array('tables' ,$enabled_modules) || in_array('modifiers' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules))
@endif
@endsection