Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /home/elvh3918/public_html/tenant/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/elvh3918/public_html/tenant/storage/framework/views/fbd57a42d461d46a404f11b2174b86c4.php
<?php $__env->startSection('content-detail'); ?>
    <table class="table table-sm table-bordered mb-2">
        <thead class="bg-dark">
            <tr>
                <th class="text-center align-middle text-capitalize">type</th>
                <th class="text-center align-middle text-capitalize">item</th>
                <th class="text-center align-middle text-capitalize">price</th>
                <th class="text-center align-middle text-capitalize d-print-none"width="30px">#</th>
            </tr>
        </thead>
        <tbody id="tbody-item"></tbody>
    </table>

    <div class="d-flex justify-content-center">
        <button type="button" onclick='addNewItem()' class="btn btn-sm btn-outline-dark mr-2">
            <i class="fa fa-plus"></i>
            <span class="ml-1">Add New</span>
        </button>

        <button type="button" onclick='clearTableItem("item")' class="btn btn-sm btn-outline-danger">
            <i class="fa fa-trash"></i>
            <span class="ml-1">Clear</span>
        </button>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page-script-detail'); ?>
<script>
    function resetTableDetail(type) {
        var total_element = $(".rowCount" + type).length;
        if (total_element == 0) {
            var html="";
            html +='<tr>';
                html +='<td class="text-center align-middle text-capitalize text-muted" colspan="5">no matching records found</td>';
            html +='</tr>';

            $("#tbody-" + type).append(html);
        }
    }

    function addNewItem() {
        $('#modal_item').modal('toggle');
    }

    function clearTableItem(type) {
        document.getElementById("tbody-" + type).innerHTML = "";

        resetTableDetail('item');
    }
</script>
<?php $__env->stopSection(); ?><?php /**PATH /home/elvh3918/public_html/tenant/resources/views/content/trans/price/partials/detail.blade.php ENDPATH**/ ?>

Yohohohohohooho | Sanrei Aya