Добавлен расширенный отчет по реализации
Добавлен монитор активности
This commit is contained in:
miroman-afk
2023-08-03 11:05:15 +03:00
parent 19ad7d1c8a
commit c4dc6e02a0
93 changed files with 13328 additions and 1122 deletions

View File

@@ -51,7 +51,7 @@ class Client extends Model
public static function getBarcode($guid)
{
$barcode = Client::where('user_code', $guid)->first();
$barcode = self::where('user_code', $guid)->first();
if (isset($barcode)) {
$barcode = $barcode['barcode_start'];
} else {
@@ -62,7 +62,7 @@ class Client extends Model
public static function getID($guid)
{
$id = Client::where('client_guid', $guid)->first();
$id = self::where('client_guid', $guid)->first();
if (isset($id)) {
$id = $id['id'];
} else {
@@ -73,7 +73,7 @@ class Client extends Model
public static function getName($guid)
{
$client_name = Client::where('user_code', $guid)
$client_name = self::where('user_code', $guid)
->first();
if (isset($client_name)) {
$client_name = $client_name['name'];