les commandes nominatives ont un identifiant de paiment
This commit is contained in:
@ -7,6 +7,7 @@ namespace Yavsc.Models.Billing
|
|||||||
{
|
{
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Workflow;
|
using Workflow;
|
||||||
|
using Yavsc.Models.Payment;
|
||||||
using YavscLib;
|
using YavscLib;
|
||||||
using YavscLib.Billing;
|
using YavscLib.Billing;
|
||||||
using YavscLib.Workflow;
|
using YavscLib.Workflow;
|
||||||
@ -75,5 +76,9 @@ namespace Yavsc.Models.Billing
|
|||||||
public virtual Activity Context { get; set ; }
|
public virtual Activity Context { get; set ; }
|
||||||
|
|
||||||
public abstract System.Collections.Generic.List<IBillItem> GetBillItems();
|
public abstract System.Collections.Generic.List<IBillItem> GetBillItems();
|
||||||
|
public string PaymentId { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("PaymentId"), Display(Name = "Acquittement de la facture")]
|
||||||
|
public virtual PaypalPayment Regularisation { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ namespace YavscLib.Billing
|
|||||||
public interface IBillable {
|
public interface IBillable {
|
||||||
string Description { get; set; }
|
string Description { get; set; }
|
||||||
List<IBillItem> GetBillItems();
|
List<IBillItem> GetBillItems();
|
||||||
|
long Id { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,6 @@ namespace YavscLib.Workflow
|
|||||||
public interface IQuery: IBaseTrackedEntity, IBillable
|
public interface IQuery: IBaseTrackedEntity, IBillable
|
||||||
{
|
{
|
||||||
QueryStatus Status { get; set; }
|
QueryStatus Status { get; set; }
|
||||||
|
string PaymentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user