add hidden account, cart insert/delete
add hidden account support add delete/payout buttons to carts add backend product sales with pdf export add frontend product sales with pdf export add frontend ticket sales with pdf export
This commit is contained in:
29
frontend/views/transfer/_export_btn_ticket.php
Normal file
29
frontend/views/transfer/_export_btn_ticket.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
use yii\helpers\Url;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\TransferSearch */
|
||||
/* @var $form yii\widgets\ActiveForm */
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?= Html::a(
|
||||
Yii::t('frontend/transfer', 'Export PDF'),
|
||||
Url::to(['tickets-pdf' ,
|
||||
Html::getInputName($model, "start") => Html::getAttributeValue($model, "start"),
|
||||
Html::getInputName($model, "end") =>Html::getAttributeValue($model, "end"),
|
||||
Html::getInputName($model, "id_account") => Html::getAttributeValue($model, "id_account"),
|
||||
Html::getInputName($model, "id_user") => Html::getAttributeValue($model, "id_user"),
|
||||
Html::getInputName($model, "status") => Html::getAttributeValue($model, "status"),
|
||||
Html::getInputName($model, "customer") => Html::getAttributeValue($model, "customer"),
|
||||
Html::getInputName($model, "id_ticket_type") => Html::getAttributeValue($model, "id_ticket_type"),
|
||||
] ),
|
||||
['class' => 'btn btn-primary'])
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user