add indexes, add messagedetsta
This commit is contained in:
27
backend/components/AdminCustomerTabWidget.php
Normal file
27
backend/components/AdminCustomerTabWidget.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
namespace backend\components;
|
||||
|
||||
use yii\base\Widget;
|
||||
|
||||
class AdminCustomerTabWidget extends Widget{
|
||||
|
||||
public $customer;
|
||||
public $card;
|
||||
public $title;
|
||||
|
||||
|
||||
|
||||
public $viewFile = '//common/_customer_tab';
|
||||
|
||||
public function init(){
|
||||
parent::init();
|
||||
$this->card = $this->customer->card;
|
||||
}
|
||||
|
||||
|
||||
public function run(){
|
||||
echo $this->render($this->viewFile,[ 'card' => $this->card, 'customer' => $this->customer ,'title' => $this->title ]);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -89,6 +89,7 @@ class AdminMenuStructure{
|
||||
$items[] = ['label' => 'Termékek', 'url' => ['/product/index'] ];
|
||||
$items[] = ['label' => 'Beszerzések', 'url' => ['/procurement/index'] ];
|
||||
$items[] = ['label' => 'Részletes eladások', 'url' => ['/transfer/sale' ,'TransferSaleSearch[start]' =>$todayDatetime,'TransferSaleSearch[end]' => $tomorrowDatetime ] ];
|
||||
$items[] = ['label' => 'Termék összesítő', 'url' => ['/product/statistics' ,'ProductStatisticsSearch[start]' =>$todayDatetime,'ProductStatisticsSearch[end]' => $tomorrowDatetime ] ];
|
||||
$this->menuItems[] = ['label' => 'Termékek', 'url' => $this->emptyUrl,
|
||||
'items' => $items
|
||||
];
|
||||
@@ -108,6 +109,7 @@ class AdminMenuStructure{
|
||||
// Tartós megbízások
|
||||
/////////////////////////////
|
||||
$items = [];
|
||||
$items[] = ['label' => 'Szerződések', 'url' => ['/contract/index' ] ];
|
||||
$items[] = ['label' => 'Megbízások', 'url' => ['/ticket-installment-request/index' , 'TicketInstallmentRequestSearch[start]' =>$today,'TicketInstallmentRequestSearch[end]' => $tomorrow ] ];
|
||||
$items[] = ['label' => 'Giro kötegbe jelölés', 'url' => ['/ticket-installment-request/pending' , 'TicketInstallmentRequestSearchPending[end]' => $tomorrow ] ];
|
||||
$items[] = ['label' => 'GIRO köteg létrehozás', 'url' => ['/ticket-installment-request/download-giro' ] ];
|
||||
|
||||
Reference in New Issue
Block a user