@extends('admin.layout.app') @section('title','Edit Sales Return') @push('headerscript') @endpush @section('content')

Edit Sales Return

{!! Form::open(['route'=>array('sales-return.update', $sales_return->id), 'onsubmit'=>'BtnSubmit.disabled = true', 'method' => 'put']) !!}
{{$errors->first('return_bill_no')}}
{{$errors->first('bill_no')}}
{{$errors->first('return_bill_date')}}
{{$errors->first('customer_id')}}
{!! Form::select("payment_type", [''=>'Select ', 'credit'=>'Credit','cash'=>'Cash','card'=>'Card'], old("payment_type", $sales_return->payment_type), ['class'=>'form-control', 'required', 'id'=>'payment_type'] ) !!}
{{$errors->first('payment_type')}}
{{$errors->first('description')}}
@foreach($sales_return->salesReturnDetails as $sales_return_detail) @endforeach
Part No. & Desc.* Transaction Type* Sale Qty. Return Qty.* Selling Price* Discount Amount VAT Total Amount
{{$sales_return_detail->max_quantity}}
{{$errors->first('total_discount')}}
{{$errors->first('gross_amount')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush