芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Http/Requests/Tax/UpdateTax.php
via && $this->via == 'tax-setting') { return $rules = [ 'tax_name' => 'required', 'rate_percent' => 'required|numeric', ]; } else { if ($this->type == 'tax_name') { $rules = [ 'value' => 'required|unique:taxes,tax_name,null,id,company_id,' . company()->id, ]; } else { $rules = [ 'value' => 'required|numeric' ]; } } return $rules; } }