PDF 插件开发。

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@679 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2011-01-02 08:47:11 +00:00
parent 1d9198e282
commit b4aa56ff41
@@ -0,0 +1,55 @@
<?xml version='1.0'?>
<module>
<exporttime>2010-12-06 12:10:03</exporttime>
<name>OSSPDFMaker</name>
<label>OSSPDFMaker</label>
<parent>Tools</parent>
<type>extension</type>
<version>1.24</version>
<dependencies>
<vtiger_version>5.2.1</vtiger_version>
</dependencies>
<tables>
<table>
<name>vtiger_pdfmaker</name>
<sql><![CDATA[CREATE TABLE `vtiger_pdfmaker` (
`templateid` int(11) NOT NULL,
`filename` varchar(100) NOT NULL,
`module` varchar(255) NOT NULL,
`body` longblob NOT NULL,
`description` text NOT NULL,
`deleted` int(1) NOT NULL default '0',
PRIMARY KEY (`templateid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pdfmaker_seq</name>
<sql><![CDATA[CREATE TABLE `vtiger_pdfmaker_seq` (
`id` int(11) NOT NULL default '1'
) ENGINE=MyISAM DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pdfmaker_breakline</name>
<sql><![CDATA[CREATE TABLE `vtiger_pdfmaker_breakline` (
`crmid` int(11) NOT NULL,
`productid` int(11) NOT NULL,
`sequence` int(11) NOT NULL,
`show_header` tinyint(1) NOT NULL default '0',
`show_subtotal` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`crmid`,`productid`,`sequence`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pdfmaker_images</name>
<sql><![CDATA[CREATE TABLE `vtiger_pdfmaker_images` (
`crmid` int(11) NOT NULL,
`productid` int(11) NOT NULL,
`sequence` int(11) NOT NULL,
`attachmentid` int(11) NOT NULL,
`width` int(11) default NULL,
`height` int(11) default NULL,
PRIMARY KEY (`crmid`,`productid`,`sequence`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8]]></sql>
</table>
</tables>
</module>