@extends('layouts.app') @section('title') {{ __('messages.bill.edit_bill') }} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{ Form::model($bill, ['route' => ['bills.update', $bill->id], 'id' => 'billForm']) }} @include('bills.fields') {{ Form::close() }}
@include('bills.templates.templates') {{Form::hidden('billSaveUrl',route('bills.update', $bill->id),['id'=>'editBillSaveUrl','class'=>'billSaveUrl'])}} {{Form::hidden('billUrl',route('bills.index'),['id'=>'editBillUrl','class'=>'billUrl'])}} {{Form::hidden('associateMedicines',json_encode($associateMedicines),['id'=>'editBillAssociateMedicines','class'=>'associateMedicines'])}} {{Form::hidden('uniqueId',$bill->billItems->count() + 1,['id'=>'editBillUniqueId','class'=>'uniqueId'])}} {{Form::hidden('billDate',$bill->bill_date->format('Y-m-d h:i A'),['id'=>'editBillDate','class'=>'billDate'])}} {{Form::hidden('patientAdmissionDetailUrl',url('patient-admission-details'),['id'=>'editBillPatientAdmissionDetailUrl','class'=>'patientAdmissionDetailUrl'])}} {{Form::hidden('patientAdmissionId',$bill->patient_admission_id,['id'=>'editBillPatientAdmissionId','class'=>'patientAdmissionId'])}} {{Form::hidden('billId',$bill->id,['id'=>'editBillId','class'=>'billId'])}} {{Form::hidden('isEdit',true,['id'=>'editBillIsEdit','class'=>'isEdit'])}} @endsection {{-- assets/js/moment.min.js --}} {{-- assets/js/bills/edit.js --}} {{-- assets/js/custom/input_price_format.js --}} {{-- assets/js/bills/new.js --}}