caf9b3106c
Feature: Settings database table added to store string based settings. It is right now used to store bill header and footer. Hard Coded header/footer removed from file. Feature: Tax Analysis form created to easily show the tax calculation. Feature: Management form uses background workers. Dont' know if it is functional though. Chore: Reorder Table form moved to masters from sales folder. Refactor: ManagementBI and SalesAnalysisBI
35 lines
995 B
C#
35 lines
995 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
{
|
|
public class SalesAnalysis
|
|
{
|
|
public virtual string GroupType { get; set; }
|
|
public virtual decimal Amount { get; set; }
|
|
}
|
|
|
|
public class TaxAnalysis
|
|
{
|
|
public virtual string Name { get; set; }
|
|
public virtual decimal TaxRate { get; set; }
|
|
public virtual decimal NetSale { get; set; }
|
|
public virtual decimal TaxAmount { get; set; }
|
|
}
|
|
|
|
public class SalesAnalysisDetail
|
|
{
|
|
public virtual string Product { get; set; }
|
|
public virtual decimal Sale { get; set; }
|
|
public virtual decimal NC { get; set; }
|
|
public virtual decimal Staff { get; set; }
|
|
}
|
|
public class BillDetail
|
|
{
|
|
public virtual DateTime Date { get; set; }
|
|
public virtual string BillID { get; set; }
|
|
public virtual decimal Amount { get; set; }
|
|
public virtual string Settlement { get; set; }
|
|
}
|
|
}
|