mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +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()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|