<div class="mt-lg-3">
    <!--[if BLOCK]><![endif]--><?php if(session()->has('message')): ?>
        <div class="alert alert-<?php echo e(session('alert-type')); ?> alert-dismissible fade show" role="alert">
            <?php echo e(session('message')); ?>

            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        </div>
    <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
    <p class="text-primary"><!--[if BLOCK]><![endif]--><?php if(session('Promo-GWP-ValueFreeItemFulfil' . auth()->user()->id)): ?>
        <span class="border border-spacing-1 px-4 py-1 rounded-2 border-primary">
            You qualify for the GWP Promotion
        </span>
        
        <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
    </p>
    
    

    
    
    
    <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.additem', []);

$__html = app('livewire')->mount($__name, $__params, 'aKK3Fny', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
    

    <div class="mt-4">
        <div class="d-flex justify-content-between">
            <div class="d-flex gap-5 col-lg-6">
                <div class="col-sm-4 col-md-4 col-lg-6" x-data="{ selectedIndexMember: null }" x-init="selectedIndexMember = -1">
                    <div class="form-group">
                        <div class="d-flex" style="flex-direction: column">
                            
                            <div class="input-group gap-1">
                                <input type="text" class="form-control" wire:model.debounce.100ms.live="searchmember"
                                id="searchMemberInput" placeholder="Guest"
                                @keydown.arrow-down.prevent="selectedIndexMember = Math.min(selectedIndexMember + 1, 10)"
                                @keydown.arrow-up.prevent="selectedIndexMember = Math.max(selectedIndexMember - 1, -1)"
                                x-on:keydown.enter="
                                if(selectedIndexMember == -1) {
                                    $wire.selectMemberByCode();
                
                                }else{
                                    $wire.selectMember(selectedIndexMember);
                                    selectedIndexMember = -1;
                                }" autocomplete="off">
        
                                <div class="input-group-append mt-1 d-flex">
                                    <span class="">
                                        <!--[if BLOCK]><![endif]--><?php if(session()->has('member')): ?>
                                            <div style="cursor: pointer" class="" wire:click="clearSession"
                                                wire:keydown.window.ctrl.m="clearSession">
                                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="28"
                                                height="28" style="color: #FBA834">
                                                <path fill-rule="evenodd"
                                                    d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z"
                                                    clip-rule="evenodd" />
                                                </svg>
                                            </div>
                                        <?php else: ?>
                                            <div style="cursor: pointer" class="" disabled>
                                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="28"
                                                height="28" style="color: #FBA834">
                                                <path fill-rule="evenodd"
                                                    d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z"
                                                    clip-rule="evenodd" />
                                            </svg>
                                        </div>
                                        <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
                                    </span>
                                    <h6 class="shortcut">F1</h6>
                                </div>
                            </div>
                        </div>
                        <!--[if BLOCK]><![endif]--><?php if($selectedMember === null && $isDropdownVisible): ?>
                            <div class="dropdown-menu d-block py-0">
                                <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $members; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $member): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="px-2 py-1 border-bottom"
                                        :class="{ 'bg-primary': selectedIndexMember === <?php echo e($index); ?> }">
                                        <div class="d-flex flex-column ml-3">
                                            <button type="button" class="btn btn-link" id="ddown-style" data-bs-target="#modalOTP"
                                            :class="{ 'text-white': selectedIndexMember === <?php echo e($index); ?> }"
                                                data-bs-toggle="modal" wire:click="selectMemberByClick('<?php echo e($member->code); ?>')">
                                                <?php echo e($member->code); ?> || <?php echo e($member->name); ?> || <?php echo e($member->email); ?>

                                            </button>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!--[if ENDBLOCK]><![endif]-->
                            </div>
                        <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
                    </div>
                </div>
                
                <div class="col-sm-4 col-md-4 col-lg-6" x-data="{ selectedIndex: null }" x-init="selectedIndex = -1">
                    <div class="form-group">
                        
                        <div class="d-flex kode-produk">
                            <div class="input-group gap-1">
                                <input type="text" class="form-control" wire:model="form.itemname" wire:model.live="search"
                                    placeholder="Type to search..." id="searchInput" autofocus autocomplete="off"
                                    @keydown.arrow-down.prevent="selectedIndex = Math.min(selectedIndex + 1, <?php echo e(sizeof($products) - 1); ?>)"
                                    @keydown.arrow-up.prevent="selectedIndex = Math.max(selectedIndex - 1, -1)"
                                    x-on:keydown.enter="
                                            if(selectedIndex == -1) {
                                                $wire.selectProductByName();
                                            } else {
                                                $wire.selectProduct(selectedIndex);
                                                selectedIndex = -1; 
                                            }"
                                    x-on:keydown.tab.prevent="
                                            selectedIndex = Math.min(selectedIndex + 1, <?php echo e(count($products) - 1); ?>);
                                            event.preventDefault();
                                        ">
        
                                <?php if($selectedProduct === null && sizeof($products) > 0): ?>
                                    <div class="dropdown-menu d-block py-0 mt-lg-5">
                                        <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="px-2 py-1 border-bottom"
                                                :class="{ 'bg-primary': selectedIndex === <?php echo e($index); ?> }">
                                                <div class="d-flex flex-column ml-3">
                                                    <button type="button" id="ddown-style" class="btn btn-link" wire:click="selectProductByClick('<?php echo e($product->barcode); ?>')"
                                                        :class="{ 'text-white': selectedIndex === <?php echo e($index); ?> }">
                                                        <?php echo e($product->code); ?> || <?php echo e($product->name); ?>

                                                    </button>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!--[if ENDBLOCK]><![endif]-->
                                    </div>
                                <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
        
                                <div class="input-group-append mt-1 d-flex">
                                    <div class="" type="submit"
                                        <?php if(strlen($search) >= 1): ?> wire:click="selectProductByButton('<?php echo e($search); ?>')" 
                                        <?php else: ?> 
                                        disabled <?php endif; ?>>
                                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="28"
                                        height="28" style="color: #387ADF">
                                            <path fill-rule="evenodd"
                                                d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 9a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V15a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V9Z"
                                                clip-rule="evenodd" />
                                        </svg>
                                    </div>
                                    <h6 class="shortcut">F2</h6>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <input type="text" wire.model="form.itemname" class="form-control form-control-md" readonly
                <?php if($selectedProduct): ?> value="<?php echo e($selectedProduct->name); ?>" <?php endif; ?> hidden>
            <input type="text" wire.model="form.itemprice" placeholder="0"
                class="form-control text-right form-control-md" readonly
                <?php if($selectedProduct): ?> value="<?php echo e($price); ?>" <?php endif; ?> hidden>
            <input type="text" wire.model="form.itemqty" placeholder="0" class="form-control text-right form-control-md"
                readonly <?php if($selectedProduct): ?> value="1" <?php endif; ?> hidden>
            
    
            <div class="col-sm-8 col-md-3 col-lg-3 col-xl-2">
                <?php if($countinv > 0): ?>
                    <div class="d-flex justify-content-end justify-content-center sandbox">
                        <a href="" data-bs-target="#modalChangeInv" data-bs-toggle="modal"
                            style="cursor: pointer; align-items: center; color: white">
                            <?php echo e($countinv); ?> Invoices Sandbox!
                        </a>
                    </div>
                <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
            </div>
        </div>
        
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.table');

