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]), [
|
||||
|
||||
@@ -94,8 +94,11 @@ class SiteController extends Controller
|
||||
|
||||
$geoip = Helper::getGeoIp();
|
||||
|
||||
$message = "";
|
||||
$user = User::findOne(\Yii::$app->user->id);
|
||||
$message = "Bejelentkezés: " .$user->username. " Ip cím:". $geoip->ip . " Város: " . $geoip->city;
|
||||
if ( isset($geoip)){
|
||||
$message = "Bejelentkezés: " .$user->username. " Ip cím:". $geoip->ip . " Város: " . $geoip->city;
|
||||
}
|
||||
|
||||
Log::log([
|
||||
'type' =>Log::$TYPE_LOGIN,
|
||||
|
||||
@@ -4,6 +4,8 @@ use common\components\total\TotalDetailedMoneyMovementWidget;
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<p>Bérletek típus szerint</p>
|
||||
<?php echo TotalMediumTicketsWidget::widget(['dailyListing' => $details]);?>
|
||||
<p>Termékek kategória szerint</p>
|
||||
|
||||
@@ -3,7 +3,14 @@ use common\components\accountstate\AccountStateWidget;
|
||||
use common\components\total\TotalDifferenceWidget;
|
||||
?>
|
||||
|
||||
|
||||
<style>
|
||||
.table td{
|
||||
padding: 2px;
|
||||
}
|
||||
.table th{
|
||||
padding: 2px;
|
||||
}
|
||||
</style>
|
||||
<div class="account-state-view ">
|
||||
|
||||
<table class="table-top">
|
||||
|
||||
Reference in New Issue
Block a user