Revize 7dafd607
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/models/job_report.php | ||
---|---|---|
* @param integer $type
|
||
* @return string
|
||
*/
|
||
public function get_name_of_payment_type($type = NULL)
|
||
public static function get_name_of_payment_type($type)
|
||
{
|
||
if ($type === NULL && $this->id)
|
||
{
|
||
$type = $this->payment_type;
|
||
}
|
||
|
||
if (array_key_exists($type, self::$PAYMENT_TYPES))
|
||
{
|
||
return __(self::$PAYMENT_TYPES[$type]);
|
Také k dispozici: Unified diff
Release 1.1.12