diff --git a/Site/App_GlobalResources/Pages.Ledgers.designer.cs b/Site/App_GlobalResources/Pages.Ledgers.designer.cs
index 3cfbbf9e..ea60e07e 100644
--- a/Site/App_GlobalResources/Pages.Ledgers.designer.cs
+++ b/Site/App_GlobalResources/Pages.Ledgers.designer.cs
@@ -618,6 +618,15 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to Mark Purchase.
+ ///
+ internal static string BalanceTransactions_ModalDialog_ButtonPurchase {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_ButtonPurchase", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Close VAT report.
///
@@ -663,6 +672,42 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to Charge purchase to this budget.
+ ///
+ internal static string BalanceTransactions_ModalDialog_DescribePurchaseBudget {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_DescribePurchaseBudget", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Upload receipt or other documentation.
+ ///
+ internal static string BalanceTransactions_ModalDialog_DescribePurchaseDocUpload {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_DescribePurchaseDocUpload", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Update transaction description.
+ ///
+ internal static string BalanceTransactions_ModalDialog_DescribePurchaseTransaction {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_DescribePurchaseTransaction", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to VAT part of the amount.
+ ///
+ internal static string BalanceTransactions_ModalDialog_DescribePurchaseVat {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_DescribePurchaseVat", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to This transaction is payment/return for this VAT report:.
///
@@ -726,6 +771,15 @@ namespace Resources.Pages {
}
}
+ ///
+ /// Looks up a localized string similar to Mark this as a direct-from-account purchase?.
+ ///
+ internal static string BalanceTransactions_ModalDialog_RadioPurchase {
+ get {
+ return ResourceManager.GetString("BalanceTransactions_ModalDialog_RadioPurchase", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Close a VAT report with this transaction?.
///
diff --git a/Site/App_GlobalResources/Pages.Ledgers.resx b/Site/App_GlobalResources/Pages.Ledgers.resx
index f790ebcb..67bdd6a8 100644
--- a/Site/App_GlobalResources/Pages.Ledgers.resx
+++ b/Site/App_GlobalResources/Pages.Ledgers.resx
@@ -920,4 +920,22 @@
Totals for this reportDisplayed as description of footer
+
+ Mark Purchase
+
+
+ Charge purchase to this budget
+
+
+ Upload receipt or other documentation
+
+
+ Update transaction description
+
+
+ VAT part of the amount
+
+
+ Mark this as a direct-from-account purchase?
+
\ No newline at end of file
diff --git a/Site/Pages/v5/Ledgers/BalanceTransactions.aspx b/Site/Pages/v5/Ledgers/BalanceTransactions.aspx
index 4241c440..df0fa54c 100644
--- a/Site/Pages/v5/Ledgers/BalanceTransactions.aspx
+++ b/Site/Pages/v5/Ledgers/BalanceTransactions.aspx
@@ -33,8 +33,13 @@
$('#buttonExecuteOutboundInvoice').val(buttonOutboundInvoiceValue);
$('#buttonExecuteVatReport').val(buttonVatReportValue);
+ if (isVatEnabled) {
+ $(".onVatEnabled").show();
+ }
+
});
+ var isVatEnabled = <%= CurrentOrganization.VatEnabled? "true": "false" %>;
var transactionId = 0;
function onFixTransaction(newTransactionId) {
@@ -201,6 +206,7 @@
var buttonPayoutForeignValue = SwarmopsJS.unescape('<%=this.Localized_ButtonPayoutForeign%>');
var buttonOutboundInvoiceValue = SwarmopsJS.unescape('<%=this.Localized_ButtonOutboundInvoice%>');
var buttonVatReportValue = SwarmopsJS.unescape('<%=this.Localized_ButtonVatReport%>');
+ var buttonPurchaseValue = SwarmopsJS.unescape('<%=this.Localized_ButtonPurchase%>');
@@ -299,20 +305,20 @@
-