<commit_before><!-- 样式 -->
<style>
    #action{
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 16px;
        padding-bottom: 32px;
    }
    #lodop{
        max-width: 400px;
        padding: 0px 32px;
        /*visibility: hidden;*/
    }
</style>

<!-- 加载lodop -->
<script src="http://<?=$lodop["ip"].":".$lodop["port"]?>/CLodopfuncs.js"></script>

<!-- 打印操作 -->
<div id="action">
    <form class="am-form-inline" role="form">
        <!--<div class="am-form-group">
            <select id="print-select" size="1" class="am-form-field am-input-sm"></select>
        </div>

        <button type="button" class="am-btn am-btn-primary am-btn-sm" onclick="orderPrint(false);">打印</button>-->
        <button type="button" class="am-btn am-btn-success am-btn-sm" onclick="orderPrint(true);">预览打印</button>
    </form>
</div>

<!-- 打印内容 -->
<?php //var_dump($shop) ?>
<div id="lodop">
    <div style="padding: 0pt 5pt">
        <div style="text-align: center;margin-bottom: 5pt">
            <div style="font-size: 22pt;font-weight: 700;">T · G</div>
            <div style="font-size: 14pt;font-weight: 700;">THX GIVING</div>
        </div>

        <table style="width: 100%;font-size: 9pt;margin-bottom: 9pt">
            <tr><td>单号：<?=$order->order_num?></td><td style="text-align: right">日期：<?=date("Y-m-d H:i:s",$order->create_at)?></td></tr>
            <tr><td colspan="2">地址：<?=isset($shop["address"])?$shop["address"]:""?></td></tr>
            <tr><td colspan="2">档口座机：<?=isset($shop["phone"])?$shop["phone"]:""?></td></tr>
            <tr><td colspan="2">手机/微信：<?=isset($shop["owner_mobile"])?$shop["owner_mobile"]:""?></td></tr>
        </table>

        <table style="font-size: 9pt;margin-bottom: 9pt">
            <tr><td>客户：<?=$client->name?>（<?=$client->phone?>）</td></tr>
        </table><commit_msg>暂时关闭直接打印<commit_after><!-- 样式 -->
<style>
    #action{
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 16px;
        padding-bottom: 32px;
    }
    #lodop{
        max-width: 400px;
        padding: 0px 32px;
        /*visibility: hidden;*/
    }
</style>

<!-- 加载lodop -->
<script src="http://<?=$lodop["ip"].":".$lodop["port"]?>/CLodopfuncs.js"></script>

<!-- 打印操作 -->
<div id="action">
    <form class="am-form-inline" role="form">
        <div class="am-form-group" v-if="false">
            <select id="print-select" size="1" class="am-form-field am-input-sm"></select>
        </div>

        <button type="button" class="am-btn am-btn-primary am-btn-sm" onclick="orderPrint(false);" v-if="false">打印</button>
        <button type="button" class="am-btn am-btn-success am-btn-sm" onclick="orderPrint(true);">打印</button>
    </form>
</div>

<!-- 打印内容 -->
<?php //var_dump($shop) ?>
<div id="lodop">
    <div style="padding: 0pt 5pt">
        <div style="text-align: center;margin-bottom: 5pt">
            <div style="font-size: 22pt;font-weight: 700;">T · G</div>
            <div style="font-size: 14pt;font-weight: 700;">THX GIVING</div>
        </div>

        <table style="width: 100%;font-size: 9pt;margin-bottom: 9pt">
            <tr><td>单号：<?=$order->order_num?></td><td style="text-align: right">日期：<?=date("Y-m-d H:i:s",$order->create_at)?></td></tr>
            <tr><td colspan="2">地址：<?=isset($shop["address"])?$shop["address"]:""?></td></tr>
            <tr><td colspan="2">档口座机：<?=isset($shop["phone"])?$shop["phone"]:""?></td></tr>
            <tr><td colspan="2">手机/微信：<?=isset($shop["owner_mobile"])?$shop["owner_mobile"]:""?></td></tr>
        </table>

        <table style="font-size: 9pt;margin-bottom: 9pt">
            <tr><td>客户：<?=$client->name?>（<?=$client->phone?>）</td></tr>
        </table>
{'fraction_non_alphanumeric': 0.2552674230145867, 'fraction_numerical': 0.020529443544030253, 'mean_word_length': 2.9351753453772584, 'pattern_counts': {'":': 2, '<': 130, '<?xml version=': 0, '>': 138, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4221643', 'n_tokens_mistral': 1477, 'n_tokens_neox': 1415, 'n_words': 199}