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
Commits
5cdeb94e
Verified
Commit
5cdeb94e
authored
3 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 2-add-manual-invoicing
parents
8cf2a21d
b701c4d5
Loading
Loading
1 merge request
!10
Add models for manual invoicing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/tezor/models/invoice.py
+1
-1
1 addition, 1 deletion
aleksis/apps/tezor/models/invoice.py
with
1 addition
and
1 deletion
aleksis/apps/tezor/models/invoice.py
+
1
−
1
View file @
5cdeb94e
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment