|
|
@@ -822,7 +822,7 @@ class ShopController extends BaseController {
|
|
|
return static::notice(\Yii::t('ctx', 'startExporting')); // 导出开始,请到文件管理-导出文件查看
|
|
|
}
|
|
|
|
|
|
- public function actionOrderInvoiceExportPdf()
|
|
|
+ public function actionOrderInvoiceExport()
|
|
|
{
|
|
|
$orderSn = \Yii::$app->request->get('orderSn');
|
|
|
|
|
|
@@ -834,7 +834,7 @@ class ShopController extends BaseController {
|
|
|
$filter['params'] = [':SN' => $orderSn];
|
|
|
|
|
|
$form = new ShopExportForm();
|
|
|
- $result = $form->run($filter, \Yii::t('ctx', 'shopOrderListExportPdf'));
|
|
|
+ $result = $form->run($filter, \Yii::t('ctx', 'actionOrderInvoiceExport'));
|
|
|
if (!$result) {
|
|
|
return static::notice(Form::formatErrorsForApi($form->getErrors()), 400);
|
|
|
}
|