Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Tezor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Tezor
Merge requests
!10
Add models for manual invoicing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add models for manual invoicing
2-add-manual-invoicing
into
master
Overview
0
Commits
9
Pipelines
6
Changes
1
Merged
Nik | Klampfradler
requested to merge
2-add-manual-invoicing
into
master
3 years ago
Overview
0
Commits
9
Pipelines
6
Changes
1
Expand
Advances
#2
Edited
3 years ago
by
Nik | Klampfradler
0
0
Merge request reports
Viewing commit
5cdeb94e
Prev
Next
Show latest version
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
5cdeb94e
Merge branch 'master' into 2-add-manual-invoicing
· 5cdeb94e
Nik | Klampfradler
authored
3 years ago
aleksis/apps/tezor/models/invoice.py
+
1
−
1
Options
@@ -56,7 +56,7 @@ class Invoice(BasePayment, PureDjangoModel):
@@ -56,7 +56,7 @@ class Invoice(BasePayment, PureDjangoModel):
def
get_variant_choices
(
cls
):
def
get_variant_choices
(
cls
):
choices
=
[]
choices
=
[]
for
variant
in
settings
.
PAYMENT_VARIANTS
.
keys
():
for
variant
in
settings
.
PAYMENT_VARIANTS
.
keys
():
choices
.
append
((
variant
,
cls
.
VARIANT_DISPLAY
[
self
.
variant
][
0
]))
choices
.
append
((
variant
,
cls
.
VARIANT_DISPLAY
[
variant
][
0
]))
return
choices
return
choices
def
get_variant_name
(
self
):
def
get_variant_name
(
self
):
Loading