get invoice view

This commit is contained in:
mmrbnjd
2024-05-14 14:58:25 +03:30
parent b208c71bd7
commit b44500d9ab
9 changed files with 330 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class ForCustomerSearch
{
public int ID { get; set; }
public string CustomerName { get; set; }
}
}

View File

@@ -19,25 +19,34 @@ namespace Shared.DTOs
}
public class InvoiceDTO
{
[Display(Name = "شناسه")]
public int ID { get; set; }
[Display(Name = "عنوان")]
public string Title { get; set; }
public InvoiceType? invoiceType { get; set; }
public int? PatternID { get; set; }
public string? PatternTitle { get; set; }
[Display(Name = "نوع صورتحساب")]
public string? invoiceTypeTitle { get; set; }
public int CustomerID { get; set; }
[Display(Name = "مشتری")]
public string CustomerName { get; set; }
public string? Udate { get; set; }
[Display(Name = "تاریخ صدور")]
public string InvoicIssueDate { get; set; }
public string InvoiceDate { get; set; }
public bool PreparedtoSendtoTax { get; set; }
public string Title { get; set; }
public string? Des { get; set; }
//مجموع تخفیفات
[Display(Name = "مجموع تخفیفات")]
public decimal? tdis { get; set; }
//مجموع مالیات بر ارزش افزوده
[MaxLength(18)]
[Display(Name = "مجموع مالیات")]
public decimal? tvam { get; set; }
//مجموع صورتحساب
[MaxLength(18)]
[Display(Name = "مجموع صورتحساب")]
public decimal? tbill { get; set; }
public int? BillReference { get; set; }
public ICollection<InvoiceItemDTO> items { get; set; }

View File

@@ -8,10 +8,10 @@ namespace Shared.DTOs.Serch
{
public class ItemSerchGetInvoices : IFildGlobalItemSerch
{
public string? Title { get; set; }
public int? InvoiceID { get; set; }
public string? Title { get; set; }//
public int? InvoiceID { get; set; }//
public int? CustomerID { get; set; }
public InvoiceType? invoiceType { get; set; }
public InvoiceType? invoiceType { get; set; }//
public int PageIndex { get; set; } = 1;
public int PageSize { get; set; } = 5;
}