From: Edward Date: Thu, 20 Dec 2018 02:30:53 +0000 (+0800) Subject: DataObjects/Core_person.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0e5308c605bf1edf392e6e3f4dd6d14fc7ffd3ac DataObjects/Core_person.php --- diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index f9ca0269..3ef5e129 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -1474,9 +1474,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject ){ return false; } - $pg= HTML_FlexyFramework::get()->page; - $this->issuer = (empty($pg->company->name)) ? 'COBA KYC' : "{$pg->company->name} COBA KYC"; $issuer = rawurlencode($this->issuer); @@ -1498,6 +1496,15 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject return "data:image/png;base64,{$base64}"; } + function qrCodeIssuer() + { + $pg= HTML_FlexyFramework::get()->page; + + $this->issuer = (empty($pg->company->name)) ? 'COBA KYC' : "{$pg->company->name} COBA KYC"; + + return; + } + static function test_ADMIN_PASSWORD_RESET($pg, $to) { $ff = HTML_FlexyFramework::get();