devis_view.pt : affichage devis, facture, proforma

This commit is contained in:
2018-11-29 10:32:24 +01:00
parent d8827bcba8
commit f440168989
8 changed files with 159 additions and 97 deletions

View File

@@ -3,8 +3,10 @@ from pyramid_layout.layout import layout_config
from .security import groupfinder
from .views.default import (
to_euro,
to_euroz,
to_percent,
to_decimal,
to_decz,
)
@layout_config(template='templates/layouts/global_layout.pt')
@@ -22,6 +24,12 @@ class GlobalLayout(object):
def to_euro(self, x):
return to_euro(x)
def to_euroz(self, x):
return to_euroz(x)
def to_decz(self, x):
return to_euroz(x)
def to_percent(self, x):
return to_percent(x)