This commit is contained in:
mmrbnjd
2024-05-23 01:16:59 +03:30
parent 5dac5f70f2
commit 12b89ad630
10 changed files with 229 additions and 38 deletions

View File

@@ -76,8 +76,8 @@ namespace Shared.DTOs
[Display(Name = "مجموع صورتحساب")]
public decimal? tbill { get; set; }
public int? BillReference { get; set; }
public ICollection<InvoiceItemDTO> items { get; set; }
public ICollection<InvoicePaymentDTO> payments { get; set; }
public ICollection<InvoiceItemDTO> items { get; set; }=new List<InvoiceItemDTO>();
public ICollection<InvoicePaymentDTO> payments { get; set; } = new List<InvoicePaymentDTO>();
// public ICollection<InvoiceStatusDto> Invoicestatuschanges { get; set; }
// public ICollection<InvoiceSendTaxDTO> InvoiceSendTaxs { get; set; }
@@ -88,7 +88,7 @@ namespace Shared.DTOs
public int CODID { get; set; }
// شرح کاال/خدمت
public string? sstt { get; set; }
//واحد اندازهگیری
//واحد اندازهگیری------
public string? mu { get; set; }
//تعداد/مقدار
public decimal am { get; set; }
@@ -104,6 +104,7 @@ namespace Shared.DTOs
public decimal? adis { get; set; }
//مبلغ کل کالا/خدمت
public decimal? tsstam { get; set; }
}
public class InvoicePaymentDTO
{
@@ -131,6 +132,7 @@ namespace Shared.DTOs
//تاریخ و زمان پرداخت
[MaxLength(13)]
public long? pdt { get; set; }
public string? PaymentDateTime { get; set; }
//مبلغ پرداختی
[MaxLength(18)]
public decimal? pv { get; set; }