Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/dev-test/app/Modules/Plans/Resources/Views/admin/ |
@extends('admin.layouts.form')
@section('title')
@if (isset($label))
{{ trans("services::services.edit_label_title") }}
@else
{{ trans("services::services.create_label_title") }}
@endif
@endsection
@section('css_page')
<link href="{{ asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css') }}"
rel="stylesheet">
@endsection
@section('content')
<!-- BEGIN PAGE HEADER-->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="{!! url('') !!}">{{ trans('general.breadcrumbs_home') }}</a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="{!! route('admin.services.typeofmassage.index') !!}">Plan</a>
<i class="fa fa-angle-right"></i>
</li>
<li>
@if (isset($obj))
<a href="#">Edit Plan</a>
@else
<a href="#">Create New Plan</a>
@endif
</li>
</ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
<div class="col-md-12">
@if (isset($obj))
{!! Form::model($obj, array('url' => URL::to('admin/plan/update-product') . '/' . $obj->id, 'method' => 'post', 'class' => 'bf form-horizontal', 'files'=> true)) !!}
@else
{!! Form::open(array('url' => URL::to('admin/plan/create-product'), 'method' => 'post', 'class' => 'bf form-horizontal', 'files'=> true)) !!}
@endif
<div class="portlet">
<div class="portlet-title">
<div class="caption">
@if (isset($obj))
Edit Plan
@else
Create New Plan
@endif
</div>
<div class="actions btn-set">
<a href="{{ route('admin.plan.createplan') }}" name="back" class="btn default"><i class="fa fa-angle-left"></i> {{ trans('general.action_back') }}</a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> {{ trans('general.action_reset') }}</button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> {{ trans('general.action_save') }}</button>
<button class="btn blue" name="save_exit" value="save_exit">{{ trans('general.action_save_exit') }} <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--form-->
<div class="portlet-body">
@include('flash::message')
<!--GENERAL-->
<div class="portlet">
<div class="portlet-body">
<div class="row">
<div class="col-md-8">
<!--Plan Name-->
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
<label class="control-label col-md-3">
Plan Name
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
{!! Form::text('name', null, array('class' => 'form-control')) !!}
<span class="help-block">{{ $errors->first('name', ':message') }}</span>
</div>
</div>
<!--end name-->
@if(isset($obj))
<!--Plan Name-->
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
<label class="control-label col-md-3">
Plan ID
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
{!! Form::text('plan_id', null, array('class' => 'form-control', 'readonly' => 'readonly')) !!}
<span class="help-block">{{ $errors->first('plan_id', ':message') }}</span>
</div>
</div>
<!--end name-->
@endif
<!--Plan Description-->
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
<label class="control-label col-md-3">
Plan Description
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
{!! Form::textarea('description', null, array('class' => 'form-control ckeditor')) !!}
<span class="help-block">{{ $errors->first('description', ':message') }}</span>
</div>
</div>
<!--end name-->
<!--end row left-->
</div>
</div>
</div>
<!--END GENERAL-->
</div>
<!--/form-->
<!--actions-->
<div class="portlet-title">
<div class="actions btn-set">
<a href="{{ route('admin.services.typeofmassage.index') }}" name="back" class="btn default"><i class="fa fa-angle-left"></i> {{ trans('general.action_back') }}</a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> {{ trans('general.action_reset') }}</button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> {{ trans('general.action_save') }}</button>
<button class="btn blue" name="save_exit" value="save_exit">{{ trans('general.action_save_exit') }} <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--/actions-->
</div>
{!! Form::close() !!}
</div>
</div>
<!-- END PAGE CONTENT-->
@endsection
@section('scripts_page')
@parent
<script src="{{ asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js') }}"
type="text/javascript"></script>
<script src="{{ asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js') }}"
type="text/javascript"></script>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
<!-- JavaScript and JQuery -->
<script>
$(document).ready(function(e){
$(".is-massage").change(function(){
if($('.is-massage').is(':checked')){
$(".parent-category").hide();
} else {
$(".parent-category").show();
}
});
});
</script>
@endsection