⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
1001ffb2eca36f86e2b852a7ad14d00e.php
<div class="row"> <div class="col-sm-12"> <div class="col-md-12 d-flex align-items-center justify-content-between justify-content-md-end mb-4"> <div class="col-md-6"> <ul class="nav nav-pills nav-fill cust-nav information-tab" id="pills-tab" role="tablist"> <li class="nav-item" role="presentation"> <button class="nav-link active" id="details" data-bs-toggle="pill" data-bs-target="#details-tab" type="button"><?php echo e(__('Details')); ?></button> </li> <li class="nav-item" role="presentation"> <button class="nav-link" id="pricing" data-bs-toggle="pill" data-bs-target="#pricing-tab" type="button"><?php echo e(__('Pricing')); ?></button> </li> <li class="nav-item" role="presentation"> <button class="nav-link" id="media" data-bs-toggle="pill" data-bs-target="#media-tab" type="button"><?php echo e(__('Media')); ?></button> </li> <li class="nav-item" role="presentation" id="warehouse"> <button class="nav-link" data-bs-toggle="pill" data-bs-target="#warehouse-tab" type="button"><?php echo e(__('Warehouse Details')); ?></button> </li> </ul> </div> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <input type="hidden" name="components_id" value="<?php echo e($components_id); ?>"> <input type="hidden" name="pms_id" value="<?php echo e($pms_id); ?>"> <input type="hidden" name="supplier_id" value="<?php echo e($supplier_id); ?>"> <input type="hidden" name="workorder_id" value="<?php echo e($workorder_id); ?>"> <div class="card"> <div class="card-body"> <div class="tab-content" id="pills-tabContent"> <div class="tab-pane fade show active" id="details-tab" role="tabpanel" aria-labelledby="pills-user-tab-1"> <div class="text-end mb-3"> <?php if(module_is_active('AIAssistant')): ?> <?php echo $__env->make('aiassistant::ai.generate_ai_btn', [ 'template_module' => 'product', 'module' => 'ProductService', ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <?php echo e(Form::label('name', __('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; ?> <div class="form-icon-user"> <?php echo e(Form::text('name', !empty($productService->name)?$productService->name:'', ['class' => 'form-control','required' => 'required', 'placeholder' => __('Enter Name')])); ?> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <?php echo e(Form::label('sku', __('SKU'), ['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; ?> <div class="input-group"> <?php echo e(Form::text('sku', !empty($productService->sku)?$productService->sku:'', ['class' => 'form-control','required' => 'required', 'placeholder' => __('Enter SKU')])); ?> <button class="btn btn-outline-primary" type="button" onclick="generateSKU()"><?php echo e(__('Generate')); ?></button> </div> </div> </div> </div> <div class="row"> <div class="form-group col-md-6"> <?php echo e(Form::label('tax_id', __('Tax'), ['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::select('tax_id[]', $tax,!empty($productService->tax_id)?explode(',', $productService->tax_id):'', ['class' => 'form-control choices tax_data', 'id' => 'choices-multiple1', 'multiple','required' => 'required'])); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('category_id', __('Category'), ['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::select('category_id', $category, !empty($productService->category_id)?$productService->category_id:'', ['class' => 'form-control', 'required' => 'required'])); ?> <div class=" text-xs"> <?php echo e(__('Please add constant category. ')); ?><a href="<?php echo e(route('category.index')); ?>"><b><?php echo e(__('Add Category')); ?></b></a> </div> </div> </div> <div class="form-group col-md-12"> <?php echo e(Form::label('description', __('Description'), ['class' => 'form-label'])); ?> <?php echo Form::textarea('description', !empty($productService->description)?$productService->description:'', ['class' => 'form-control', 'rows' => '2', 'placeholder' => __('Enter Description')]); ?> </div> <?php if(module_is_active('CustomField') && !$customFields->isEmpty()): ?> <div class="col-md-12"> <div class="tab-pane fade show" id="tab-2" role="tabpanel"> <?php echo $__env->make('custom-field::formBuilder', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <?php endif; ?> <div class="row"> <div class="col"></div> <div class="col-6 text-end"> <button class="btn btn-primary d-inline-flex align-items-center" onClick="changetab('#pricing-tab')" type="button"><?php echo e(__('Next')); ?><i class="ti ti-chevron-right ms-2"></i></button> </div> </div> </div> <div class="tab-pane fade" id="pricing-tab" role="tabpanel" aria-labelledby="pills-user-tab-2"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <?php echo e(Form::label('sale_price', __('Sale Price'), ['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; ?> <div class="form-icon-user"> <?php echo e(Form::number('sale_price', !empty($productService->sale_price)?$productService->sale_price:'', ['class' => 'form-control', 'step' => '0.01','required' => 'required', 'placeholder' => __('Enter Sale Price')])); ?> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <?php echo e(Form::label('purchase_price', __('Purchase Price'), ['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; ?> <div class="form-icon-user"> <?php echo e(Form::number('purchase_price', !empty($productService->purchase_price)?$productService->purchase_price:'', ['class' => 'form-control', 'step' => '0.01','required' => 'required', 'placeholder' => __('Enter Purchase Price')])); ?> </div> </div> </div> <?php echo $__env->yieldPushContent('add_column_in_productservice'); ?> <div class="form-group col-md-6"> <?php echo e(Form::label('unit_id', __('Unit'), ['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::select('unit_id', $unit, !empty($productService->unit_id)?$productService->unit_id:'', ['class' => 'form-control', 'required' => 'required'])); ?> </div> <div class="form-group col-md-6 quantity"> <?php echo e(Form::label('quantity', __('Quantity'), ['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::number('quantity', !empty($productService->quantity)?$productService->quantity:'0', ['class' => 'form-control', 'min' => '0','required' => 'required', 'placeholder' => __('Enter Quantity')])); ?> </div> </div> <div class="row mt-3"> <div class="col-6"> <button class="btn btn-outline-secondary d-inline-flex align-items-center" onClick="changetab('#details-tab')" type="button"><i class="ti ti-chevron-left me-2"></i><?php echo e(__('Previous')); ?></button> </div> <div class="col-6 text-end"> <button class="btn btn-primary d-inline-flex align-items-center" onClick="changetab('#media-tab')" type="button"><?php echo e(__('Next')); ?><i class="ti ti-chevron-right ms-2"></i></button> </div> </div> </div> <div class="tab-pane fade" id="media-tab" role="tabpanel" aria-labelledby="pills-user-tab-3"> <div class="col-sm-6 col-12 form-group"> <?php echo e(Form::label('image', __('Image'), ['class' => 'col-form-label'])); ?> <div class="choose-file form-group"> <label for="file" class="form-label d-block"> <input type="file" class="form-control file" name="image" id="file" data-filename="image_update" onchange="document.getElementById('blah').src = window.URL.createObjectURL(this.files[0])"> <?php if (!empty($productService->image) && check_file($productService->image) == true) { $path = get_file($productService->image); } else { $path = asset( 'packages/workdo/ProductService/src/Resources/assets/image/img01.jpg', ); } ?> <hr> <img id="blah" src="<?php echo e($path); ?>" alt="your image" width="100" height="100" /> </label> </div> </div> <div class="row"> <div class="col-6"> <button class="btn btn-outline-secondary d-inline-flex align-items-center" onClick="changetab('#pricing-tab')" type="button"><i class="ti ti-chevron-left me-2"></i><?php echo e(__('Previous')); ?></button> </div> <div class="col-6 text-end" id="nextButtonContainer"> <button class="btn btn-primary d-inline-flex align-items-center" onClick="changetab('#warehouse-tab')" type="button"><?php echo e(__('Next')); ?> <i class="ti ti-chevron-right ms-2"></i> </button> </div> </div> </div> <div class="tab-pane fade" id="warehouse-tab" role="tabpanel" aria-labelledby="pills-user-tab-4"> <div class="row"> <div class="col-lg-6 col-12"> <div class="form-group"> <?php echo e(Form::label('warehouse_id', __('Warehouse'), ['class' => 'form-label'])); ?> <?php echo e(Form::select('warehouse_id', $warehouse, !empty($productService->warehouse_id)?$productService->warehouse_id:'', ['class' => 'form-control select'])); ?> </div> </div> </div> <div class="d-flex flex-wrap align-items-center justify-content-between gap-3"> <div> <button class="btn btn-outline-secondary d-inline-flex align-items-center" onClick="changetab('#media-tab')" type="button"><i class="ti ti-chevron-left me-2"></i><?php echo e(__('Previous')); ?></button> </div> <div class="d-flex justify-content-end text-end"> <a class="btn btn-secondary btn-submit" href="<?php echo e(route('product-service.index')); ?>"><?php echo e(__('Cancel')); ?></a> <button class="btn btn-primary btn-submit ms-2" type="submit" id="submit"><?php echo e(__('Submit')); ?></button> </div> </div> </div> </div> </div> </div> </div> </div> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/ProductService/src/Providers/../Resources/views/product_section.blade.php ENDPATH**/ ?>