mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Working on proposals
This commit is contained in:
parent
0708d1a4aa
commit
839d535728
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class CreateProposalCategoryRequest extends ProjectRequest
|
||||
class CreateProposalCategoryRequest extends ProposalCategoryRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class CreateProposalRequest extends ProjectRequest
|
||||
class CreateProposalRequest extends ProposalRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class CreateProposalSnippetRequest extends ProjectRequest
|
||||
class CreateProposalSnippetRequest extends ProposalSnippetRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class CreateProposalTemplateRequest extends ProjectRequest
|
||||
class CreateProposalTemplateRequest extends ProposalTemplateRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -35,6 +35,7 @@ class EntityRequest extends Request
|
||||
if (! $publicId) {
|
||||
$publicId = Input::get('public_id') ?: Input::get('id');
|
||||
}
|
||||
|
||||
if (! $publicId) {
|
||||
return null;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class UpdateProposalCategoryRequest extends ProjectRequest
|
||||
class UpdateProposalCategoryRequest extends ProposalCategoryRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class UpdateProposalRequest extends ProjectRequest
|
||||
class UpdateProposalRequest extends ProposalRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class UpdateProposalSnippetRequest extends ProjectRequest
|
||||
class UpdateProposalSnippetRequest extends ProposalSnippetRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
class UpdateProposalTemplateRequest extends ProjectRequest
|
||||
class UpdateProposalTemplateRequest extends ProposalTemplateRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
|
Loading…
Reference in New Issue
Block a user