Fix Bug : tva_code not retrieve from search
This commit is contained in:
parent
cbaed83ec8
commit
f1baf67e42
7 changed files with 175 additions and 11 deletions
|
|
@ -4,9 +4,9 @@ update menu_ref set me_menu='Navigateur 🧭' where me_code ~ 'NAVI';
|
|||
update menu_ref set me_menu='Configuration 🔧' where me_code='CFG';
|
||||
|
||||
|
||||
ALTER TABLE public.tva_rate ADD CONSTRAINT tva_code_number_check CHECK (isnumeric(tva_code) = false);
|
||||
ALTER TABLE public.tva_rate ADD CONSTRAINT tva_code_number_check CHECK (tva_code::text !~ '^([0-9]+)$');
|
||||
|
||||
drop view if exists public.vw_fiche_attr;
|
||||
-- drop view if exists public.vw_fiche_attr;
|
||||
|
||||
CREATE OR REPLACE VIEW public.vw_fiche_attr
|
||||
AS SELECT a.f_id,
|
||||
|
|
@ -77,4 +77,4 @@ AS SELECT a.f_id,
|
|||
FROM fiche_detail
|
||||
WHERE fiche_detail.ad_id = 5) l ON a.f_id = l.f_id;
|
||||
|
||||
COMMENT ON VIEW public.vw_fiche_attr IS 'Some attribute for all cards';
|
||||
COMMENT ON VIEW public.vw_fiche_attr IS 'Some attribute for all cards';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue