1
0
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:
Hillel Coren 2018-01-31 16:40:47 +02:00
parent 0708d1a4aa
commit 839d535728
9 changed files with 9 additions and 8 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -35,6 +35,7 @@ class EntityRequest extends Request
if (! $publicId) {
$publicId = Input::get('public_id') ?: Input::get('id');
}
if (! $publicId) {
return null;
}

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.