Skip to content

Commit

Permalink
Merge pull request #153 from leon-mbs/dev
Browse files Browse the repository at this point in the history
v5.0.2
  • Loading branch information
leon-mbs authored May 10, 2021
2 parents bf04623 + d314909 commit 6520f08
Show file tree
Hide file tree
Showing 89 changed files with 1,254 additions and 351 deletions.
2 changes: 1 addition & 1 deletion db/db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ CREATE TABLE `filesdata` (
`file_id` int(11) DEFAULT NULL,
`filedata` longblob,
UNIQUE KEY `file_id` (`file_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MYISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `firms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
Expand Down
2 changes: 1 addition & 1 deletion db/initdata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ INSERT INTO `firms` ( `firm_name`, `details`, `disabled`) VALUES( 'Наша
INSERT INTO `customers` ( `customer_name`, `detail`, `email`, `phone`, `status`, `city`, `leadstatus`, `leadsource`, `createdon`) VALUES( 'Физ. лицо', '<detail><code></code><discount></discount><bonus></bonus><type>0</type><fromlead>0</fromlead><jurid></jurid><shopcust_id></shopcust_id><isholding>0</isholding><holding>0</holding><viber></viber><nosubs>1</nosubs><user_id>4</user_id><holding_name><![CDATA[]]></holding_name><address><![CDATA[]]></address><comment><![CDATA[Условный контрагент если надо кого то указать.]]></comment></detail>', '', '', 0, '', NULL, NULL, '2021-04-28');


INSERT INTO `options` (`optname`, `optvalue`) VALUES('common', 'a:30:{s:9:"qtydigits";s:1:"0";s:8:"amdigits";s:1:"0";s:10:"dateformat";s:5:"d.m.Y";s:11:"partiontype";s:1:"1";s:4:"curr";s:2:"gr";s:6:"phonel";s:2:"10";s:6:"price1";s:18:"Розничная";s:6:"price2";s:14:"Оптовая";s:6:"price3";s:0:"";s:6:"price4";s:0:"";s:6:"price5";s:0:"";s:8:"defprice";s:2:"10";s:8:"shopname";s:20:"Наша фирма";s:8:"ts_break";s:2:"60";s:8:"ts_start";s:5:"09:00";s:6:"ts_end";s:5:"18:00";s:11:"checkslogan";s:8:"Тест";s:11:"autoarticle";i:1;s:10:"usesnumber";i:0;s:10:"usescanner";i:0;s:9:"useimages";i:0;s:15:"showactiveusers";i:0;s:10:"usecattree";i:0;s:9:"usebranch";i:0;s:10:"noallowfiz";i:0;s:10:"allowminus";i:1;s:6:"useval";i:0;s:6:"capcha";i:0;s:9:"numberttn";i:0;s:11:"salesources";a:1:{i:1620576897;O:12:"App\\DataItem":2:{s:2:"id";i:1620576897;s:9:"\0*\0fields";a:1:{s:4:"name";s:31:"Основной магазин";}}}}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('api', 'a:3:{s:3:"exp";N;s:3:"key";N;s:5:"atype";s:1:"3";}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('common', 'a:28:{s:9:"qtydigits";s:1:"0";s:8:"amdigits";s:1:"0";s:10:"dateformat";s:5:"d.m.Y";s:11:"partiontype";s:1:"1";s:4:"curr";s:2:"gr";s:6:"phonel";s:2:"10";s:6:"price1";s:18:"Розничная";s:6:"price2";s:14:"Оптовая";s:6:"price3";s:0:"";s:6:"price4";s:0:"";s:6:"price5";s:0:"";s:8:"defprice";s:2:"10";s:8:"shopname";s:20:"Наша фирма";s:8:"ts_break";s:2:"60";s:8:"ts_start";s:5:"09:00";s:6:"ts_end";s:5:"18:00";s:11:"autoarticle";i:1;s:10:"usesnumber";i:0;s:10:"usescanner";i:0;s:9:"useimages";i:0;s:16:"usemobileprinter";i:0;s:10:"usecattree";i:0;s:9:"usebranch";i:0;s:10:"noallowfiz";i:0;s:10:"allowminus";i:1;s:6:"useval";i:0;s:6:"capcha";i:0;s:9:"numberttn";i:0;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('printer', 'a:8:{s:6:"pwidth";s:4:"100%";s:9:"pricetype";s:6:"price1";s:11:"barcodetype";s:5:"EAN13";s:9:"pfontsize";s:2:"16";s:5:"pname";i:1;s:5:"pcode";i:0;s:8:"pbarcode";i:1;s:6:"pprice";i:0;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('shop', 'a:8:{s:7:"defcust";s:1:"2";s:12:"defpricetype";s:6:"price1";s:5:"email";s:0:"";s:8:"shopname";s:17:"Наш магаз";s:12:"currencyname";s:6:"грн";s:8:"uselogin";i:0;s:9:"usefilter";i:1;s:11:"usefeedback";i:1;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('sms', 'a:7:{s:13:"turbosmstoken";s:0:"";s:12:"smssemytoken";s:0:"";s:12:"smssemydevid";s:0:"";s:11:"flysmslogin";s:0:"";s:10:"flysmspass";s:0:"";s:8:"flysmsan";s:0:"";s:7:"smstype";s:1:"0";}');
Expand Down
2 changes: 1 addition & 1 deletion db/initdata_ua.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ INSERT INTO `firms` ( `firm_name`, `details`, `disabled`) VALUES( 'Наша
INSERT INTO `customers` ( `customer_name`, `detail`, `email`, `phone`, `status`, `city`, `leadstatus`, `leadsource`, `createdon`) VALUES( 'Фiз. особа', '<detail><code></code><discount></discount><bonus></bonus><type>0</type><fromlead>0</fromlead><jurid></jurid><shopcust_id></shopcust_id><isholding>0</isholding><holding>0</holding><viber></viber><nosubs>1</nosubs><user_id>4</user_id><holding_name><![CDATA[]]></holding_name><address><![CDATA[]]></address><comment><![CDATA[Умовний контрагент якщо треба когось вказати.]]></comment></detail>', '', '', 0, '', NULL, NULL, '2021-04-28');


INSERT INTO `options` (`optname`, `optvalue`) VALUES('common', 'a:30:{s:9:"qtydigits";s:1:"0";s:8:"amdigits";s:1:"0";s:10:"dateformat";s:5:"d.m.Y";s:11:"partiontype";s:1:"1";s:4:"curr";s:2:"gr";s:6:"phonel";s:2:"10";s:6:"price1";s:18:"Розничная";s:6:"price2";s:14:"Оптовая";s:6:"price3";s:0:"";s:6:"price4";s:0:"";s:6:"price5";s:0:"";s:8:"defprice";s:2:"10";s:8:"shopname";s:20:"Наша фирма";s:8:"ts_break";s:2:"60";s:8:"ts_start";s:5:"09:00";s:6:"ts_end";s:5:"18:00";s:11:"checkslogan";s:8:"Тест";s:11:"autoarticle";i:1;s:10:"usesnumber";i:0;s:10:"usescanner";i:0;s:9:"useimages";i:0;s:15:"showactiveusers";i:0;s:10:"usecattree";i:0;s:9:"usebranch";i:0;s:10:"noallowfiz";i:0;s:10:"allowminus";i:1;s:6:"useval";i:0;s:6:"capcha";i:0;s:9:"numberttn";i:0;s:11:"salesources";a:1:{i:1620576897;O:12:"App\\DataItem":2:{s:2:"id";i:1620576897;s:9:"\0*\0fields";a:1:{s:4:"name";s:31:"Основной магазин";}}}}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('api', 'a:3:{s:3:"exp";N;s:3:"key";N;s:5:"atype";s:1:"3";}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('common', 'a:28:{s:9:"qtydigits";s:1:"0";s:8:"amdigits";s:1:"0";s:10:"dateformat";s:5:"d.m.Y";s:11:"partiontype";s:1:"1";s:4:"curr";s:2:"gr";s:6:"phonel";s:2:"10";s:6:"price1";s:18:"Розничная";s:6:"price2";s:14:"Оптовая";s:6:"price3";s:0:"";s:6:"price4";s:0:"";s:6:"price5";s:0:"";s:8:"defprice";s:2:"10";s:8:"shopname";s:20:"Наша фирма";s:8:"ts_break";s:2:"60";s:8:"ts_start";s:5:"09:00";s:6:"ts_end";s:5:"18:00";s:11:"autoarticle";i:1;s:10:"usesnumber";i:0;s:10:"usescanner";i:0;s:9:"useimages";i:0;s:16:"usemobileprinter";i:0;s:10:"usecattree";i:0;s:9:"usebranch";i:0;s:10:"noallowfiz";i:0;s:10:"allowminus";i:1;s:6:"useval";i:0;s:6:"capcha";i:0;s:9:"numberttn";i:0;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('printer', 'a:8:{s:6:"pwidth";s:4:"100%";s:9:"pricetype";s:6:"price1";s:11:"barcodetype";s:5:"EAN13";s:9:"pfontsize";s:2:"16";s:5:"pname";i:1;s:5:"pcode";i:0;s:8:"pbarcode";i:1;s:6:"pprice";i:0;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('shop', 'a:8:{s:7:"defcust";s:1:"2";s:12:"defpricetype";s:6:"price1";s:5:"email";s:0:"";s:8:"shopname";s:17:"Наш магаз";s:12:"currencyname";s:6:"грн";s:8:"uselogin";i:0;s:9:"usefilter";i:1;s:11:"usefeedback";i:1;}');
INSERT INTO `options` (`optname`, `optvalue`) VALUES('sms', 'a:7:{s:13:"turbosmstoken";s:0:"";s:12:"smssemytoken";s:0:"";s:12:"smssemydevid";s:0:"";s:11:"flysmslogin";s:0:"";s:10:"flysmspass";s:0:"";s:8:"flysmsan";s:0:"";s:7:"smstype";s:1:"0";}');
Expand Down
43 changes: 43 additions & 0 deletions db/temp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,49 @@ alter VIEW `timesheet_view` AS
`timesheet` `t` join `employees` `e` on `t`.`emp_id` = `e`.`employee_id`
left join branches b on t.branch_id = b.branch_id;

ALTER TABLE `customers` ADD `country` VARCHAR(255) NULL ;

ALTER VIEW `customers_view` AS
select
`customers`.`customer_id` AS `customer_id`,
`customers`.`customer_name` AS `customer_name`,
`customers`.`detail` AS `detail`,
`customers`.`email` AS `email`,
`customers`.`phone` AS `phone`,
`customers`.`status` AS `status`,
`customers`.`city` AS `city`,
`customers`.`leadsource` AS `leadsource`,
`customers`.`leadstatus` AS `leadstatus`,
`customers`.`country` AS `country`,
(
select
count(0)
from
`messages` `m`
where
((`m`.`item_id` = `customers`.`customer_id`) and (`m`.`item_type` = 2))) AS `mcnt`,(
select
count(0)
from
`files` `f`
where
((`f`.`item_id` = `customers`.`customer_id`) and (`f`.`item_type` = 2))) AS `fcnt`,(
select
count(0)
from
`eventlist` `e`
where
((`e`.`customer_id` = `customers`.`customer_id`) and (`e`.`eventdate` >= now()))) AS `ecnt`
from
`customers`;








/*

CREATE TABLE `empacc` (
Expand Down
14 changes: 13 additions & 1 deletion www/app/api/base/restful.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,30 @@ public function Execute($params) {
$this->put($params);
};
}

/**
* @param array $params
*/
public function get($params) {
$this->FailAnswer();
}

/**
* @param array $params
*/
public function post($params) {
$this->FailAnswer();
}

/**
* @param array $params
*/
public function put($params) {
$this->FailAnswer();
}

/**
* @param array $params
*/
public function delete($params) {
$this->FailAnswer();
}
Expand All @@ -64,6 +75,7 @@ protected function TextAnswer($text) {
header("Content-type: text/plain");
echo $text;
}


protected function OKAnswer() {
http_response_code(200);
Expand Down
4 changes: 2 additions & 2 deletions www/app/api/testclass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\API;

/**
* Пример использования произвольного кастомного класса в API
* пример вызова /api/TestClass/Hello/1
* Пример использования произвольного кастомного класса возвращающего произвольные данные
* пример вызова /api/TestClass/Hello/1 (параметры всегда должны быть через /)
*/
class TestClass
{
Expand Down
2 changes: 1 addition & 1 deletion www/app/api/testrest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* пример Rest API
* вызов /api/TestRest/1/2
* вызов /api/TestRest/1/2 (параметры всегда должны быть через /)
*/
class TestRest extends \App\API\Base\RestFul
{
Expand Down
2 changes: 1 addition & 1 deletion www/app/entity/customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static function getList($search = '', $type = 0) {
$where .= " and (detail like '%<type>{$type}</type>%' or detail like '%<type>0</type>%' ) ";
}

return Customer::findArray("customer_name", $where, "customer_name");
return Customer::findArray("concat(customer_name,' ',phone)", $where, "customer_name");
}

public static function getHoldList($type = 0) {
Expand Down
2 changes: 1 addition & 1 deletion www/app/entity/doc/document.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private function packData() {

$this->content .= "</doc>";
}

// select ExtractValue(@xml, '//doc/header/customer_id') from documents
/**
* распаковка из XML
*
Expand Down
2 changes: 1 addition & 1 deletion www/app/entity/doc/outsalary.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class OutSalary extends Document
public function Execute() {


$payed = Pay::addPayment($this->document_id, $this->document_date, 0 - $this->amount, $this->headerdata['payment'], \App\Entity\Pay::PAY_SALARY_OUTCOME);
$payed = Pay::addPayment($this->document_id, $this->document_date, 0 - $this->amount, $this->headerdata['payment'], \App\Entity\Pay::PAY_SALARY_OUTCOME,$this->notes);
if ($payed > 0) {
$this->payed = $payed;
}
Expand Down
10 changes: 2 additions & 8 deletions www/app/entity/entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Entry extends \ZCL\DB\Entity
* @param mixed $amount Сумма.
* @param mixed $quantity количество
*/
public function __construct($document_id = 0, $amount = 0, $quantity = 0) {
public function __construct($document_id=0 , $amount = 0, $quantity = 0) {
parent::__construct();

$this->document_id = $document_id;
Expand All @@ -44,13 +44,7 @@ public function setStock($stock_id) {
$this->stock_id = $stock_id;
}

public function setEmployee($employee_id) {
$this->employee_id = $employee_id;
}

public function setCustomer($customer_id) {
$this->customer_id = $customer_id;
}


public function setService($service_id) {
$this->service_id = $service_id;
Expand Down
8 changes: 8 additions & 0 deletions www/app/entity/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,13 @@ protected function init() {
protected function afterLoad() {
$this->eventdate = strtotime($this->eventdate);
}


public static function isNotClosedTask($user_id){
$conn = \ZCL\DB\DB::getConnect();
$cnt = Event::findCnt("isdone<>1 and user_id={$user_id} ");
return $cnt;

}

}
2 changes: 2 additions & 0 deletions www/app/entity/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ protected function afterLoad() {
$this->weight = (string)$xml->weight[0];
$this->maxsize = (string)$xml->maxsize[0];
$this->volume = (string)$xml->volume[0];
$this->lost = (string)$xml->lost[0];
$this->customsize = (string)$xml->customsize[0];
$this->manufacturer = (string)$xml->manufacturer[0];
$this->shortname = (string)$xml->shortname[0];
Expand Down Expand Up @@ -123,6 +124,7 @@ protected function beforeSave() {
$this->detail .= "<weight>{$this->weight}</weight>";
$this->detail .= "<maxsize>{$this->maxsize}</maxsize>";
$this->detail .= "<volume>{$this->volume}</volume>";
$this->detail .= "<lost>{$this->lost}</lost>";
$this->detail .= "<customsize>{$this->customsize}</customsize>";
$this->detail .= "<sef>{$this->sef}</sef>";

Expand Down
2 changes: 1 addition & 1 deletion www/app/entity/pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static function addPayment($document_id, $paydate, $amount, $mf_id, $type

$conn = \ZDB\DB::getConnect();

$sql = "select coalesce(abs(sum(amount)),0) from paylist where document_id=" . $document_id;
$sql = "select coalesce(abs(sum(amount)),0) from paylist where paytype <> ".Pay::PAY_BANK." and document_id=" . $document_id;
$payed = $conn->GetOne($sql);
$conn->Execute("update documents set payed={$payed} where document_id =" . $document_id);
return $payed;
Expand Down
6 changes: 6 additions & 0 deletions www/app/entity/stock.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ public static function pickup($store_id, $item) {

$stlist = self::find($where, ' stock_id ');

//учитываем отходы
if($item->lost >0){
$k = 1/(1-$item->lost/100) ;
$item->quantity = \App\Helper::fqty($item->quantity*$k);
}

$qty = $item->quantity;
$last = null;
foreach ($stlist as $st) {
Expand Down
3 changes: 3 additions & 0 deletions www/app/entity/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ protected function init() {
$this->user_id = 0;
$this->defstore = 0;
$this->defmf = 0;
$this->defsalesource = 0;
$this->deffirm = 0;
$this->hidesidebar = 0;
$this->pagesize = 25;
Expand Down Expand Up @@ -87,6 +88,7 @@ protected function afterLoad() {
$this->deffirm = (int)$options['deffirm'];
$this->defstore = (int)$options['defstore'];
$this->defmf = (int)$options['defmf'];
$this->defsalesource = (int)$options['defsalesource'];
$this->pagesize = (int)$options['pagesize'];
$this->phone = (string)$options['phone'];
$this->viber = (string)$options['viber'];
Expand Down Expand Up @@ -119,6 +121,7 @@ protected function beforeSave() {
$options['deffirm'] = $this->deffirm;

$options['defmf'] = $this->defmf;
$options['defsalesource'] = $this->defsalesource;
$options['pagesize'] = $this->pagesize;
$options['hidesidebar'] = $this->hidesidebar;
$options['mainpage'] = $this->mainpage;
Expand Down
39 changes: 39 additions & 0 deletions www/app/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,45 @@ public static function getDefMF() {
}
return 0;
}

/**
* источники продаж
*
*/
public static function getSaleSources() {
$common = System::getOptions("common");
if (!is_array($common)) {
$common = array();
}
$salesourceslist = $common['salesources'];
if (is_array($salesourceslist) == false) {
$salesourceslist = array();
}
$slist = array() ;
foreach($salesourceslist as $s){
$slist[$s->id]=$s->name;
}
return $slist;
}

/**
* Возвращает источник продаж по умолчанию
*
*/
public static function getDefSaleSource() {
$user = System::getUser();
if ($user->defsalesource > 0) {
return $user->defsalesource;
}

$slist = Helper::getSaleSources() ;

if (count($slist) > 0) {
$keys = array_keys($slist);
return $keys[0];
}
return 0;
}

/**
* Возвращает первый тип цен как по умолчанию
Expand Down
31 changes: 19 additions & 12 deletions www/app/modules/issue/pages/issuelist.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function __construct($id = 0, $project_id = 0, $new = false) {

$stform->add(new DropDownChoice('ststatus', $stlist, -1));
$stform->add(new DropDownChoice('stpr', array(Issue::PRIORITY_NORMAL => 'Нормальный', Issue::PRIORITY_HIGH => 'Высокий', Issue::PRIORITY_LOW => 'Низкий'), 0));
$stform->add(new DropDownChoice('stuser', User::findArray('username', '', 'username'), 0));
$stform->add(new DropDownChoice('stuser', array(), 0));
$stform->onSubmit($this, "onStatus");
$msgpan->add(new DataView('stlist', new ArrayDataSource($this, '_stlist'), $this, 'stlistOnRow'));

Expand Down Expand Up @@ -271,24 +271,31 @@ public function openIssue($issue) {
if ($this->_issue->priority == Issue::PRIORITY_LOW) {
$bd = "badge-warning";
};

$user_id = System::getUser()->user_id;
$project = Project::load($this->_issue->project_id);
$this->listpan->msgpan->mcreate->setText('Автор ' . $this->_issue->createdbyname . ' ' . \App\Helper::fd($this->_issue->createdon) . '&nbsp;Проект&nbsp;<a href="/project/' . $project->project_id . '">' . $project->project_name . '</a> ', true);

$users = \App\Entity\User::findArray('username', "user_id <> {$user_id} and user_id in (select user_id from issue_projectacc where project_id={$project->project_id} )", 'username');
foreach ($users as $k => $v) {
$this->listpan->msgpan->addmsgform->userlist->AddCheckBox($k, false, $v);
}

$this->listpan->msgpan->mtitle->setText('<span class="badge ' . $bd . '">#' . $this->_issue->issue_id . '</span> ' . $this->_issue->issue_name, true);
$this->listpan->msgpan->mdesc->setText($this->_issue->desc, true);
$this->listpan->msgpan->stform->ststatus->setValue($this->_issue->status);
$this->listpan->msgpan->stform->stpr->setValue($this->_issue->priority);

$users = \App\Entity\User::findArray('username', " user_id in (select user_id from issue_projectacc where project_id={$project->project_id} )", 'username');

$this->listpan->msgpan->stform->stuser->setOptionList($users);
$this->listpan->msgpan->stform->stuser->setValue($this->_issue->user_id);

$this->updateStList();
$this->updateMessages();

$this->listpan->list->Reload(false);
$user_id = System::getUser()->user_id;
$project = Project::load($this->_issue->project_id);
$this->listpan->msgpan->mcreate->setText('Автор ' . $this->_issue->createdbyname . ' ' . \App\Helper::fd($this->_issue->createdon) . '&nbsp;Проект&nbsp;<a href="/project/' . $project->project_id . '">' . $project->project_name . '</a> ', true);

$users = \App\Entity\User::findArray('username', "user_id <> {$user_id} and user_id in (select user_id from issue_projectacc where project_id={$project->project_id} )", 'username');
foreach ($users as $k => $v) {
$this->listpan->msgpan->addmsgform->userlist->AddCheckBox($k, false, $v);
}

}

public function deleteOnClick($sender) {
Expand Down Expand Up @@ -458,9 +465,9 @@ public function onStatus($sender) {

public function stlistOnRow($row) {
$item = $row->getDataItem();
$row->add(new Label('sttime', \App\Helper::fd($item->createdon)));
$row->add(new Label('stuser', $item->username));
$row->add(new Label('stdesc', $item->description, true));
$row->add(new Label('stlisttime', \App\Helper::fd($item->createdon)));
$row->add(new Label('stlistuser', $item->username));
$row->add(new Label('stlistdesc', $item->description, true));
}

public function updateStList() {
Expand Down
Loading

0 comments on commit 6520f08

Please sign in to comment.