Skip to content
Permalink
c06d810d36
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
46 lines (41 sloc) 1003 Bytes
app.service('HolderService', function () {
//declare the type
//don't change this without also changing the data model
var Blank_Customer = {
FName: null,
LName: null,
Address: null,
City: null,
State: null,
Post: null,
Country: null,
Phone: null,
Fax: null,
Email: null,
Company: null,
//SUPPORT REP ID SHOULD BE 0 for NEW customer
SupportRepID: null,
PersonID: null,
CustomerID: null
};
var Blank_Track = {
TrackId: null,
TrackName: null,
AlbumTitle: null,
MediaType: null,
Genre: null,
Composer: null,
Milliseconds: null,
Bytes: null,
UnitPrice: null,
};
//create the accessor for it
return {
getBlankCustomer: function () {
return Blank_Customer;
},
getBlankTrack: function () {
return Blank_Track;
}
};
});