<commit_before>﻿using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Xml.Linq;
using Merchello.Core.Models;
using Microsoft.Web.Infrastructure;
using Umbraco.Core.IO;

namespace Merchello.Plugin.Reports.ExportOrders
{
    using System.Collections.Generic;

    using Merchello.Core;
    using Merchello.Web.Models.Querying;
    using Merchello.Web.Trees;
    using Merchello.Web.Reporting;
    using Merchello.Web.WebApi;
    using Merchello.Core.Services;
    using Merchello.Web;
    

    /// <summary>
    /// The sales over time report controller.
    /// </summary>
    [BackOfficeTree("exportOrders", "reports", "Export Orders", "icon-download", "/merchello/merchello/ViewReport/Merchello.ExportOrders|ExportOrders", 10)]
    public class ExportOrdersReportApiController :  ReportController
    {
        /// <summary>
        /// The <see cref="IInvoiceService"/>.
        /// </summary>
        private readonly IInvoiceService _invoiceService;

        /// <summary>
        /// The <see cref="MerchelloHelper"/>
        /// </summary>
        private readonly MerchelloHelper _merchello;

        /// <summary>
        /// Initializes a new instance of the <see cref="ExportOrdersReportApiController"/> class.
        /// </summary>
        public ExportOrdersReportApiController()
            : this(Core.MerchelloContext.Current)
        {
        }

        /// <summary><commit_msg>export orders fix<commit_after>﻿using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Xml.Linq;
using Merchello.Core.Models;
using Microsoft.Web.Infrastructure;
using Umbraco.Core.IO;
using Umbraco.Web.Mvc;

namespace Merchello.Plugin.Reports.ExportOrders
{
    using System.Collections.Generic;

    using Merchello.Core;
    using Merchello.Web.Models.Querying;
    using Merchello.Web.Trees;
    using Merchello.Web.Reporting;
    using Merchello.Web.WebApi;
    using Merchello.Core.Services;
    using Merchello.Web;
    

    /// <summary>
    /// The sales over time report controller.
    /// </summary>
    [BackOfficeTree("exportOrders", "reports", "Export Orders", "icon-download", "Merchello.ExportOrders\\ExportOrders", 100)]
    public class ExportOrdersReportApiController : ReportController
    {
        /// <summary>
        /// The <see cref="IInvoiceService"/>.
        /// </summary>
        private readonly IInvoiceService _invoiceService;

        /// <summary>
        /// The <see cref="MerchelloHelper"/>
        /// </summary>
        private readonly MerchelloHelper _merchello;

        /// <summary>
        /// Initializes a new instance of the <see cref="ExportOrdersReportApiController"/> class.
        /// </summary>
        public ExportOrdersReportApiController()
            : this(Core.MerchelloContext.Current)
        {
        }

        /// <summary>
{'fraction_non_alphanumeric': 0.11907983761840325, 'fraction_numerical': 0.0016914749661705007, 'mean_word_length': 2.7055137844611528, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '988879', 'n_tokens_mistral': 877, 'n_tokens_neox': 854, 'n_words': 183}