<div id="modal-content<?php echo e($data_num??''); ?>" class="modal-contents p-history-modal" style="display: none">
    <div id="modal_open">
        <main id="modal_main">
        <?php if(isset($history)): ?>
        <table>
            <tr><th colspan="4">
                <span>履歴</span>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="modal-close">×</button></th></tr>
            <?php $__currentLoopData = $history; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $his): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if(!$loop->last): ?>
                <tr>
                    <td>変更履歴</td>
                    <td><?php echo e($his->price); ?>万円</td>
                    <td><?php echo e($his->regist_date); ?></td>
                    <td><a href="javascript:;" class="btn-delete-history" history-change-id="<?php echo e($his->id); ?>">削除</a></td>
                </tr>
                <?php else: ?>
                <tr>
                    <td class="title">登録</td>
                    <td><?php echo e($his->price); ?>万円</td>
                    <td class="date"><?php echo e($his->regist_date); ?></td>
                    <td></td>
                </tr>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </table>
        <?php endif; ?>
        </main>
    </div>
</div>
