localisation
This commit is contained in:
parent
6091e8a3c1
commit
aa2ad71cc6
50 changed files with 1614 additions and 2211 deletions
|
|
@ -13,7 +13,7 @@ namespace Yavsc.Models.Billing
|
|||
using Yavsc.Abstract.Workflow;
|
||||
using Yavsc.Services;
|
||||
|
||||
public abstract class NominativeServiceCommand : IDecidableQuery, IIdentified<long>
|
||||
public abstract class NominativeServiceCommand : IDecidableQuery, IIdentified<long>, IBillable
|
||||
{
|
||||
public string GetInvoiceId() { return GetType().Name + "/" + Id; }
|
||||
|
||||
|
|
|
|||
|
|
@ -24,16 +24,7 @@ namespace Yavsc.Models.Haircut
|
|||
string _description = null;
|
||||
public override string Description
|
||||
{
|
||||
get
|
||||
{
|
||||
string type = ResourcesHelpers.GlobalLocalizer[this.GetType().Name];
|
||||
string gender = ResourcesHelpers.GlobalLocalizer[this.Prestation.Gender.ToString()];
|
||||
return $"{_description} {type} ({gender})";
|
||||
}
|
||||
set
|
||||
{
|
||||
_description = value;
|
||||
}
|
||||
get; set;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue