@extends('layouts/pos_layout') @section('title', '| '.$moduleTitle) @section('style') @endsection @section('content')
{{ $moduleTitle }}
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'purchaseForm')) !!}
{!! Form::label('collection_date', 'Writeoff Bill No:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('writeoff_bill_no', $writeoiffdata->writeoff_bill_no, ['class' => 'form-control','readonly']) !!}
{!! Form::label('collection_date', 'Writeoff Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('writeoff_date', $branchActiveDate, ['class' => 'form-control','readonly']) !!}
{!! Form::label('collection_date', 'Customer Name:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('customer_id', $writeoiffdata->customer->name, ['class' => 'form-control','readonly']) !!}
{!! Form::label('collection_date', 'Sale Bill No:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('sales_bill_no', $writeoiffdata->sales_bill_no, ['class' => 'form-control','readonly']) !!}
{!! Form::label('sales_amount', 'Sales Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('total_sales_amount', $writeoiffdata->total_sales_amount, ['class' => 'form-control', 'id' => 'sales_amount', 'readonly']) !!}
{!! Form::label('sales_amount', 'Paid Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('total_paid_amount', $writeoiffdata->total_paid_amount, ['class' => 'form-control', 'id' => 'sales_amount', 'readonly']) !!}
{!! Form::label('collection_amount', 'Writeoff Amount:*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('writeoff_amount', $writeoiffdata->writeoff_amount, ['class' => 'form-control numeric', 'id' => 'writeoff_amount', 'min' => 0]) !!}
{!! Form::label('collection_amount', 'Approve Status:*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::label('submit', ' ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::submit('submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@endsection