Alea iacta est - now this must be complete by month's end
This commit is contained in:
@@ -335,6 +335,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
StreamReader reader = new StreamReader (StorageRoot + uploadedDoc.ServerFileName,
|
||||
Encoding.GetEncoding (1252)))
|
||||
{
|
||||
throw new NotImplementedException(); // TODO
|
||||
externalData.LoadData (reader, ((ProcessThreadArguments) args).Organization, account.ForeignCurrency);
|
||||
}
|
||||
|
||||
|
||||
@@ -156,6 +156,7 @@
|
||||
var halfway = false;
|
||||
|
||||
var currentYear = <%=DateTime.Today.Year %>;
|
||||
var localizedFirstUploadConfirmation = SwarmopsJS.unescape("<%=this.Localized_ConfirmFirstUpload%>");
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -392,6 +392,7 @@ namespace Swarmops.Site.Pages.Ledgers
|
||||
{
|
||||
try
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
externalData.LoadData (reader, organization, accountCurrency);
|
||||
// catch here and set result to BAD
|
||||
ImportResults results = ProcessImportedData (externalData, (ProcessThreadArguments) args);
|
||||
@@ -432,8 +433,9 @@ namespace Swarmops.Site.Pages.Ledgers
|
||||
|
||||
if (fileType == BankFileType.AccountStatement)
|
||||
{
|
||||
using (StreamReader reader = CreateReader(uploadedDoc, externalData.Profile.Encoding)) // Guarantees disposal of reader
|
||||
using (TextReader reader = CreateReader(uploadedDoc, externalData.Profile.Encoding)) // Guarantees disposal of reader
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
externalData.LoadData (reader, organization, accountCurrency);
|
||||
// catch here and set result to BAD
|
||||
ImportResults results = ProcessImportedData (externalData, (ProcessThreadArguments) args);
|
||||
|
||||
Reference in New Issue
Block a user