Minor fixes

This commit is contained in:
Rick Falkvinge
2021-07-08 10:40:42 +02:00
parent 96c2551798
commit fa9ae0177b
3 changed files with 13 additions and 0 deletions
+9
View File
@@ -879,6 +879,15 @@ namespace Swarmops.Localization {
}
}
/// <summary>
/// Looks up a localized string similar to Date of Expense.
/// </summary>
internal static string FileExpenseClaim_DateIncurred {
get {
return ResourceManager.GetString("FileExpenseClaim_DateIncurred", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Description.
/// </summary>
+3
View File
@@ -431,6 +431,9 @@
<value>Cost Type</value>
<comment>This is the 2nd bookkeeping dimension.</comment>
</data>
<data name="FileExpenseClaim_DateIncurred" xml:space="preserve">
<value>Date of Expense</value>
</data>
<data name="FileExpenseClaim_Description" xml:space="preserve">
<value>Description</value>
</data>
@@ -135,6 +135,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
this.TextAccount.Text = CurrentUser.BankAccount;
this.CurrencyAmount.Cents = 0;
this.CurrencyVat.Cents = 0;
this.DateExpenseIncurred.Value = DateTime.Today;
this.CurrencyAmount.Focus();
Localize();