⚝
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
/
crm.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
7665830e27e61527e3a0b3e10e8bf895daa7c035.php
<div class="card-body"> <div class="alert alert-danger d-none" id="validationErrorsBox"></div> <div class="row"> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('title', __('messages.products.title').':')); ?><span class="required">*</span> <?php echo e(Form::text('title', isset($creditNote->title) ? $creditNote->title : null, ['class' => 'form-control', 'required','autocomplete' => 'off','autofocus','placeholder'=> __('messages.products.title')])); ?> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('credit_note_number', __('messages.credit_note.credit_note_number').':')); ?><span class="required">*</span> <div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text"> <?php echo e(__('messages.credit_note.credit_note_prefix')); ?> </div> </div> <?php echo e(Form::text('credit_note_number', isset($creditNote->credit_note_number) ? $creditNote->credit_note_number : generateUniqueCreditNoteNumber(), ['class' => 'form-control', 'required', 'id' => 'creditNoteNumber','readonly','placeholder'=>__('messages.credit_note.credit_note_number')])); ?> </div> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('customer', __('messages.invoice.customer').':')); ?><span class="required">*</span> <?php echo e(Form::select('customer_id', $data['customers'], isset($customerId) ? $customerId : null, ['class' => 'form-control', 'required', 'id' => 'customerSelectBox', 'placeholder' => __('messages.placeholder.select_customer')])); ?> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('credit_note_date', __('messages.credit_note.credit_note_date').':')); ?> <span class="required">*</span> <div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text"> <i class="fas fa-calendar-alt"></i> </div> </div> <?php echo e(Form::text('credit_note_date', isset($creditNote->credit_note_date) ? $creditNote->credit_note_date : null, ['class' => 'form-control datepicker', 'required', 'autocomplete' => 'off','placeholder'=> __('messages.credit_note.credit_note_date')])); ?> </div> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('currency', __('messages.customer.currency').':')); ?><span class="required">*</span> <select id="creditNoteCurrencyId" data-show-content="true" class="form-control currency-select-box" name="currency" required> <option value="0" disabled="true" selected="true"><?php echo e(__('messages.placeholder.select_currency')); ?></option> <?php $__currentLoopData = $data['currencies']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e(($key == getCurrentCurrencyIndex(getCurrentCurrency())) ? 'selected' : ''); ?>> &#<?php echo e(getCurrencyIcon($key)); ?> <?php echo e($currency); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('discount_type', __('messages.invoice.discount_type').':')); ?><span class="required">*</span> <?php echo e(Form::select('discount_type', $data['discountType'], isset($creditNote->discount_type) ? $creditNote->discount_type : null, ['class' => 'form-control', 'required','id' => 'discountTypeSelect', 'placeholder' => __('messages.placeholder.select_discount_type')])); ?> </div> <div class="form-group col-lg-4 col-md-4 col-sm-12"> <?php echo e(Form::label('reference', __('messages.credit_note.reference').':')); ?> <?php echo e(Form::text('reference', isset($creditNote->reference) ? $creditNote->reference : null, ['class' => 'form-control','autocomplete' => 'off','placeholder'=> __('messages.credit_note.reference')])); ?> </div> <div class="form-group col-lg-2 col-md-4 col-sm-12"> <a href="#" data-toggle="modal" data-target="#addModal" class="mr-3 addressModalIcon"><i class="fa fa-edit"></i></a> <?php echo e(Form::label('bill_to', __('messages.invoice.bill_to').':')); ?> <div id="bill_to" class="ml-5"> _ _ _ _ _ _ </div> </div> <div class="form-group col-lg-2 col-md-4 col-sm-12"> <?php echo e(Form::label('ship_to', __('messages.invoice.ship_to').':')); ?> <div id="ship_to"> _ _ _ _ _ _ </div> </div> <div class="form-group col-sm-12 col-lg-12 col-md-12"> <?php echo e(Form::label('admin_note', __('messages.invoice.admin_note').':')); ?> <?php echo e(Form::textarea('admin_text', isset($settings) ? ($settings['admin_note']) : null, ['class' => 'form-control summernote-simple'])); ?> </div> </div> <hr> <br> <div class="row"> <div class="form-group col-lg-6 col-md-12 col-sm-12"> <?php echo e(Form::select('item', $data['items'], null, ['class' => 'form-control', 'id' => 'addItemSelectBox', 'placeholder' => __('messages.placeholder.select_product')])); ?> </div> <div class="form-group col-lg-6 col-md-12 col-sm-12 showQuantityAs d-flex align-items-center justify-content-end"> <span class="font-weight-bold mr-2"><?php echo e(__('messages.invoice.show_quantity_as').':'); ?></span> <div class="float-right showQuantityAs"> <div class="custom-control custom-radio mr-3 d-inline-block"> <input type="radio" id="qty" name="unit" required value="1" class="custom-control-input" data-quantity-for="qty" checked> <label class="custom-control-label" for="qty"><?php echo e(__('messages.invoice.qty')); ?></label> </div> <div class="custom-control custom-radio mr-3 d-inline-block"> <input type="radio" id="hours" name="unit" required value="2" class="custom-control-input" data-quantity-for="hours"> <label class="custom-control-label" for="hours"><?php echo e(__('messages.invoice.hours')); ?></label> </div> <div class="custom-control custom-radio d-inline-block"> <input type="radio" id="qtyHours" name="unit" required value="3" class="custom-control-input" data-quantity-for="qtyHours"> <label class="custom-control-label" for="qtyHours"><?php echo e(__('messages.invoice.qty/hours')); ?></label> </div> </div> </div> </div> <div class="row"> <div class="form-group col-lg-12 col-md-12 col-sm-12 overflow-section"> <table class="table table-responsive-sm table-responsive-md table-striped table-bordered"> <thead> <tr> <th><?php echo e(__('messages.invoice.item')); ?><span class="required">*</span></th> <th><?php echo e(__('messages.common.description')); ?></th> <th class="small-column"><span class="qtyHeader"><?php echo e(__('messages.invoice.qty')); ?></span><span class="required">*</span></th> <th class="small-column"><?php echo e(__('messages.products.rate')); ?>(<i data-set-currency-class="true"></i>)<span class="required">*</span></th> <th class="medium-column"><?php echo e(__('messages.products.tax')); ?>(<i class="fas fa-percentage"></i>)</th> <th class="small-column"><?php echo e(__('messages.invoice.amount')); ?><span class="required">*</span></th> <th class="button-column"><a href="#" id="itemAddBtn"><i class="fas fa-plus"></i></a></th> </tr> </thead> <tbody class="items-container"> <tr> <th><input type="text" name="item[]" class="form-control item-name" required placeholder="<?php echo e(__('messages.invoice.item')); ?>"></th> <td><textarea name="description[]" class="form-control item-description" placeholder="<?php echo e(__('messages.common.description')); ?>"></textarea></td> <td><input type="text" name="quantity[]" class="form-control qty" required min="0" placeholder="<?php echo e(__('messages.invoice.qty')); ?>"></td> <td><input type="text" name="rate[]" class="form-control rate" required placeholder="<?php echo e(__('messages.products.rate')); ?>"></td> <td class=""> <select name="" class="form-control tax-rates" multiple> </select> </td> <td><i data-set-currency-class="true"></i> <span class="item-amount">0</span></td> <td></td> </tr> </tbody> </table> </div> </div> <div class="row"> <div class="form-group col-lg-2 col-md-6 col-sm-12"> <?php echo e(Form::label('sub_total', __('messages.invoice.sub_total').':')); ?> <p><i data-set-currency-class="true"></i> <span class="footer-numbers sub-total" id="subTotal">0</span> </p> </div> <div class="col-lg-3 col-md-6 col-sm-12"> <div class="fDiscount form-group"> <?php echo e(Form::label('discount', __('messages.invoice.discount').':')); ?> (<i data-set-currency-class="true"></i> <span class="footer-discount-numbers">0</span>) <div class="input-group"> <?php echo e(Form::text('final_discount', 0, ['class' => 'form-control footer-discount-input','placeholder'=>__('messages.invoice.discount')])); ?> <div class="input-group-append"> <select class="input-group-text dropdown" id="footerDiscount" name="discount_symbol"> <div class="dropdown-menu"> <option value="1" class="dropdown-item">%</option> <option value="2" class="dropdown-item"><?php echo e(__('messages.invoice.fixed')); ?></option> </div> </select> </div> </div> </div> <table id="taxesListTable" class="w-100"> </table> </div> <div class="form-group col-lg-3 col-md-6 col-sm-12"> <?php echo e(Form::label('adjustment', __('messages.invoice.adjustment').':')); ?> (<i data-set-currency-class="true"></i> <span class="adjustment-numbers">0</span>) <?php echo e(Form::number('adjustment', 0, ['class' => 'form-control', 'id' => 'adjustment','autocomplete' => 'off','placeholder'=>__('messages.invoice.adjustment')])); ?> </div> <div class="form-group col-lg-3 col-md-6 col-sm-12"> <?php echo e(Form::label('total', __('messages.invoice.total').':')); ?> <p><i data-set-currency-class="true"></i> <span class="total-numbers">0</span></p> </div> </div> <div class="row"> <div class="form-group col-sm-12 col-lg-12 col-md-12"> <?php echo e(Form::label('client_note', __('messages.invoice.client_note').':')); ?> <?php echo e(Form::textarea('client_note', isset($settings) ? ($settings['client_note']) : null, ['class' => 'form-control summernote-simple'])); ?> </div> <div class="form-group col-sm-12 col-lg-12 col-md-12"> <?php echo e(Form::label('terms_conditions', __('messages.invoice.terms_conditions').':')); ?> <?php echo e(Form::textarea('term_conditions', isset($settings) ? ($settings['term_and_conditions']) : null, ['class' => 'form-control summernote-simple'])); ?> </div> </div> <div class="row"> <div class="form-group col-sm-12"> <div class="btn-group dropup open"> <a href="#" class="btn btn-primary" id="saveAsDraft" data-status="0"><?php echo e(__('messages.common.save')); ?></a> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-left width200"> <li> <a href="#" class="dropdown-item" id="saveAsDraft" data-status="0"><?php echo e(__('messages.credit_note.save_as_draft')); ?></a> </li> <li> <a href="#" class="dropdown-item" id="saveAndSend" data-status="1"><?php echo e(__('messages.credit_note.save_and_send')); ?></a> </li> </ul> </div> <a href="<?php echo e(url()->previous()); ?>" class="btn btn-secondary text-dark ml-2"><?php echo e(__('messages.common.cancel')); ?></a> </div> </div> </div> <?php /**PATH /home/id/crm.dev-unit.com/resources/views/credit_notes/fields.blade.php ENDPATH**/ ?>