implement amendment signing

This commit is contained in:
Bilal
2020-07-21 22:09:08 +02:00
parent 8d16c310df
commit 141ab42d4b
13 changed files with 152 additions and 4 deletions

View File

@@ -781,7 +781,9 @@ en:
actions:
manage: Manage
review: Review
sign_amendment: Sign Amendment
messages:
amendment_signed_tooltip: Amendment Signed
approved_tooltip: Approved by %{user} on %{timestamp}
no_photos: Needs Photo
new:
@@ -1028,6 +1030,15 @@ en:
heading: Licensor/Owner Contact Information
signature:
heading: Signature
amendments:
create:
amendment_already_signed_message: Release amendment is already signed!
amendment_signed_message: Release amendment signed successfully! Thank you
new:
amendment:
heading: Amendment
signature:
heading: Signature
appearance_releases:
create:
notice: Your release has been signed. Thank you!

View File

@@ -339,6 +339,11 @@ es:
notes: Notes (ES)
signed_at: Date Signed (ES)
tags: Tags (ES)
location_release:
actions:
sign_amendment: Sign Amendment (ES)
messages:
amendment_signed_tooltip: Amendment Signed (ES)
material_releases:
form:
photos:
@@ -385,6 +390,15 @@ es:
signed_at: Date Signed (ES)
tags: Tags (ES)
public:
amendments:
create:
amendment_already_signed_message: Release amendment is already signed! (ES)
amendment_signed_message: Release amendment signed successfully! Thank you (ES)
new:
amendment:
heading: Amendment
signature:
heading: Signature (ES)
appearance_releases:
create:
notice: La autorización está firmada. ¡Gracias!

View File

@@ -128,7 +128,9 @@ Rails.application.routes.draw do
resources :talent_releases, only: [:new, :create]
resources :appearance_releases, only: [:new, :create]
resources :acquired_media_releases, only: [:new, :create]
resources :location_releases, only: [:new, :create]
resources :location_releases, only: [:new, :create] do
resources :amendments, only: [:new, :create]
end
resources :material_releases, only: [:new, :create]
resources :medical_releases, only: [:new, :create]
resources :misc_releases, only: [:new, :create]