<div class="window-content" id="WindowContent">
    <div class="page-loader" style="display: none;"></div>
    <div class="pane-group">
        <?php if ($this->session->userdata('eposStyle') === 'RTL'): ?>
            <div class="pane-one-third sidebar order-sidebar-nav cart-pane">
                <?php $this->load->view('cart') ?>
            </div>
        <?php else: ?>
            <div class="pane-one-fifth sidebar order-sidebar-nav category-list tweenty-five-percent">
                <?php if (!empty($terminals) && in_array('itemScanner', $terminals)): ?>
                    <div class="item-code-window"><?php $this->load->view('code_form') ?></div>
                <?php endif; ?>
                <nav class="nav-group"><?php $this->load->view('category_nav') ?></nav>
            </div>
        <?php endif ?>
        <div class="pane" style="border:none;">
            <?php if (in_array('callerId', $this->session->userdata('userApps')) && $services['callerId'] === '3' && (!empty($terminals) && in_array('callerDevice', $terminals))): ?>
                <div class="caller-box clearfix">
                    <?php $this->load->view('caller_box') ?>
                </div>
            <?php endif; ?>
            <div class="clearfix"></div>
            <div class="menu-window">
                <?php $this->load->view('menu') ?>
            </div>
        </div>
        <?php if ($this->session->userdata('eposStyle') === 'LTR'): ?>
            <div class="pane-one-third sidebar order-sidebar-nav cart-pane">
                <?php $this->load->view('cart') ?>
            </div>
        <?php else: ?>
            <div class="pane-one-fifth sidebar order-sidebar-nav category-list tweenty-five-percent">
                <?php if (!empty($terminals) && in_array('itemScanner', $terminals)): ?>
                    <div class="item-code-window"><?php $this->load->view('code_form') ?></div>
                <?php endif; ?>
                <nav class="nav-group"><?php $this->load->view('category_nav') ?></nav>
            </div>
        <?php endif; ?>
    </div>
</div>