2014-11-18 19:37:52 -06:00
|
|
|
# -*- coding: utf-8 -*-
|
2012-04-10 12:39:30 -05:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Rattail -- Retail Software Framework
|
2016-01-21 20:04:28 -06:00
|
|
|
# Copyright © 2010-2016 Lance Edgar
|
2012-04-10 12:39:30 -05:00
|
|
|
#
|
|
|
|
# This file is part of Rattail.
|
|
|
|
#
|
|
|
|
# Rattail is free software: you can redistribute it and/or modify it under the
|
|
|
|
# terms of the GNU Affero General Public License as published by the Free
|
|
|
|
# Software Foundation, either version 3 of the License, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# Rattail is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
|
|
|
|
# more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with Rattail. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
"""
|
2013-09-01 09:27:47 -05:00
|
|
|
FormAlchemy Field Renderers
|
2012-04-10 12:39:30 -05:00
|
|
|
"""
|
|
|
|
|
2016-01-21 20:04:28 -06:00
|
|
|
from __future__ import unicode_literals, absolute_import
|
|
|
|
|
2015-08-19 17:15:02 -05:00
|
|
|
from .core import CustomFieldRenderer, DateFieldRenderer
|
2015-08-18 23:47:42 -05:00
|
|
|
|
2016-07-13 11:04:23 -05:00
|
|
|
from .common import (StrippedTextFieldRenderer, CodeTextAreaFieldRenderer, AutocompleteFieldRenderer,
|
2015-08-14 15:27:52 -05:00
|
|
|
DecimalFieldRenderer, CurrencyFieldRenderer,
|
2016-03-24 00:06:04 -05:00
|
|
|
DateTimeFieldRenderer, DateTimePrettyFieldRenderer, TimeFieldRenderer,
|
2015-08-14 15:27:52 -05:00
|
|
|
EnumFieldRenderer, YesNoFieldRenderer)
|
2014-11-18 19:37:52 -06:00
|
|
|
|
2016-08-09 19:50:24 -05:00
|
|
|
from .files import FileFieldRenderer
|
|
|
|
|
2015-08-14 15:27:52 -05:00
|
|
|
from .people import (PersonFieldRenderer, PersonFieldLinkRenderer,
|
2016-01-13 02:39:27 -06:00
|
|
|
CustomerFieldRenderer, CustomerFieldLinkRenderer)
|
|
|
|
|
2016-08-12 01:58:07 -05:00
|
|
|
from .users import UserFieldRenderer, PermissionsFieldRenderer
|
2015-08-08 17:20:42 -05:00
|
|
|
|
2015-04-11 00:23:54 -05:00
|
|
|
from .employees import EmployeeFieldRenderer
|
2015-07-15 23:18:53 -05:00
|
|
|
|
2015-08-14 15:27:52 -05:00
|
|
|
from .products import (ProductFieldRenderer, GPCFieldRenderer,
|
|
|
|
BrandFieldRenderer, VendorFieldRenderer,
|
|
|
|
PriceFieldRenderer, PriceWithExpirationFieldRenderer)
|
2015-07-15 23:18:53 -05:00
|
|
|
|
2015-08-14 15:27:52 -05:00
|
|
|
from .stores import StoreFieldRenderer
|
2016-01-21 20:04:28 -06:00
|
|
|
|
|
|
|
from .vendors import VendorFieldRenderer
|