Two things:
* User views its devices, from a /manage index link * Yavsc.Server resurectionmain
parent
a77b83bf24
commit
f7d4447594
@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Yavsc.Services;
|
||||||
|
|
||||||
|
namespace Yavsc.Billing
|
||||||
|
{
|
||||||
|
public interface IBillable {
|
||||||
|
string GetDescription ();
|
||||||
|
List<IBillItem> GetBillItems();
|
||||||
|
long Id { get; set; }
|
||||||
|
|
||||||
|
string ActivityCode { get; set; }
|
||||||
|
|
||||||
|
string PerformerId { get; set; }
|
||||||
|
string ClientId { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// Date de validation de la demande par le client
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
|
||||||
|
DateTime? ValidationDate { get; }
|
||||||
|
|
||||||
|
bool GetIsAcquitted ();
|
||||||
|
|
||||||
|
string GetFileBaseName (IBillingService service);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,27 +1,29 @@
|
|||||||
namespace Yavsc.Services
|
namespace Yavsc.Services
|
||||||
{
|
{
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Yavsc.Abstract.Workflow;
|
using Yavsc.Abstract.Workflow;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
public interface IBillingService
|
public interface IBillingService
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Renvoye la facture associée à une clé de facturation:
|
/// Renvoye la facture associée à une clé de facturation,
|
||||||
/// le couple suivant :
|
/// à partir du couple suivant :
|
||||||
///
|
///
|
||||||
/// * un code de facturation
|
/// * un code de facturation
|
||||||
/// (identifiant associé à un type de facturation d'un flux de travail)
|
/// (identifiant associé à un type de demande du client)
|
||||||
/// * un entier long identifiant la demande du client
|
/// * un entier long identifiant la demande du client
|
||||||
/// (à une demande, on associe au maximum une seule facture)
|
/// (à une demande, on associe au maximum une seule facture)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="billingCode">Identifiant du type de facturation</param>
|
/// <param name="billingCode">Identifiant du type de facturation</param>
|
||||||
/// <param name="queryId">Identifiant de la demande du client</param>
|
/// <param name="queryId">Identifiant de la demande du client</param>
|
||||||
/// <returns>La facture</returns>
|
/// <returns>La facture</returns>
|
||||||
Task<INominativeQuery> GetBillAsync(string billingCode, long queryId);
|
Dictionary<string,string> BillingMap { get; }
|
||||||
Task<IQueryable<ISpecializationSettings>> GetPerformersSettingsAsync(string activityCode);
|
Task<INominativeQuery> GetBillAsync(string billingCode, long queryId);
|
||||||
|
Task<IQueryable<ISpecializationSettings>> GetPerformersSettingsAsync(string activityCode);
|
||||||
Task<ISpecializationSettings> GetPerformerSettingsAsync(string activityCode, string userId);
|
|
||||||
|
|
||||||
}
|
Task<ISpecializationSettings> GetPerformerSettingsAsync(string activityCode, string userId);
|
||||||
}
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -0,0 +1,8 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
|
namespace Yavsc {
|
||||||
|
interface IBillingService_deux {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue