ok
Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/ |
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/0e00bafa35933144f8b235c022c270d9.php |
<div class="d-flex px-4 py-3 c-inv-desc item-row"> <div class="c-inv-desc-table w-100 d-lg-flex d-md-flex d-block"> <table width="100%"> <tbody> <tr class="text-dark-grey font-weight-bold f-14"> <td width="<?php echo e($invoiceSetting->hsn_sac_code_show ? '40%' : '50%'); ?>" class="border-0 inv-desc-mbl btlr"><?php echo app('translator')->get('app.description'); ?></td> <?php if($invoiceSetting->hsn_sac_code_show): ?> <td width="10%" class="border-0" align="right"><?php echo app('translator')->get("app.hsnSac"); ?> </td> <?php endif; ?> <td width="10%" class="border-0" align="right"> <?php echo app('translator')->get('modules.invoices.qty'); ?> </td> <td width="10%" class="border-0" align="right"> <?php echo app('translator')->get("modules.invoices.unitPrice"); ?></td> <td width="13%" class="border-0" align="right"> <?php echo app('translator')->get('modules.invoices.tax'); ?> </td> <td width="17%" class="border-0 bblr-mbl" align="right"> <?php echo app('translator')->get('modules.invoices.amount'); ?></td> </tr> <tr> <td class="border-bottom-0 btrr-mbl btlr"> <input hidden name="item_ids[]" value="<?php echo e($item->id); ?>"> <input type="text" class="f-14 border-0 w-100 item_name bg-additional-grey" readonly name="item_name[]" placeholder="<?php echo app('translator')->get('modules.expenses.itemName'); ?>" value="<?php echo e($item->name); ?>"> </td> <?php if($invoiceSetting->hsn_sac_code_show): ?> <td class="border-bottom-0"> <span><?php echo e($item->hsn_sac_code); ?></span> <input type="hidden" class="form-control f-14 border-0 w-100 text-right hsn_sac_code" value="<?php echo e($item->hsn_sac_code); ?>" name="hsn_sac_code[]"> </td> <?php endif; ?> <td class="border-bottom-0 d-block d-lg-none d-md-none"> <input type="text" readonly class="f-14 border-0 w-100 mobile-description bg-additional-grey" placeholder="<?php echo app('translator')->get('placeholders.invoices.description'); ?>" name="item_summary[]" value="<?php echo e(strip_tags($item->description)); ?>"> </td> <td class="border-bottom-0"> <input type="number" min="1" class="f-14 border-0 w-100 text-right quantity mt-3" value="<?php echo e(1); ?>" name="quantity[]"> <span class="text-dark-grey float-right border-0 f-12"><?php echo e($item->unit->unit_type); ?></span> <input type="hidden" name="product_id[]" value="<?php echo e($item->id); ?>"> <input type="hidden" name="unit_id[]" value="<?php echo e($item->unit_id); ?>"> </td> <td class="border-bottom-0"> <input type="number" min="1" class="f-14 border-0 w-100 text-right cost_per_item bg-additional-grey" placeholder="0.00" value="<?php echo e($item->price); ?>" name="cost_per_item[]" readonly> </td> <td class="border-bottom-0"> <input class="form-control height-35 f-14 border-0 w-100 text-right bg-additional-grey" value="<?php echo e(strtoupper($item->tax_list) ?: '--'); ?>" readonly> <div class="select-others height-35 d-none rounded border-0"> <select id="multiselect" name="taxes[0][]" multiple="multiple" class="select-picker type customSequence border-0 bg-additional-grey" data-size="3"> <?php $__currentLoopData = $taxes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tax): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option data-rate="<?php echo e($tax->rate_percent); ?>" data-tax-text="<?php echo e(strtoupper($tax->tax_name) .':'. $tax->rate_percent); ?>%" <?php if(isset($item->taxes) && array_search($tax->id, json_decode($item->taxes)) !== false): ?> selected <?php endif; ?> value="<?php echo e($tax->id); ?>"> <?php echo e(strtoupper($tax->tax_name)); ?>: <?php echo e($tax->rate_percent); ?>%</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </td> <td rowspan="2" align="right" valign="top" class="bg-amt-grey btrr-bbrr"> <span class="amount-html"><?php echo e(number_format((float) (1 * $item->price), 2, '.', '')); ?></span> <input type="hidden" class="amount" name="amount[]" value="<?php echo e(number_format((float) (1 * $item->price), 2, '.', '')); ?>"> </td> </tr> <tr class="d-none d-md-block d-lg-table-row"> <td colspan="<?php echo e($invoiceSetting->hsn_sac_code_show ? '4' : '3'); ?>" class="dash-border-top bblr"> <textarea type="text" readonly class="f-14 border-0 w-100 desktop-description" name="item_summary[]" placeholder="<?php echo app('translator')->get('placeholders.invoices.description'); ?>"><?php echo e(strip_tags($item->description)); ?></textarea> </td> <td class="border-left-0"> <?php if($item->image_url != ''): ?> <input type="file" class="dropify" disabled name="invoice_item_image[]" data-allowed-file-extensions="png jpg jpeg" data-messages-default="test" data-height="70" data-default-file="<?php echo e($item->image_url); ?>" data-show-remove="false" /> <?php endif; ?> <input type="hidden" name="invoice_item_image_url[]" value="<?php echo e($item->image_url); ?>"> </td> </tr> </tbody> </table> <a href="javascript:;" class="d-flex align-items-center justify-content-center ml-3 remove-item" data-item-id="<?php echo e($item->id); ?>"><i class="fa fa-times-circle f-20 text-lightest"></i></a> </div> <script> $(function() { $(document).find('.dropify').dropify({ messages: dropifyMessages }); var quantity = $('#sortable').find('.quantity[data-item-id="<?php echo e($item->id); ?>"]').val(); var perItemCost = $('#sortable').find('.cost_per_item[data-item-id="<?php echo e($item->id); ?>"]').val(); var amount = (quantity * perItemCost); $('#sortable').find('.amount[data-item-id="<?php echo e($item->id); ?>"]').val(amount); $('#sortable').find('.amount-html[data-item-id="<?php echo e($item->id); ?>"]').html(amount); calculateTotal(); }); </script> </div> <?php /**PATH /home2/selectio/public_html/fms-worksuite/resources/views/orders/ajax/add_item.blade.php ENDPATH**/ ?>