mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
34 lines
508 B
PHP
34 lines
508 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Requests\Invoice;
|
||
|
|
||
|
use App\Http\Requests\Request;
|
||
|
use Illuminate\Support\Facades\Log;
|
||
|
use Illuminate\Validation\Rule;
|
||
|
|
||
|
class UpdateInvoiceRequest extends Request
|
||
|
{
|
||
|
/**
|
||
|
* Determine if the user is authorized to make this request.
|
||
|
*
|
||
|
* @return bool
|
||
|
*/
|
||
|
|
||
|
public function authorize()
|
||
|
{
|
||
|
return true;
|
||
|
// return ! auth()->user(); //todo permissions
|
||
|
}
|
||
|
|
||
|
public function rules()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public function messages()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|