Improvements to invoice display and other misc items

This commit is contained in:
Deon George
2013-12-20 10:00:32 +11:00
parent 778eada7f0
commit e19518c505
43 changed files with 1122 additions and 887 deletions

View File

@@ -44,7 +44,7 @@ abstract class StaticList {
* @param string Default value to populate in the Form input.
*/
public static function form($name,$default='',$addblank=FALSE,array $attributes=NULL) {
$table = static::factory()->_table();
$table = self::factory()->_table();
if ($addblank)
$table = array_merge(array(''=>' '),$table);
@@ -56,11 +56,11 @@ abstract class StaticList {
* Lists our available keys
*/
public static function keys() {
return array_keys(static::factory()->_table());
return array_keys(self::factory()->_table());
}
public static function table() {
return static::factory()->_table();
return self::factory()->_table();
}
}
?>