Skip to content

Commit

Permalink
Merge pull request #34 from fim13/fix/#33
Browse files Browse the repository at this point in the history
fixes #33
  • Loading branch information
platzhersh authored Jan 21, 2020
2 parents fdd630b + 8607b9b commit f30cfa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion velafrica/bikes/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def options(self):
]


def plot_bikes_for_sale(self, request):
def plot_bikes_for_sale(request):
return bikes_pdf(
request=request,
queryset=Bike.objects.filter(container__isnull=True).order_by("number"),
Expand Down
2 changes: 1 addition & 1 deletion velafrica/velafrica_sud/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def print_bikes(self, request, obj):
partner_name=obj.partner_to.organisation.name
),
subtitle="{:%d.%m.%Y}".format(obj.pickup_date),
filename="{date:%y%m%d} A+ bikes for sold to {partner_name}".format(
filename="{date:%y%m%d} A+ bikes sold to {partner_name}".format(
date=obj.pickup_date,
partner_name=obj.partner_to.organisation.name
)
Expand Down

0 comments on commit f30cfa0

Please sign in to comment.