caf9b3106c
Feature: Settings database table added to store string based settings. It is right now used to store bill header and footer. Hard Coded header/footer removed from file. Feature: Tax Analysis form created to easily show the tax calculation. Feature: Management form uses background workers. Dont' know if it is functional though. Chore: Reorder Table form moved to masters from sales folder. Refactor: ManagementBI and SalesAnalysisBI
18 lines
470 B
C#
18 lines
470 B
C#
using NHibernate;
|
|
using Tanshu.Accounts.Entities;
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace Tanshu.Accounts.Repository
|
|
{
|
|
public class MachineLocationBI : UnitOfWork<MachineLocation>
|
|
{
|
|
public IList<string> LocationList()
|
|
{
|
|
const string query = @"select distinct(pl.Location) from PrintLocation pl order by pl.Location";
|
|
var hnq = _session.CreateQuery(query);
|
|
return hnq.List<string>();
|
|
}
|
|
}
|
|
}
|