...
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Back.Data.Models
|
||||
public string? sbc { get { return company?.BranchID; } }
|
||||
//مبلغ پرداختی نقدی
|
||||
[MaxLength(18)]
|
||||
public decimal? cap { get { return insp - tvam - todam - tbill; } }
|
||||
public decimal? cap { get { return tbill- insp- tvam- todam; } }
|
||||
//موضوع صورتحساب
|
||||
[MaxLength(1)]
|
||||
public int? ins { get { return (int)invoiceType; } }
|
||||
@@ -131,11 +131,16 @@ namespace Back.Data.Models
|
||||
//روش تسویه
|
||||
private int? _setm;
|
||||
[MaxLength(1)]
|
||||
public int? setm { get { return pattern.BillTypeID == 3 || pattern.BillTypeID == 4 || pattern.inp==8
|
||||
public int? setm
|
||||
{
|
||||
get
|
||||
{
|
||||
return pattern.BillTypeID == 3 || pattern.BillTypeID == 4 || pattern.inp == 8
|
||||
? 1
|
||||
:_setm; }
|
||||
: _setm;
|
||||
}
|
||||
set { _setm = value; }
|
||||
}
|
||||
}
|
||||
//مبلغ نسیه
|
||||
[MaxLength(18)]
|
||||
public decimal? insp { get; set; } = 0;
|
||||
|
Reference in New Issue
Block a user