diff --git a/deploy/available_quote_status.sql b/deploy/available_quote_status.sql index 5c61883..37965da 100644 --- a/deploy/available_quote_status.sql +++ b/deploy/available_quote_status.sql @@ -12,6 +12,7 @@ values ('created', 'Created') , ('sent', 'Sent') , ('accepted', 'Accepted') , ('rejected', 'Rejected') + , ('invoiced', 'Invoiced') ; insert into quote_status_i18n (quote_status, lang_tag, name) @@ -19,10 +20,12 @@ values ('created', 'ca', 'Creat') , ('sent', 'ca', 'Enviat') , ('accepted', 'ca', 'Acceptat') , ('rejected', 'ca', 'Rebutjat') + , ('invoiced', 'ca', 'Facturat') , ('created', 'es', 'Creado') , ('sent', 'es', 'Enviado') , ('accepted', 'es', 'Aceptado') , ('rejected', 'es', 'Rechazado') + , ('invoiced', 'es', 'Facturado') ; commit; diff --git a/verify/available_quote_status.sql b/verify/available_quote_status.sql index 5933fa0..6fb1f7e 100644 --- a/verify/available_quote_status.sql +++ b/verify/available_quote_status.sql @@ -8,6 +8,7 @@ select 1 / count(*) from quote_status where quote_status = 'created' and name =' select 1 / count(*) from quote_status where quote_status = 'sent' and name ='Sent'; select 1 / count(*) from quote_status where quote_status = 'accepted' and name ='Accepted'; select 1 / count(*) from quote_status where quote_status = 'rejected' and name ='Rejected'; +select 1 / count(*) from quote_status where quote_status = 'invoiced' and name ='Invoiced'; select 1 / count(*) from quote_status_i18n where quote_status = 'created' and name ='Creat' and lang_tag = 'ca'; select 1 / count(*) from quote_status_i18n where quote_status = 'created' and name ='Creado' and lang_tag = 'es'; @@ -17,5 +18,7 @@ select 1 / count(*) from quote_status_i18n where quote_status = 'accepted' and n select 1 / count(*) from quote_status_i18n where quote_status = 'accepted' and name ='Aceptado' and lang_tag= 'es'; select 1 / count(*) from quote_status_i18n where quote_status = 'rejected' and name ='Rebutjat' and lang_tag= 'ca'; select 1 / count(*) from quote_status_i18n where quote_status = 'rejected' and name ='Rechazado' and lang_tag= 'es'; +select 1 / count(*) from quote_status_i18n where quote_status = 'invoiced' and name ='Facturat' and lang_tag = 'ca'; +select 1 / count(*) from quote_status_i18n where quote_status = 'invoiced' and name ='Facturado' and lang_tag = 'es'; rollback; diff --git a/web/static/numerus.css b/web/static/numerus.css index 92616fe..788a5da 100644 --- a/web/static/numerus.css +++ b/web/static/numerus.css @@ -678,6 +678,10 @@ main > nav { background-color: var(--numerus--color--rosy); } +.quote-status-invoiced { + background-color: var(--numerus--color--light-gray); +} + .actions details { position: relative; }