Files
streamline-emr/docker/statistics/Modules/ClinicalData/Resources/views/eye_glasses/edit.blade.php
T
2025-03-31 03:46:05 +03:00

83 lines
3.5 KiB
PHP

@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/icheck/skins/all.css') }}" rel="stylesheet">
@endpush
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">Edit</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">Dashboard</a></li>
<li><a href="/opticals/">Eye Glasses</a></li>
<li class="active">Edit</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('clinical_data::eye_glasses.menu')
</div>
</div>
@include('flash::message')
<div class="white-box">
{{ Form::model($eye_glass, ['method' => 'PUT', 'route' => ['opticals.update',$eye_glass], 'data-toggle' => 'validator']) }}
<div class="row">
<div class="col-md-6">
<div class="form-group">
{{ Form::label('name','Optical Item Name') }}
{{ Form::text('name',$eye_glass->name,['class' => 'form-control compulsory', 'required']) }}
</div>
<div class="form-group">
{{ Form::label('non_insured_price','Cash Price') }}
{{ Form::text('non_insured_price', $eye_glass->non_insured_price,['class' => 'form-control compulsory', 'required']) }}
</div>
<div class="form-group">
{{ Form::label('inventory_account', 'Inventory Asset Account') }}
{{ Form::select('inventory_account', $inventory_asset_accounts, $eye_glass->inventory_account, ['class' => 'form-control compulsory', 'required']) }}
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
{{ Form::label('buying_price','Optical Item Buying Price') }}
{{ Form::text('buying_price', $eye_glass->buying_price,['class' => 'form-control compulsory', 'required']) }}
</div>
<div class="form-group">
{{ Form::label('account_id', 'Income Account') }}
{{ Form::select('account_id', $chart_of_accounts, $eye_glass->account_id, ['class' => 'form-control compulsory', 'required']) }}
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
{{ Form::label('cost_of_goods_account', 'Cost of Goods Account') }}
{{ Form::select('cost_of_goods_account', $cost_of_goods_accounts, $eye_glass->cost_of_goods_account, ['class' => 'form-control compulsory', 'required']) }}
<div class="help-block with-errors"></div>
</div>
</div>
</div>
{{ Form::button('Submit',['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
{{ Form::button('Cancel',['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
{{ Form::close() }}
</div>
@endsection
@push('scripts')
<script src="{{ asset('elite/js/validator.js') }}"></script>
<!-- icheck -->
<script src="{{ asset('elite/bower_components/icheck/icheck.min.js') }}"></script>
<script src="{{ asset('elite/bower_components/icheck/icheck.init.js') }}"></script>
@endpush