$__html = app('livewire')->mount($__name, $__params, '50u3yGW', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.invoice', []);

$__html = app('livewire')->mount($__name, $__params, 'Oawfz2I', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.select-discount', []);

$__html = app('livewire')->mount($__name, $__params, 'zpzIkTV', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.process-discount', []);

$__html = app('livewire')->mount($__name, $__params, 'P20aHps', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.process-disc-bundling', []);

$__html = app('livewire')->mount($__name, $__params, 'MSoRrvZ', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>

        
        <div wire:ignore.self class="modal fade " id="salesModal" tabindex="-1" aria-labelledby="exampleModalLabel"
            aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="exampleModalLabel">Sales</h5>
                    </div>
                    <div class="modal-body">
                        <div class="form-group">

                            <div class="" x-data="{ selectedIndexSales: null }" x-init="selectedIndexSales = -1">
                                <label class="small text-muted mb-1">Sales : <?php echo e($searchsales); ?></label>
                                <input type="text" class="form-control" wire:model.live="form.sales"
                                    placeholder="No Sales Employee" hidden>
                                <input type="text" class="form-control"
                                    wire:model.debounce.100ms.live="searchsales" placeholder="No Sales Employee"
                                    id="searchSalesModal" autofocus autocomplete="off"
                                    @keydown.arrow-down.prevent="selectedIndexSales = Math.min(selectedIndexSales + 1, <?php echo e(count($sales) - 1); ?>)"
                                    @keydown.arrow-up.prevent="selectedIndexSales = Math.max(selectedIndexSales - 1, -1)"
                                    x-on:keydown.enter="
                                        if(selectedIndexSales == -1) {
                                           
                                        } else {
                                            $wire.selectSalesModal(selectedIndexSales);
                                            selectedIndexSales = -1; 
                                        }"
                                    x-on:keydown.tab.prevent="
        selectedIndexSales = Math.min(selectedIndexSales + 1, <?php echo e(count($sales) - 1); ?>);
        event.preventDefault();
    ">
                                <!--[if BLOCK]><![endif]--><?php if($selectedSales === null && $isDropdownsalesVisible): ?>
                                    <div class="dropdown-menu d-block py-0" style="width:469px;">
                                        <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $sales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $sale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="px-2 py-1 border-bottom"
                                                :class="{ 'bg-primary': selectedIndexSales === <?php echo e($index); ?> }">
                                                <div class="d-flex flex-column ml-3">
                                                
                                                <button type="button" class="btn btn-link" id="ddown-style"
                                                :class="{ 'text-white': selectedIndexSales === <?php echo e($index); ?> }"
                                                        wire:click="selectSalesByClick('<?php echo e($sale->code); ?>')">
                                                        <?php echo e($sale->code); ?> || <?php echo e($sale->name); ?>

                                                    </button>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!--[if ENDBLOCK]><![endif]-->
                                    </div>
                                <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
                            </div>

                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="button-custom-primary" wire:click="selectSalesBySave"
                            data-bs-dismiss="modal">Save</button>
                    </div>
                </div>
            </div>
        </div>
        <div wire:ignore.self class="modal fade" data-bs-backdrop="static" id="modalZ" tabindex="-1"
            aria-labelledby="modalZLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="staticBackdropLabel">Alert</h5>
                        <button type="button" class="btn-close" data-bs-dismiss="modal"
                            aria-label="Close"></button>
                    </div>
                    <div class="modal-body text-center">
                        <h2>Printer Not Found, Data Saved Without Printing !</h2>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="button-custom-primary" data-bs-dismiss="modal">OK</button>
                    </div>
                </div>
            </div>
        </div>

        <div wire:ignore.self class="modal fade" data-bs-backdrop="static" id="nonSales" tabindex="-1"
            aria-labelledby="nonSalesLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="staticBackdropLabel">Alert</h5>
                        <button type="button" class="btn-close" data-bs-dismiss="modal"
                            aria-label="Close"></button>
                    </div>
                    <div class="modal-body text-center">
                        <h2>This item is non sales.</h2>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="button-custom-primary" data-bs-dismiss="modal">OK</button>
                    </div>
                </div>
            </div>
        </div>

        <div wire:ignore.self class="modal fade" data-bs-backdrop="static" id="nonActive" tabindex="-1"
            aria-labelledby="nonActiveLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="staticBackdropLabel">Alert</h5>
                        <button type="button" class="btn-close" data-bs-dismiss="modal"
                            aria-label="Close"></button>
                    </div>
                    <div class="modal-body text-center">
                        <h2>This item is non active.</h2>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="button-custom-primary" data-bs-dismiss="modal">OK</button>
                    </div>
                </div>
            </div>
        </div>

        <div wire:ignore.self class="modal fade" data-bs-backdrop="static" id="modalOTP" tabindex="-1"
            aria-labelledby="modalOTPLabel" aria-hidden="true" data-bs-keyboard="false">
            <div class="modal-dialog modal-dialog-centered">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="exampleModalLabel">Insert OTP</h5>
                        <h5><?php echo e($errMsg); ?></h5>
                    </div>
                    <div class="modal-body">
                        <div class="col mb-3">
                            <div class="form-group">
                                <label class="small text-muted mb-1">OTP</label>
                                <div class="d-flex">
                                    <input type="text" class="form-control" wire:model.live="reqOTP" autofocus
                                        autocomplete="off">
                                </div>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button id="resendButton" class="btn btn-warning" wire:click="resendOTP"
                                onclick="startCountdown()" <?php if($enable): ?> <?php else: ?> disabled <?php endif; ?>>
                                Resend OTP
                            </button>
                            <button class="button-custom-primary" wire:click="verifyOTP">Save</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('cashier.add-cheapest-item', []);

$__html = app('livewire')->mount($__name, $__params, 'vaS9vuO', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>

        


    </div>
    <script>
        document.addEventListener('keydown', function(event) {
            if (event.key === 'F1') {
                event.preventDefault();
                if (window.Livewire.find('<?php echo e($_instance->getId()); ?>').modalOpen) {
                    Livewire.dispatch('F1ModalOpen');

                    console.log('modal Open')
                } else {
                    document.getElementById('searchMemberInput').focus();
                }

            }
            if (event.key === 'F2') {
                event.preventDefault();
                if (window.Livewire.find('<?php echo e($_instance->getId()); ?>').modalOpen) {
                    Livewire.dispatch('F2ModalOpen');

                    console.log('modal Open')
                } else {
                    document.getElementById('searchInput').focus();
                }

            }
        });

        window.addEventListener('keydown', function(event) {
            if (window.Livewire.find('<?php echo e($_instance->getId()); ?>').isSalesModalVisible) {
                if (event.key === 'Enter') {
                    window.Livewire.find('<?php echo e($_instance->getId()); ?>').selectSalesBySave();
                }
            } else {
                if (event.key === 'Enter') {
                    if (window.Livewire.find('<?php echo e($_instance->getId()); ?>').openmodalDisc) {
                        window.Livewire.find('<?php echo e($_instance->getId()); ?>').saveDiscount();
                    } else {
                        // if(window.Livewire.find('<?php echo e($_instance->getId()); ?>').selectedProduct !== null){
                            window.Livewire.find('<?php echo e($_instance->getId()); ?>').save();
                        // }
                    }
                }
            }

        });

        Livewire.on('focusInput', () => {
            setTimeout(() => {
                document.getElementById('searchInput').focus();
            }, 300);
        });

        Livewire.on('selectedSalesChanged', () => {
            setTimeout(() => {
                $('#salesModal').modal('hide');
            }, 300);
        });
        Livewire.on('printernotfound', () => {
            $('#modalZ').modal('show');
        });

        Livewire.on('itemnonsales', () => {
            $('#nonSales').modal('show');
        });

        Livewire.on('itemnonactive', () => {
            $('#nonActive').modal('show');
        });

        Livewire.on('itemnotfound', () => {
            $('#exampleModal').modal('show');
        });
        Livewire.on('closeModal', () => {
            $('#exampleModal').modal('hide');
        });
        Livewire.on('closeModalCheapest', () => {
            $('#modalCheapest').modal('hide');
        });
        Livewire.on('openTheModal', () => {
            $('#selectDiscount').modal('show');
        });
        Livewire.on('openModalCheapest', () => {
            $('#modalCheapest').modal('show');
        });
        Livewire.on('openModalOTP', () => {
            $('#modalOTP').modal('show');
        });
        Livewire.on('closeModalOTP', () => {
            $('#modalOTP').modal('hide');
        });

        Livewire.on('openModalProcessDiscountBlade', () => {
            $('#modalProcessDiscount').modal('show');
        });

        Livewire.on('openModalProcessDiscBundleBlade', () => {
            $('#modalDiscBundle').modal('show');
        });

        Livewire.on('salesModal', () => {
            $('#salesModal').modal('show');
            setTimeout(() => {
                var searchSalesModal = document.getElementById('searchSalesModal').focus();;
                if (searchSalesModal) {
                    searchSalesModal.focus();
                }
            }, 500); // Adjust the delay as needed after the page has finished reloading
        });

        // Function to update the clock time
        function updateClock() {
            var currentTime = new Date();
            var hours = currentTime.getHours();
            var minutes = currentTime.getMinutes();
            var seconds = currentTime.getSeconds();

            // Add leading zeroes to the time values if less than 10
            hours = (hours < 10 ? '0' : '') + hours;
            minutes = (minutes < 10 ? '0' : '') + minutes;
            seconds = (seconds < 10 ? '0' : '') + seconds;

            // Format the time
            var formattedTime = hours + ':' + minutes + ':' + seconds;

            // Display the time in the HTML element
            document.getElementById('realTimeClock').innerHTML = formattedTime + ' WITA';
        }

        // Update the clock initially
        updateClock();

        // Update the clock every second
        setInterval(updateClock, 1000);

        Livewire.on('countdown', () => {
            let countdown = 15;
            let button = document.getElementById('resendButton');

            Livewire.dispatch('disabledbutton')

            let interval = setInterval(function() {
                countdown--;
                if (countdown > 0) {
                    button.textContent = 'Resend OTP (' + countdown + 's)';
                } else {
                    clearInterval(interval);
                    button.textContent = 'Resend OTP';
                    button.disabled = false;
                    Livewire.dispatch('enablebutton')
                }
            }, 1000);
        });

        function trueSuggestion() {
            Livewire.dispatch('trueSuggestion');
        }

        Livewire.on('toPrint', (no) => {
            var url = "<?php echo e(route('report.print', ':no')); ?>".replace(':no', no);

            // Open new tab for printing
            var printWindow = window.open(url, "_blank");

            // Focus back on the current window
            window.focus();
        });

        document.addEventListener('visibilitychange', function() {
            if (document.visibilityState === 'visible') {
               Livewire.dispatch('tabFocusedforNotifySuccess');
            } 
        });

        Livewire.on('aftersuccessToBrowser', () => {
            window.location.reload();
        });
    </script>
<?php /**PATH C:\laragon\www\rybc\resources\views/livewire/cashier/transaction.blade.php ENDPATH**/ ?>