modified assests
This commit is contained in:
@@ -56,7 +56,7 @@ class Helpers
|
||||
str_pad(substr($hexTimestamp, 11, 3),3,'0',STR_PAD_LEFT).
|
||||
str_pad(mt_rand(1,99),2,'0',STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
|
||||
public static function generateUuIdForManual($prefixClass, $manual_code){
|
||||
return $prefixClass . '-'.date('ymd').'-'.$manual_code;
|
||||
}
|
||||
@@ -87,7 +87,7 @@ class Helpers
|
||||
if($sex == 1) return __('sample.sex_m');
|
||||
return __('sample.sex_f');
|
||||
}
|
||||
|
||||
|
||||
public static function getGenderfull($sex){
|
||||
if($sex == 1) return __('sample.sex_male');
|
||||
return __('sample.sex_female');
|
||||
@@ -145,10 +145,10 @@ class Helpers
|
||||
INNER JOIN publication_receivers pr
|
||||
ON pr.publication_id = p.id
|
||||
WHERE DATE(NOW()) BETWEEN start_date AND end_date AND p.record_status_id = 1
|
||||
AND pr.lab_id = " . Session::get('base_lab_id'));
|
||||
AND pr.organization_id = " . Session::get('base_organization_id'));
|
||||
return $publication;
|
||||
}
|
||||
|
||||
|
||||
public static function generatePatientBotLink($individual_type = 'patient',$labId, $patientId)
|
||||
{
|
||||
$botUsername = env('TELEGRAM_BOT_NAME'); // e.g. "MyLabBot"
|
||||
|
||||
Reference in New Issue
Block a user