Improvements to invoice display and other misc items
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user