mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:54:31 -04:00
Fixes for sign routes
This commit is contained in:
parent
e18665d1e8
commit
28a2695ef8
@ -79,9 +79,66 @@ class EDocRules
|
|||||||
[
|
[
|
||||||
"key"=> "RiferimentoNumeroLinea",
|
"key"=> "RiferimentoNumeroLinea",
|
||||||
"validation" => [
|
"validation" => [
|
||||||
"string","min:1","max:10","required"
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
],
|
],
|
||||||
]
|
],
|
||||||
|
[
|
||||||
|
"key"=> "IdDocumento",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "Data",
|
||||||
|
"validation" => [
|
||||||
|
"string","date","required",
|
||||||
|
"type" => "date",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "NumItem",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCommessaConvenzione",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCUP",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCIG",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -90,6 +147,71 @@ class EDocRules
|
|||||||
"type" => "object",
|
"type" => "object",
|
||||||
"resource" => "DatiOrdineAcquisto",
|
"resource" => "DatiOrdineAcquisto",
|
||||||
"required" => false,
|
"required" => false,
|
||||||
|
"children" => [
|
||||||
|
[
|
||||||
|
"key"=> "RiferimentoNumeroLinea",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "IdDocumento",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "Data",
|
||||||
|
"validation" => [
|
||||||
|
"string","date","required",
|
||||||
|
"type" => "date",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "NumItem",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCommessaConvenzione",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCUP",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCIG",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"key" => "DatiAnagraficiVettore",
|
"key" => "DatiAnagraficiVettore",
|
||||||
@ -97,6 +219,71 @@ class EDocRules
|
|||||||
"type" => "object",
|
"type" => "object",
|
||||||
"resource" => "DatiAnagraficiVettore",
|
"resource" => "DatiAnagraficiVettore",
|
||||||
"required" => false,
|
"required" => false,
|
||||||
|
"children" => [
|
||||||
|
[
|
||||||
|
"key"=> "RiferimentoNumeroLinea",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "IdDocumento",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "Data",
|
||||||
|
"validation" => [
|
||||||
|
"string","date","required",
|
||||||
|
"type" => "date",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "NumItem",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCommessaConvenzione",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCUP",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"key"=> "CodiceCIG",
|
||||||
|
"validation" => [
|
||||||
|
"string","min:1","max:10","required",
|
||||||
|
"type" => "string",
|
||||||
|
"resource" => "",
|
||||||
|
"required" => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ Route::group(['middleware' => ['invite_db'], 'prefix' => 'client', 'as' => 'clie
|
|||||||
Route::get('{entity}/{invitation_key}/download', [App\Http\Controllers\ClientPortal\InvitationController::class, 'routerForDownload'])->middleware('token_auth');
|
Route::get('{entity}/{invitation_key}/download', [App\Http\Controllers\ClientPortal\InvitationController::class, 'routerForDownload'])->middleware('token_auth');
|
||||||
Route::get('pay/{invitation_key}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'payInvoice'])->name('pay.invoice');
|
Route::get('pay/{invitation_key}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'payInvoice'])->name('pay.invoice');
|
||||||
|
|
||||||
Route::get('email_preferences/{entity}/{invitation_key}', [EmailPreferencesController::class, 'index'])->name('email_preferences')->middleware('signed');
|
Route::get('email_preferences/{entity}/{invitation_key}', [EmailPreferencesController::class, 'index'])->name('email_preferences');
|
||||||
Route::put('email_preferences/{entity}/{invitation_key}', [EmailPreferencesController::class, 'update']);
|
Route::put('email_preferences/{entity}/{invitation_key}', [EmailPreferencesController::class, 'update']);
|
||||||
|
|
||||||
Route::get('unsubscribe/{entity}/{invitation_key}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'unsubscribe'])->name('unsubscribe');
|
Route::get('unsubscribe/{entity}/{invitation_key}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'unsubscribe'])->name('unsubscribe');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user