mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
65 lines
2.9 KiB
PHP
Executable File
65 lines
2.9 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@push('styles')
|
|
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<link href="{{ asset('elite/bower_components/select2/select2.min.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">{{ __('general_items.add_general_items') }}</h4>
|
|
</div>
|
|
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('general_items.dashboard') }}</a></li>
|
|
<li><a href="{{ route('general_items.index') }}">{{ __('general_items.general_items') }}</a></li>
|
|
<li class="active">{{ __('general_items.create') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="white-box">
|
|
{{ Form::open(['route' => 'general_items.store', 'data-toggle' => 'validator']) }}
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
{{ Form::label('name',__('general_items.general_items_name')) }}
|
|
{{ Form::text('name','',['class' => 'form-control compulsory', 'required']) }}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
{{ Form::label('cost_price',__('general_items.general_item_cost_price')) }}
|
|
{{ Form::number('cost_price','',['class' => 'form-control compulsory', 'required']) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
{{ Form::label('payables_account_id', __('general_items.payables_account')) }}
|
|
{{ Form::select('payables_account_id', $payables_accounts, null, ['class' => 'form-control']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
{{ Form::label('expenses_account_id', __('general_items.expense_account')) }}
|
|
{{ Form::select('expenses_account_id', $expense_accounts, null, ['class' => 'form-control']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ Form::button(__('general_items.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10 submit-btn']) }}
|
|
{{ Form::button(__('general_items.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>
|
|
@endpush
|