麦田培训学校管理软件支持打印自定义功能,培训学校可以按自己的需要新建打印模板,从系统新建数据集或从原有的数据集采集信息,做出适合自己的打印模板,麦田培训学校管理软件作为国内先进的培训学校管理软件服务商,一直以客户需求为已任,不断研发更新软件,跟踪培训学校行业的发展趋势,只有麦田的先进的打印报表功能才可以支持这样的个性化的需求。
先选班后再打印收据,就可以出现相关的班级的班名,班号,上课规律,教室以及相关的老师的联系信息等。
1.【分析】-【打印模板】-【增加】。
2.数据源选【消费单数据集】,出现位置勾选消费单列表。设置一下访问权限。
3.【分析】-【默认打印】选中新建的打印模板。
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:String="urn:SWString">
<xsl:param name="SystemName"/>
<xsl:param name="SchoolName"/>
<xsl:param name="SiteUrl"/>
<xsl:param name="Email"/>
<xsl:param name="Tel"/>
<xsl:param name="Fax"/>
<xsl:param name="Address"/>
<xsl:param name="PostCode"/>
<xsl:param name="CurrencySymbol"/>
<xsl:param name="PrintTrueName"/>
<xsl:param name="PrintUserID"/>
<xsl:param name="PrintSchoolName"/>
<xsl:param name="PrintSchoolID"/>
<xsl:param name="PrintDateTime"/>
<xsl:template match="/">
<html>
<head>
<pagesetting>
<landscape>false</landscape>
<paperkind>Custom</paperkind>
<paperwidth>24.1cm</paperwidth>
<paperheight>9.3cm</paperheight>
<pageleft>20mm</pageleft>
<pageright>5mm</pageright>
<pagetop>5mm</pagetop>
<pagebottom>5mm</pagebottom>
<fontname>宋体</fontname>
<fontsize>8</fontsize>
<doctype>1</doctype>
<resolutionkind>3</resolutionkind>
</pagesetting>
<style>
.thead{
border-top-width:0.2mm;
border-left-width:0.2mm;
border-bottom-width:0.2mm;
border-right-width:0.2mm;
text-align:center;
font-style:bold
}
.bottom{
border-left-width:0.2mm;
border-bottom-width:0.2mm;
border-right-width:0.2mm;
font-style:bold
}
.left{
border-left-width:0.2mm;
font-style:bold
}
.right{
border-right-width:0.2mm;
font-style:bold
}
.leftright{
border-left-width:0.2mm;
border-right-width:0.2mm;
font-style:bold
}
</style>
</head>
<body>
<img src="../Images/logo.png" x="0cm" y="0cm" width="20" height="10"/>
<img src="../Images/qrcode.jpg" x="20cm" y="0cm" width="20" height="20"/>
<span x="2cm" y="0.1cm" style="width:14cm; height:1cm;text-align:center;font-size:18;font-family:黑体;">
<xsl:if test="ds/Bill/BillTypeID = 1">君翰教育(专用)收据</xsl:if><xsl:if test="ds/Bill/BillTypeID = 0">退货凭据</xsl:if>
</span>
<span x="15cm" y="0.4cm" style="font-weight:800;font-size:10">
No:<xsl:value-of select="ds/Bill/BillID" />
</span>
<span x="0cm" y="1cm" >
姓名:<xsl:value-of select="ds/Bill/StudentName" />$nbsp;
</span>
<span x="4cm" y="1cm" >
学号:<xsl:value-of select="ds/Bill/StudentID" />$nbsp;
</span>
<span x="8cm" y="1cm" >
日期:<xsl:value-of select="String:FormatDate('{0:yyyy-MM-dd}',ds/Bill/DateAndTime)" />$nbsp;
</span>
<span x="11.5cm" y="1cm">
录入员:<xsl:value-of select="ds/Bill/TrueName" />
</span>
<span x="15cm" y="1cm" >
报名点:<xsl:value-of select="ds/Bill/PostSchoolName" />
</span>
<table x="0" y="1.5cm" minlines="6" style="border:0.1mm">
<thead>
<tr height="0.5cm" class="thead">
<td width="3cm" style="font-style:bold">班名</td>
<td width="2cm" style="font-style:bold">班号</td>
<td width="3.5cm" style="font-style:bold">上课规律</td>
<td width="2cm" style="font-style:bold">收费项</td>
<td width="1.5cm" style="font-style:bold">单价</td>
<td width="1cm" style="font-style:bold">数量</td>
<td width="1cm" style="font-style:bold">单位</td>
<td width="1.5cm" style="font-style:bold">小计</td>
<td width="5cm" style="font-style:bold">备注</td>
</tr>
<tr x="15.5cm" height="0cm">
<td width="5cm" style="height:3.5cm;border-right-width:0.2mm">
<xsl:value-of select="ds/Bill/Remark" /><br/>
学管老师:<xsl:value-of select="ds/Student/ConsultantName" /><br/>
老师电话:<xsl:value-of select="ds/Student/MobileTel" /><br/>
</td>
</tr>
</thead>
<tbody>
<xsl:for-each select="ds/BillItem">
<tr height="0.5cm" style="border-top-width:0mm;border-bottom-width:0mm;">
<td width="3cm">
<xsl:value-of select="ClassName" />
</td>
<td width="2cm">
<xsl:value-of select="classno" />
</td>
<td width="3.5cm">
<xsl:value-of select="TimeRule" />
</td>
<td width="2cm" style="border-left-width:0.2mm;text-formatflags:linelimit">
<xsl:value-of select="ProductName" />
</td>
<td width="1.5cm" style="font-size:7">
<xsl:value-of select="String:FormatNumber('{0:c}',UnitPrice)" />
</td>
<td width="1cm">
<xsl:value-of select="Amount" />
</td>
<td width="1cm">
<xsl:value-of select="UnitName" />
</td>
<td width="1.5cm" style="font-size:7">
<xsl:value-of select="String:FormatNumber('{0:c}',Amount * UnitPrice)" />
</td>
</tr>
</xsl:for-each>
<filltr height="0.5cm" style="border-top-width:0mm;border-bottom-width:0mm;">
<td width="3cm">
</td>
<td width="2cm">
</td>
<td width="3.5cm">
</td>
<td width="2cm" style="border-left-width:0.2mm;">
</td>
<td width="1.5cm">
</td>
<td width="1cm">
</td>
<td width="1cm">
</td>
<td width="1.5cm">
</td>
</filltr>
</tbody>
<tfoot>
<tr height="0.5cm" style="border-top-width:0.25mm;border-bottom-width:0.25mm;">
<td width="3cm" style="border-left-width:0.2mm;">应缴合计:</td>
<td width="12.5cm" style="text-align:right">
<xsl:value-of select="String:FormatNumber('{0:c}',ds/Bill/Pay)" />
</td>
</tr>
<tr height="0.75cm" class="bottom">
<td width="3cm" style="border-left-width:0.2mm;">大写合计:</td>
<td width="12.5cm" style="text-align:right">
ⓧ
<xsl:value-of select="String:CHSMoney(ds/Bill/Payed)"/>$nbsp; </td>
<td width="5cm" style="text-align:left">客户签字:</td>
</tr>
</tfoot>
</table>
<span x="0cm" y="6.5cm">
学校电话:<xsl:value-of select="ds/School/Tel" /> </span>
<span x="7cm" y="6.5cm">学校网址:www.junhanedu.com </span>
<span x="14cm" y="6.5cm">学校地址:<xsl:value-of select="ds/School/Address" /> </span>
<span x="0" y="6.8cm" width="11cm" height="1.3cm" style="font-size:6; font-style:italic;">
打印者:<xsl:value-of select="$PrintTrueName" />$nbsp;打印时间:<xsl:value-of select="$PrintDateTime" />$nbsp;
</span>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
连云港麦田软件开发有限公司(原名:连云港市苏网软件开发有限公司),坐落在著名的西游记故乡、水晶之乡、黄海之滨--江苏.连云港,是专业的教育培训管理解决方案提供服务商,旗下产品--麦田培训学校管理软件(原名:苏网培训学校管理软件)是国内最知名使用人数最多的培训管理软件之一。
麦田培训学校管理软件早期研发地点:江苏.苏州,故曾命名为“苏网”。早期的培训模型主要参考上海、江浙等沿海一带的培训机构。2008年春,正式企业化运作,不断采集全国各大城市及海外华人培训特点,各类培训机构管理方式。提炼管理的普遍性,进行标准化、通用化。并且研发各种查询、报表、打印、系统提醒、短信编程等元素,实现企业的个性化需求。——麦田培训学校管理软件不仅仅是一款管理类软件,更是培训管理系统的开发平台。MTcnsoft 专业于教育培训管理的开发,拥有资深的培训行业软件架构师,加上多年的开源及运作经验,对用户的需求、使用习惯等理解十分透彻,自从成立公司后,不断招聘研发人员,为我们向广大用户提供更优质的服务和产品有了更大的保障。
麦田培训学校管理软件基于C#+Sql Server的技术开发,功能十分强大成熟,实施成本低。从2006年开始发布第一个正式版本以来,至今已经发布两个系列,多款优秀版本。麦田培训学校管理软件以简单、健壮、灵活、几大特点深受广大用户的青睐。
我们对产品追求的终极目标是:实用,易用!
拥有麦田,拥有一个好的未来!
销售热线:0518-85201423
服务热线:0518-85201423