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

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors') @include('flash::message')
{{-- @dd($medicineBill) --}}
{{-- @dd($medicineCategoriesList) --}}
{{Form::hidden('uniqueId',count($medicineBill->saleMedicine)+1,['id'=>'medicineUniqueId'])}} {{Form::hidden('associateMedicines',json_encode($medicineList),['class'=>'associatePurchaseMedicines'])}} {{Form::hidden('medicineCategories',json_encode($medicineCategoriesList),['id'=>'showMedicineCategoriesMedicineBill'])}} {{ Form::model($medicineBill, ['route' => ['medicine-bills.update', $medicineBill->id], 'method' => 'patch', 'id' => 'MedicinebillForm']) }} {{-- @include('medicine-bills.fields') --}}
@include('medicine-bills.medicine-table')
{{ Form::close() }}
@include('medicine-bills.templates.templates')
{{--
@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 --}}