Skip to content

Issue-7574-Admin area. Allow to export report #7604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions src/Libraries/Nop.Core/Domain/Catalog/LowStockProductReportLine.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
namespace Nop.Core.Domain.Catalog;

/// <summary>
/// Represents low stock report line
/// </summary>
public partial class LowStockProductReportLine
{
/// <summary>
/// Product Id
/// </summary>
public int Id { get; set; }

/// <summary>
/// Product Name
/// </summary>
public string Name { get; set; }

/// <summary>
/// Product Attributes
/// </summary>
public string Attributes { get; set; }

/// <summary>
/// Manage Inventory Method
/// </summary>
public string ManageInventoryMethod { get; set; }

/// <summary>
/// Stock Quantity
/// </summary>
public int StockQuantity { get; set; }

/// <summary>
/// Published
/// </summary>
public bool Published { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@ public partial class BestCustomerReportLine
/// Gets or sets the customer identifier
/// </summary>
public int CustomerId { get; set; }
/// <summary>
/// Gets or sets the customer name
/// </summary>
public string CustomerName { get; set; }

/// <summary>
/// Gets or sets the order total
/// </summary>
public decimal OrderTotal { get; set; }

/// <summary>
/// Gets or sets the order total string
/// </summary>
public string OrderTotalStr { get; set; }

/// <summary>
/// Gets or sets the order count
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
namespace Nop.Core.Domain.Customers;

/// <summary>
/// Represents a registered customer report line
/// </summary>
public partial class RegisteredCustomersReportLine
{
/// <summary>
/// Gets or sets the period.
/// </summary>
public string Period { get; set; }

/// <summary>
/// Gets or sets the customers.
/// </summary>
public int Customers { get; set; }
}
5 changes: 5 additions & 0 deletions src/Libraries/Nop.Core/Domain/Orders/BestsellersReportLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ public partial class BestsellersReportLine
/// </summary>
public decimal TotalAmount { get; set; }

/// <summary>
/// Gets or sets the total amount string
/// </summary>
public string TotalAmountStr { get; set; }

/// <summary>
/// Gets or sets the total quantity
/// </summary>
Expand Down
10 changes: 10 additions & 0 deletions src/Libraries/Nop.Core/Domain/Orders/OrderByCountryReportLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ public partial class OrderByCountryReportLine
/// </summary>
public int? CountryId { get; set; }

/// <summary>
/// Country name; null for unknown country
/// </summary>
public string CountryName { get; set; }

/// <summary>
/// Gets or sets the number of orders
/// </summary>
Expand All @@ -19,4 +24,9 @@ public partial class OrderByCountryReportLine
/// Gets or sets the order total summary
/// </summary>
public decimal SumOrders { get; set; }

/// <summary>
/// Gets or sets the order total summary string
/// </summary>
public string SumOrdersStr { get; set; }
}
Loading