Added Basecode to Product
Added Voucher Type During Printing Added Discount Report Fixed Void bill table not getting cleared error Added PAX to table Removed Itital Setup button in MainForm as it was not doing anything
This commit is contained in:
@ -19,6 +19,19 @@ namespace Tanshu.Accounts.Entities
|
||||
{
|
||||
this._date = null;
|
||||
this.User = user;
|
||||
VoucherType = VoucherType.Regular;
|
||||
}
|
||||
|
||||
public Voucher(User user, Customer customer, string table, Waiter waiter ,bool printed, bool isVoid, string narration )
|
||||
: this(user)
|
||||
{
|
||||
Customer = customer;
|
||||
TableID = table;
|
||||
Waiter = waiter;
|
||||
_printed = printed;
|
||||
Void = isVoid;
|
||||
Narration = narration;
|
||||
VoucherType = VoucherType.Regular;
|
||||
}
|
||||
|
||||
protected int _voucherID;
|
||||
@ -33,7 +46,7 @@ namespace Tanshu.Accounts.Entities
|
||||
get { return _date; }
|
||||
}
|
||||
|
||||
public virtual string Narration { get; set; }
|
||||
public virtual int Pax { get; set; }
|
||||
|
||||
[NotNull]
|
||||
public virtual User User { get; set; }
|
||||
@ -71,6 +84,8 @@ namespace Tanshu.Accounts.Entities
|
||||
[Cascade]
|
||||
public virtual IList<VoucherSettlement> Settlements { get; set; }
|
||||
|
||||
public virtual string Narration { get; set; }
|
||||
|
||||
[NotNull]
|
||||
public virtual bool Void { get; set; }
|
||||
|
||||
@ -95,9 +110,9 @@ namespace Tanshu.Accounts.Entities
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning disable 649
|
||||
public virtual VoucherType VoucherType { get; set; }
|
||||
|
||||
private string _kotID;
|
||||
#pragma warning restore 649
|
||||
|
||||
[NotNull]
|
||||
public virtual string KotID
|
||||
|
||||
Reference in New Issue
Block a user