diff --git a/Backend/app.config b/Backend/app.config index b7a7ef16..51b0aa66 100644 --- a/Backend/app.config +++ b/Backend/app.config @@ -1,3 +1,12 @@ - + - + + + + + + + + + + diff --git a/Backend/packages.config b/Backend/packages.config new file mode 100644 index 00000000..4a7f1074 --- /dev/null +++ b/Backend/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Console/app.config b/Console/app.config index b7a7ef16..51b0aa66 100644 --- a/Console/app.config +++ b/Console/app.config @@ -1,3 +1,12 @@ - + - + + + + + + + + + + diff --git a/Interface/app.config b/Interface/app.config new file mode 100644 index 00000000..46b0dccb --- /dev/null +++ b/Interface/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Interface/packages.config b/Interface/packages.config new file mode 100644 index 00000000..4a7f1074 --- /dev/null +++ b/Interface/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Logic/app.config b/Logic/app.config new file mode 100644 index 00000000..46b0dccb --- /dev/null +++ b/Logic/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Logic/packages.config b/Logic/packages.config new file mode 100644 index 00000000..4a7f1074 --- /dev/null +++ b/Logic/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Site5/App_GlobalResources/Pages.Financial.resx b/Site5/App_GlobalResources/Pages.Financial.resx index 45808c3d..dc5283f9 100644 --- a/Site5/App_GlobalResources/Pages.Financial.resx +++ b/Site5/App_GlobalResources/Pages.Financial.resx @@ -174,7 +174,7 @@ When somebody undoes a previous attestation. - There is not enough funds in the budget to attest this cost. + There are not enough funds remaining in the budget to attest this cost. Attest Costs diff --git a/Site5/Images/Icons/iconshock-balloon-yes-16px-disabled.png b/Site5/Images/Icons/iconshock-balloon-yes-16px-disabled.png new file mode 100644 index 00000000..19345827 Binary files /dev/null and b/Site5/Images/Icons/iconshock-balloon-yes-16px-disabled.png differ diff --git a/Site5/Pages/v5/Financial/AttestCosts.aspx b/Site5/Pages/v5/Financial/AttestCosts.aspx index b6380a62..01a826bf 100644 --- a/Site5/Pages/v5/Financial/AttestCosts.aspx +++ b/Site5/Pages/v5/Financial/AttestCosts.aspx @@ -17,6 +17,7 @@ preload([ '/Images/Abstract/ajaxloader-medium.gif', '/Images/Icons/iconshock-balloon-yes-16px-hot.png', + '/Images/Icons/iconshock-balloon-yes-16px-disabled.png', '/Images/Icons/iconshock-balloon-no-16px-hot.png', '/Images/Icons/iconshock-greentick-16px.png', '/Images/Icons/iconshock-redcross-16px.png', @@ -139,8 +140,18 @@ } } ); + + // we're still in document.ready + + SwarmopsJS.ajaxCall("/Pages/v5/Financial/AttestCosts.aspx/GetRemainingBudgets", {}, function(data) { + data.forEach(function(accountData, dummy1, dummy2) { + budgetRemainingLookup[accountData.AccountId] = accountData.Remaining; + }); + }); }); + var budgetRemainingLookup = {}; +