implement amendment signing for appearance releases

This commit is contained in:
Bilal
2020-08-04 10:28:41 +02:00
parent 8214ba9e67
commit ee710d7cd1
14 changed files with 374 additions and 117 deletions

View File

@@ -140,7 +140,10 @@ en:
actions:
manage: Manage
review: Review
sign_amendment: Sign Additional Clause
messages:
amendment_not_signed_tooltip: Secondary Clause Not Yet Signed
amendment_signed_tooltip: Secondary Clause Signed
approved_tooltip: Approved by %{user} on %{timestamp}
no_photos: Needs Photo
create:
@@ -173,6 +176,7 @@ en:
empty: Appearance Releases will appear here
imported_appearance_release_missing_attachment: Person photo or contract missing for imported appearance release
table_headers:
amendment_signed: Additional Clause
approved: Approved
contact_info: Contact info
name: Name
@@ -349,7 +353,7 @@ en:
amendment_clause: Amendment Clause
amendment_signature: Amendment Signature
amendment_signer_name: Amendment Signer Name
heading: Amendment
heading: Secondary Clause
for_office_use_only:
description_labels:
date_issued: Date Issued
@@ -518,6 +522,8 @@ en:
person_last_name: Last name
person_name: Name
person_phone: Phone number
contract_template:
amendment_clause: Secondary Clause
location_release:
address_city: City
address_country: Country

View File

@@ -45,6 +45,13 @@ es:
models:
appearance_release: Autorización de Aparacimiento
appearance_releases:
appearance_release:
actions:
sign_amendment: Sign Additional Clause (ES)
manage: Manage (ES)
messages:
amendment_not_signed_tooltip: Amendment not yet signed (ES)
amendment_signed_tooltip: Amendment signed (ES)
create:
failed_import: Failed to create appearance release for files listed below (ES)
matching_started: Matching started (ES)
@@ -64,6 +71,7 @@ es:
index:
imported_appearance_release_missing_attachment: Person photo or contract missing for imported appearance release (ES)
table_headers:
amendment_signed: Additional Clause (ES)
contact_info: ""
name: ""
notes: ""
@@ -169,7 +177,7 @@ es:
amendment_clause: Amendment Clause (ES)
amendment_signature: Amendment Signature (ES)
amendment_signer_name: Amendment Signer Name (ES)
heading: Amendment (ES)
heading: Secondary Clause (ES)
for_office_use_only:
description_labels:
date_issued: Date Issued (ES)

View File

@@ -131,7 +131,9 @@ Rails.application.routes.draw do
resources :projects, only: [] do
resources :contract_templates, only: [:index] do
resources :talent_releases, only: [:new, :create]
resources :appearance_releases, only: [:new, :create]
resources :appearance_releases, only: [:new, :create] do
resources :amendments, only: [:new, :create]
end
resources :acquired_media_releases, only: [:new, :create]
resources :location_releases, only: [:new, :create] do
resources :amendments, only: [:new, :create]