芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Http/Requests/Orders/StoreOrder.php
has('show_shipping_address') ? $this->request->add(['show_shipping_address' => 'yes']) : $this->request->add(['show_shipping_address' => 'no']); $rules = [ 'client_id' => 'required', 'order_date' => 'required', 'due_date' => 'required', 'sub_total' => 'required', 'total' => 'required', 'currency_id' => 'required', ]; return $rules; } public function messages() { return [ 'client_id.required' => __('modules.projects.selectClient') ]; } }