{include file="sections/header.tpl"}
<style>
    .card-body {
        font-size: 1.25rem; /* Adjust as needed */
    }
</style>

<div class="container-fluid">
    <div class="row">
        <div class="col-lg-6 mx-auto">
            <div class="card card-hover mb-3">
                <div class="card-body">
                    <form class="form-horizontal" method="post" action="{$_url}plan/print" target="_blank">
                        <pre id="content"></pre>
                        <textarea class="d-none" id="formcontent" name="content">{$print}</textarea>
                        <input type="hidden" name="id" value="{$in['id']}">
                        <a href="{$_url}plan/voucher" class="btn btn-secondary btn-sm">
                            <i class="ion-reply-all"></i> {Lang::T('Finish')}
                        </a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    document.getElementById('content').textContent = document.getElementById('formcontent').value;
</script>

{include file="sections/footer.tpl"}
