kosmetiske endringer på printing i AddStockMenu

This commit is contained in:
Øyvind Almelid 2011-06-08 18:06:21 +00:00
parent 2557b2ab52
commit 6e015344a2
1 changed files with 1 additions and 0 deletions

View File

@ -1218,6 +1218,7 @@ much money you're due in credits for the purchase when prompted.
print ("Amount to be credited: %"+str(Product.name_length-17)+"i") % (self.price) print ("Amount to be credited: %"+str(Product.name_length-17)+"i") % (self.price)
if self.user: if self.user:
print ("User to credit: %"+str(Product.name_length-10)+"s") % (self.user.name) print ("User to credit: %"+str(Product.name_length-10)+"s") % (self.user.name)
print ('\n%-'+str(Product.name_length-1)+'s Amount') % ("Product")
print (6+Product.name_length)*'-' print (6+Product.name_length)*'-'
if len(self.products): if len(self.products):
# print "Products added:" # print "Products added:"