⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.220
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
14442d2d8a8b171483e65bf79db79ba0.php
<?php echo e(Form::model($category, ['route' => ['category.update', $category->id], 'method' => 'PUT','enctype' => 'multipart/form-data','class' => 'needs-validation', 'novalidate'])); ?> <div class="modal-body"> <div class="row"> <div class="form-group col-md-12"> <?php echo e(Form::label('name', __('Category Name'), ['class' => 'form-label'])); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::text('name', null, ['class' => 'form-control font-style', 'required' => 'required','placeholder'=>'Enter Category Name'])); ?> </div> <?php if($category->type != 0): ?> <div class="form-group col-md-12"> <?php echo e(Form::label('chart_account_id', __('Account'),['class'=>'form-label'])); ?> <select name="chart_account_id" class="form-control" required="required"> <?php $__currentLoopData = $chartAccounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $chartAccount): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" class="subAccount" <?php echo e($key == $category->chart_account_id ? 'selected' : ''); ?>><?php echo e($chartAccount); ?></option> <?php $__currentLoopData = $subAccounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subAccount): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($key == $subAccount['account']): ?> <option value="<?php echo e($subAccount['id']); ?>" class="ms-5" <?php echo e($subAccount['id'] == $category->chart_account_id ? 'selected' : ''); ?>> <?php echo e($subAccount['code']); ?> - <?php echo e($subAccount['name']); ?></option> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php endif; ?> <div class="form-group col-md-12"> <?php echo e(Form::label('color', __('Category Color'), ['class' => 'form-label'])); ?> <?php echo e(Form::color('color', null, ['class' => 'form-control jscolor', 'required' => 'required'])); ?> <p class="small"><?php echo e(__('For chart representation')); ?></p> </div> <?php echo $__env->yieldPushContent('items_image_edit'); ?> </div> </div> <div class="modal-footer"> <input type="button" value="<?php echo e(__('Cancel')); ?>" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="<?php echo e(__('Update')); ?>" class="btn btn-primary"> </div> <?php echo e(Form::close()); ?> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/ProductService/src/Providers/../Resources/views/category/edit.blade.php ENDPATH**/ ?>