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
backend/views/transfer/_export_btn_sale.php
Normal file
29
backend/views/transfer/_export_btn_sale.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(['sale-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, "category") => Html::getAttributeValue($model, "category"),
|
||||
Html::getInputName($model, "id_product") => Html::getAttributeValue($model, "id_product"),
|
||||
Html::getInputName($model, "status") => Html::getAttributeValue($model, "status"),
|
||||
] ),
|
||||
['class' => 'btn btn-primary'])
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user