Ledger.qtt:
<?php
// Ledger Template
// Set maxlines constant
$maxlines = $this->getRowCount();
// Set Table properties
$this->setCellSpacing(2);
$this->setCellPadding(6);
$this->setTableColor("gray");
// Set Heading properties
$this->setHeadingAlign("center");
$this->setHeadingColor("#006633");
$this->setHeadingStyle("color: #ffffff");
// Set Content (Body) properties
$this->setContentAlign("right");
$this->setContentColor("#ccffcc");
// Set Row properties (stripes)
for ($i = 1; $i < $maxlines; $i += 2) $this->setRowColor("#66cc99", $i);
// Set Column properties
$this->setColStyle("font-weight: bold", 0);
$this->setColAlign("left", 0);
$this->setColAlign("right", 2);
?>
Other Development Tools Scripts: