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.2.16 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.15 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.14 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.13 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.12 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.11 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.10 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.9 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.8 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.7 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.6 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.5 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.3 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.2 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.1 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.2.0 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.25 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.24 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.23 app/assets/javascripts/medivo/lab_appointment/models.coffee
medivo-0.1.22 app/assets/javascripts/medivo/lab_appointment/models.coffee