Add the “invoiced” quote status
This is for people to mark quotes that are already invoiced and filter them out in the list.
This commit is contained in:
parent
a16f696be5
commit
2d5a644c9d
|
@ -12,6 +12,7 @@ values ('created', 'Created')
|
||||||
, ('sent', 'Sent')
|
, ('sent', 'Sent')
|
||||||
, ('accepted', 'Accepted')
|
, ('accepted', 'Accepted')
|
||||||
, ('rejected', 'Rejected')
|
, ('rejected', 'Rejected')
|
||||||
|
, ('invoiced', 'Invoiced')
|
||||||
;
|
;
|
||||||
|
|
||||||
insert into quote_status_i18n (quote_status, lang_tag, name)
|
insert into quote_status_i18n (quote_status, lang_tag, name)
|
||||||
|
@ -19,10 +20,12 @@ values ('created', 'ca', 'Creat')
|
||||||
, ('sent', 'ca', 'Enviat')
|
, ('sent', 'ca', 'Enviat')
|
||||||
, ('accepted', 'ca', 'Acceptat')
|
, ('accepted', 'ca', 'Acceptat')
|
||||||
, ('rejected', 'ca', 'Rebutjat')
|
, ('rejected', 'ca', 'Rebutjat')
|
||||||
|
, ('invoiced', 'ca', 'Facturat')
|
||||||
, ('created', 'es', 'Creado')
|
, ('created', 'es', 'Creado')
|
||||||
, ('sent', 'es', 'Enviado')
|
, ('sent', 'es', 'Enviado')
|
||||||
, ('accepted', 'es', 'Aceptado')
|
, ('accepted', 'es', 'Aceptado')
|
||||||
, ('rejected', 'es', 'Rechazado')
|
, ('rejected', 'es', 'Rechazado')
|
||||||
|
, ('invoiced', 'es', 'Facturado')
|
||||||
;
|
;
|
||||||
|
|
||||||
commit;
|
commit;
|
||||||
|
|
|
@ -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 = '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 = '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 = '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 ='Creat' and lang_tag = 'ca';
|
||||||
select 1 / count(*) from quote_status_i18n where quote_status = 'created' and name ='Creado' and lang_tag = 'es';
|
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 = '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 ='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 = '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;
|
rollback;
|
||||||
|
|
|
@ -678,6 +678,10 @@ main > nav {
|
||||||
background-color: var(--numerus--color--rosy);
|
background-color: var(--numerus--color--rosy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.quote-status-invoiced {
|
||||||
|
background-color: var(--numerus--color--light-gray);
|
||||||
|
}
|
||||||
|
|
||||||
.actions details {
|
.actions details {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue