Sha256: 3d46e47b06c0326112ad8c8dbe741fabd9aaa34cb3a79cc0579846b7b7659d7e

Contents?: true

Size: 464 Bytes

Versions: 43

Compression:

Stored size: 464 Bytes

Contents

#= require medivo/models

##########  Appointment model ##############
class window.Appointment
  constructor: (@data) ->

  formattedDate: ->
    date = @data.replace('|',' ')
    Date.parse(date).toString("dddd, MMMM d, yyyy hh:mm tt")

##########  AppointmentList model ##############
class window.AppointmentList extends List

  constructor: (appointment_info, show_number)->
    super( appointment_info, show_number, Appointment, 'appointment_list_tracker')

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
medivo-0.1.21 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.20 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.19 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.18 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.17 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.16 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.15 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.14 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.13 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.12 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.11 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.10 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.9 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.8 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.7 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.6 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.5 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.4 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.3 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.2 app/assets/javascripts/medivo/lab_appointment/models.coffee