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/www/storage/framework/views/ |
<?php $__env->startSection('title'); ?>
<?php if(isset($label)): ?>
<?php echo e(trans("accounts::companies.edit_label_title")); ?>
<?php else: ?>
<?php echo e(trans("accounts::companies.create_label_title")); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css_page'); ?>
<link href="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css')); ?>"
rel="stylesheet">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- BEGIN PAGE HEADER-->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="<?php echo url(''); ?>"><?php echo e(trans('general.breadcrumbs_home')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.accounts.companies.index'); ?>"><?php echo e(trans('accounts::companies.breadcrumbs_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.accounts.companies.index'); ?>"><?php echo e(trans('accounts::companies.page_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<?php if(isset($obj)): ?>
<a href="#"><?php echo e(trans('accounts::companies.edit_title')); ?></a>
<?php else: ?>
<a href="#"><?php echo e(trans('accounts::companies.create_new_title')); ?></a>
<?php endif; ?>
</li>
</ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
<div class="col-md-12">
<?php if(isset($obj)): ?>
<?php echo Form::model($obj, array('url' => URL::to('admin/accounts/companies') . '/' . $obj->id, 'method' => 'put', 'class' => 'bf form-horizontal', 'files'=> true)); ?>
<?php else: ?>
<?php echo Form::open(array('url' => URL::to('admin/accounts/companies'), 'method' => 'post', 'class' => 'bf form-horizontal', 'files'=> true)); ?>
<?php endif; ?>
<div class="portlet">
<div class="portlet-title">
<div class="caption">
<?php if(isset($obj)): ?>
<?php echo e(trans('accounts::companies.edit_title')); ?>
<?php else: ?>
<?php echo e(trans('accounts::companies.create_new_title')); ?>
<?php endif; ?>
</div>
<div class="actions btn-set">
<a href="<?php echo e(route('admin.accounts.companies.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
<button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--form-->
<div class="portlet-body">
<?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!--GENERAL-->
<div class="portlet">
<div class="portlet-body">
<div class="row">
<div class="col-md-6">
<!--name-->
<div class="form-group <?php echo e($errors->has('company') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_company')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('company', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('company', ':message')); ?></span>
</div>
</div>
<!--end name-->
<!--reg_number-->
<div class="form-group <?php echo e($errors->has('reg_number') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_reg_number')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('reg_number', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('reg_number', ':message')); ?></span>
</div>
</div>
<!--end reg_number-->
<!--vat_number-->
<div class="form-group <?php echo e($errors->has('vat_number') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_vat_number')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('vat_number', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('vat_number', ':message')); ?></span>
</div>
</div>
<!--end vat_number-->
<!--postcode-->
<div class="form-group <?php echo e($errors->has('addr_postcode') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_addr_postcode')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('addr_postcode', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('addr_postcode', ':message')); ?></span>
</div>
</div>
<!--end postcode-->
<!--address-->
<div class="form-group <?php echo e($errors->has('addr_address') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_addr_address')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('addr_address', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('addr_address', ':message')); ?></span>
</div>
</div>
<!--end address-->
<!--state-->
<div class="form-group <?php echo e($errors->has('addr_state') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_addr_state')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('addr_state', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('addr_state', ':message')); ?></span>
</div>
</div>
<!--end state-->
<!--city-->
<div class="form-group <?php echo e($errors->has('addr_city') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_addr_city')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('addr_city', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('addr_city', ':message')); ?></span>
</div>
</div>
<!--end city-->
<hr>
<!--phone-->
<div class="form-group <?php echo e($errors->has('phone') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_phone')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('phone', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('phone', ':message')); ?></span>
</div>
</div>
<!--end phone-->
<!--email-->
<div class="form-group <?php echo e($errors->has('email') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_email')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('email', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('email', ':message')); ?></span>
</div>
</div>
<!--end email-->
<!--web_url-->
<div class="form-group <?php echo e($errors->has('web_url') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_web_url')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('web_url', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('web_url', ':message')); ?></span>
</div>
</div>
<!--end web_url-->
<hr>
<!--bank_name-->
<div class="form-group <?php echo e($errors->has('bank_name') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_bank_name')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('bank_name', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('bank_name', ':message')); ?></span>
</div>
</div>
<!--end bank_name-->
<!--bank_account-->
<div class="form-group <?php echo e($errors->has('bank_account') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_bank_account')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('bank_account', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('bank_account', ':message')); ?></span>
</div>
</div>
<!--end bank_account-->
<!--bank_sort_code-->
<div class="form-group <?php echo e($errors->has('bank_sortcode') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('accounts::companies.form_bank_sortcode')); ?>
</label>
<div class="col-md-9">
<?php echo Form::text('bank_sortcode', null, array('class' => 'form-control')); ?>
<span class="help-block"><?php echo e($errors->first('bank_sortcode', ':message')); ?></span>
</div>
</div>
<!--end bank_iban-->
</div>
<!--end row left-->
<!--col right-->
<div class="col-md-6">
<!--logo image-->
<div class="form-group <?php echo e($errors->has('file_logo') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3"><?php echo e(trans('accounts::companies.form_image')); ?></label>
<div class="col-md-9">
<?php if(@$obj->file_logo): ?>
<div class="fileinput fileinput-exists" data-provides="fileinput">
<div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px; line-height: 150px;">
<img src="data:image/jpeg;base64,<?php echo e(base64_encode($obj->logo_file)); ?>" alt=""/>
</div>
<div>
<span class="btn default btn-file">
<span class="fileinput-new">Select image </span>
<span class="fileinput-exists">Change </span>
<input type="hidden" value="" name="">
<input type="file" name="file_logo">
</span>
<a href="#" class="btn red fileinput-exists" data-dismiss="fileinput">Remove </a>
</div>
</div>
<?php else: ?>
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">
<img src="http://www.placehold.it/200x150/EFEFEF/AAAAAA&text=company+logo" alt=""/>
</div>
<div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;"></div>
<div>
<span class="btn default btn-file">
<span class="fileinput-new">Select image </span>
<span class="fileinput-exists">Change </span>
<input type="file" name="file_logo">
</span>
<a href="#" class="btn default fileinput-exists" data-dismiss="fileinput">Remove </a>
</div>
</div>
<?php endif; ?>
</div>
</div>
<!--end logo image-->
</div>
<!--end col right-->
</div>
</div>
</div>
<!--END GENERAL-->
</div>
<!--/form-->
<!--actions-->
<div class="portlet-title">
<div class="actions btn-set">
<a href="<?php echo e(route('admin.accounts.companies.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
<button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--/actions-->
</div>
<?php echo Form::close(); ?>
</div>
</div>
<!-- END PAGE CONTENT-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts_page'); ?>
<?php echo \Illuminate\View\Factory::parentPlaceholder('scripts_page'); ?>
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js')); ?>"
type="text/javascript"></script>
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js')); ?>"
type="text/javascript"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradze/public_html/app/Modules/Accounts/Resources/Views/admin/companies/create_edit.blade.php ENDPATH**/ ?>