Sha256: 5b45c5acce4c95208b4c138a5e7280c823bce5350964c488313ae7255c9b0429
Contents?: true
Size: 950 Bytes
Versions: 4
Compression:
Stored size: 950 Bytes
Contents
class Skr.Models.CustomerProject extends Skr.Models.Base @COLORS: _.map([ 'gray', 'blue', 'orange', 'green', 'pink', 'brown', 'purple', 'yellow' , 'red', 'tan' ], (v, i) -> {id: i + 1, name: v}) props: id: {"type":"integer" } code: {"type":"code" } name: {"type":"string" } description: {"type":"string" } po_num: {"type":"string" } invoice_form: {"type":"string" } sku_id: {"type":"integer" } customer_id: {"type":"integer" } options: "any" rates: "any" mixins: ['HasCodeField'] session: sku_code: {type:"string"} customer_code: {type:"string"} associations: customer: { model: "Customer", required: true } sku: { model: "Sku", required: true } time_entries: { collection: 'TimeEntry', inverse: 'customer_project' }
Version data entries
4 entries across 4 versions & 1 rubygems