Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nursix/eden
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed Feb 10, 2021
2 parents 5aa6623 + e0e79df commit 84cb0f2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions modules/templates/RLPPTM/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,9 @@ def customise_fin_voucher_controller(**attr):

s3 = current.response.s3

# Enable bigtable features
settings.base.bigtable = True

# Custom prep
standard_prep = s3.prep
def prep(r):
Expand Down Expand Up @@ -867,6 +870,9 @@ def customise_fin_voucher_debit_controller(**attr):

s3 = current.response.s3

# Enable bigtable features
settings.base.bigtable = True

# Custom prep
standard_prep = s3.prep
def prep(r):
Expand Down Expand Up @@ -925,6 +931,16 @@ def prep(r):

settings.customise_fin_voucher_debit_controller = customise_fin_voucher_debit_controller

# -------------------------------------------------------------------------
def customise_fin_voucher_program_controller(**attr):

# Enable bigtable features
settings.base.bigtable = True

return attr

settings.customise_fin_voucher_program_controller = customise_fin_voucher_program_controller

# -------------------------------------------------------------------------
def customise_org_facility_resource(r, tablename):

Expand Down Expand Up @@ -1069,6 +1085,9 @@ def customise_org_organisation_controller(**attr):

s3 = current.response.s3

# Enable bigtable features
settings.base.bigtable = True

# Custom prep
standard_prep = s3.prep
def prep(r):
Expand Down

0 comments on commit 84cb0f2

Please sign in to comment.