added a bunch of icons for attest grid
@@ -159,6 +159,9 @@
|
||||
<data name="Financial_Budget" xml:space="preserve">
|
||||
<value>Budget</value>
|
||||
</data>
|
||||
<data name="Financial_CashAdvance" xml:space="preserve">
|
||||
<value>Advance</value>
|
||||
</data>
|
||||
<data name="Financial_YearlyResult" xml:space="preserve">
|
||||
<value>Yearly result</value>
|
||||
</data>
|
||||
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 751 B |
|
After Width: | Height: | Size: 748 B |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 726 B |
|
After Width: | Height: | Size: 746 B |
|
After Width: | Height: | Size: 967 B |
|
After Width: | Height: | Size: 974 B |
|
After Width: | Height: | Size: 980 B |
@@ -18,8 +18,8 @@
|
||||
<th data-options="field:'description',width:140">Description</th>
|
||||
<th data-options="field:'budgetName',width:140,sortable:true">Budget</th>
|
||||
<th data-options="field:'amountRequested',width:80,align:'right',sortable:true,order:'asc'">Requested</th>
|
||||
<th data-options="field:'dox',width:40,align:'right'">Docs</th>
|
||||
<th data-options="field:'wontAttest',width:66,align:'center'">Action</th>
|
||||
<th data-options="field:'dox',width:40,align:'center'">Docs</th>
|
||||
<th data-options="field:'actions',width:65,align:'center'">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
@@ -60,8 +60,8 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : System.Web.UI.Page
|
||||
{
|
||||
result.Append("{");
|
||||
result.AppendFormat(
|
||||
"\"item\":\"{0}\",\"beneficiary\":\"{1}\",\"description\":\"{2}\",\"budgetName\":\"{3}\",\"amountRequested\":\"{4:N2}\",\"itemId\":\"{5}\"",
|
||||
item.IdentityDisplay, item.Beneficiary, item.Description, item.BudgetName,
|
||||
"\"item\":\"{0}\",\"beneficiary\":\"{1}\",\"description\":\"{2}\",\"budgetName\":\"{3}\",\"amountRequested\":\"{4:N2}\",\"itemId\":\"{5}\",\"dox\":\"<img src=\\\"foo\\\" onclick=\\\"alert('foo');\\\" />\",\"actions\":\"Y N\"",
|
||||
GetGlobalResourceObject("Global", item.IdentityDisplay).ToString(), item.Beneficiary, item.Description, item.BudgetName,
|
||||
item.AmountRequestedCents/100.0, item.Identity);
|
||||
result.Append("},");
|
||||
}
|
||||
@@ -135,7 +135,7 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : System.Web.UI.Page
|
||||
|
||||
foreach (CashAdvance advance in advances)
|
||||
{
|
||||
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), advance.Person.Name, advance.AmountCents, advance.FinancialAccount, advance.Description, "AttestCosts_Advance", advance));
|
||||
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), advance.Person.Name, advance.AmountCents, advance.FinancialAccount, advance.Description, "Financial_CashAdvance", advance));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||