add feature payout_later
This commit is contained in:
@@ -22,6 +22,7 @@ class AccountStateBanknoteCountWidget extends Widget{
|
||||
public $model;
|
||||
public $layout;
|
||||
public $index;
|
||||
public $showDailyDownload = true;
|
||||
|
||||
public function run(){
|
||||
|
||||
@@ -60,11 +61,13 @@ class AccountStateBanknoteCountWidget extends Widget{
|
||||
$s .= Html::a( Html::tag("span","",['class' =>'glyphicon glyphicon-download-alt']) ." Pdf", Url::to([ 'view', 'id' =>$this->model->id_account_state, 'output' =>'pdf']) ,['class' => 'btn btn-primary btn-pdf','style' =>'margin-bottom: 12px; margin-right: 6px;']);
|
||||
|
||||
if ( $this->model->isTypeClose() ){
|
||||
$s .= Html::a('<span class="glyphicon glyphicon-eye-open"></span> Napi összefoglaló', Url::toRoute(['mixed','id' =>$this->model->id_account_state]), [
|
||||
'title' => 'Napi összefoglaló',
|
||||
'class' => 'btn btn-success',
|
||||
'style' =>'margin-bottom: 12px; margin-right: 6px;'
|
||||
]);
|
||||
if ( $this->showDailyDownload ){
|
||||
$s .= Html::a('<span class="glyphicon glyphicon-eye-open"></span> Napi összefoglaló', Url::toRoute(['mixed','id' =>$this->model->id_account_state]), [
|
||||
'title' => 'Napi összefoglaló',
|
||||
'class' => 'btn btn-success',
|
||||
'style' =>'margin-bottom: 12px; margin-right: 6px;'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
$s .= Html::a('<span class="glyphicon glyphicon-eye-open"></span> Részletek', Url::toRoute(['view','id' =>$this->model->id_account_state]), [
|
||||
|
||||
Reference in New Issue
Block a user