This commit is contained in:
2013-01-08 10:15:28 +01:00
parent 63cb3593ed
commit e36263b153
13 changed files with 35 additions and 16 deletions
@@ -8,5 +8,12 @@ class List
needs_payment: -> @attributes.needs_payment
active: -> @attributes.state == 'active'
products: -> @attributes.products || []
supplier_name: -> @attributes.supplier_name
created_at: -> @attributes.created_at
display: ->
txt = @supplier_name()
txt += ' - '
txt += Quser.format_date(@created_at())
txt
@List = List