123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="panel panel-default">
- <div class="panel-heading clearfix">
- 打印缴费单
- <div class="btn-group pull-right">
- <a href="javascript:history.go(-1);">返回</a>
- </div>
- </div>
- <div class="panel-body" id="printer">
- <style>
- td,th{
- font-size: 16px;
- }
- table tr td, table tr th{
- border: 2px solid #000!important;
- padding: 0 5px!important;
- }
- </style>
- <div class="table-all" style="width: 90%;height: 100px;margin: 0 auto;">
- <div class="table-title" style="width: 100%;text-align: center;font-size: 38px;padding-bottom: 20px;overflow: hidden;">{$info['xq_title']}</div>
- <div class="title-bottom" style=" width: 100%;padding-bottom: 10px;">
- <text class="pjh" style=" text-align: right;float: right;margin-right: 0px;">票据号:{$info['sn']}</text>
- <text class="dp-time" style="text-align: right;float: right;margin-right: 20px;">打票时间:{$curDate}</text>
- </div>
- </div>
- <table border="1" style="width: 90%;margin: 0 auto;">
- <tr>
- <td style="text-align: left" colspan="3">今日收到 {$info['full_name']} ({$info['titles']}) ————交到下列款项</td>
- </tr>
- <tr class="text-center">
- <td>项目</td>
- <td>摘要</td>
- <td>金额</td>
- </tr>
- {foreach $info['logs'] as $key => $value}
- <tr class="text-center">
- <td>
- {$value['fee_title']}
- </td>
- <td>
- {if $value['start']}
- {$value['start']} 至 {$value['end']}
- {/if}
- </td>
- <td>{$value['money']}</td>
- </tr>
- {/foreach}
- <tr class="text-center">
- <td>预付款</td>
- <td>预付款余额:{$info['last_pre_money']}</td>
- <td>{$info['pre_money']}</td>
- </tr>
- <tr class="text-center">
- <td>合计</td>
- <td>人民币(大写) {$info['dx_money']}</td>
- <td>小写: {$info['true_money']}</td>
- </tr>
- <tr class="text-center">
- <td>收费方式</td>
- <td colspan="2">
- {if $info['pay_type'] == 1}现金:{$info['true_money']}{/if}
- {if $info['pay_type'] == 3}支付宝:{$info['true_money']}{/if}
- {if $info['pay_type'] == 4}银行托收:{$info['true_money']}{/if}
- {if $info['pay_type'] == 5}微信:{$info['true_money']}{/if}
- {if $info['pay_type'] == 6}
- 组合付款(
- {foreach $info['pay_data'] as $key => $value}
- {if $key == 1}现金:{$value} {/if}
- {if $key == 3}支付宝:{$value} {/if}
- {if $key == 4}银行托收:{$value} {/if}
- {if $key == 5}微信:{$value} {/if}
- {/foreach}
- )
- {/if}
- </td>
- </tr>
- <tr class="text-center">
- <td colspan="3">
- {if !empty($info['remark'])}
- ({$info['remark']})请您妥善保存收款凭据,如果押金类或代收费项目,票据遗失恕不退付
- {else}
- 请您妥善保存收款凭据,如果押金类或代收费项目,票据遗失恕不退付
- {/if}
- </td>
- </tr>
- </table>
- <div class="user_all" style="width: 90%;height: 40px;line-height: 40px;margin: 0 auto;">
- <text class="there" style="float: left;">收款人:{$info['payee']}</text>
- <text class="there" style="float: right;margin-right: 60px;">交款人:</text>
- </div>
- </div>
- </div>
- <div class="text-center">
- <br>
- <a href="javascript:;" class="btn btn-sm btn-primary" onclick="print()"><i class="glyphicon glyphicon-print">打印</i></a>
- </div>
- {/block}
- {block name="script"}
- <script src="/static/jquery.jqprint-0.3.js"></script>
- <script src="/static/browser.js"></script>
- <script>
- function print(){
- $("#printer").jqprint();
- }
- </script>
- {/block}
|