| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2020/12/10
- * Time: 17:18
- */
- namespace app\backend\modules\refund\services\button;
- class Reject extends RefundButtonBase
- {
- public function getApi()
- {
- return 'refund.vue-operation.reject';
- }
- public function getName()
- {
- return '驳回申请';
- }
- public function getValue()
- {
- return -1;
- }
- public function enable()
- {
- return $this->refund->isRefunding() && $this->refund->status < 4;
- }
- public function getType()
- {
- return self::TYPE_DANGER;
- }
- public function getDesc()
- {
- return '';
- }
- }
|