Hiding VAT where appropriate
This commit is contained in:
@@ -227,7 +227,7 @@
|
||||
<th data-options="field:'Budget',width:150"><asp:Label ID="LabelGridHeaderBudget" runat="server" Text="XYZ Budget" /></th>
|
||||
<th data-options="field:'CreatedDateTime',width:60"><asp:Label ID="LabelGridHeaderCreatedDate" runat="server" Text="XYZ Created" /></th>
|
||||
<th data-options="field:'Description',width:200"><asp:Label ID="LabelExpensifyHeaderDescription" runat="server" Text="XYZ Description" /></th>
|
||||
<th data-options="field:'AmountVat',width:90,align:'right',hidden:<%=!CurrentOrganization.VatEnabled %>"><asp:Label ID="LabelExpensifyHeaderVat" runat="server" Text="XYZ Vat" /></th>
|
||||
<th data-options="field:'AmountVat',width:90,align:'right',hidden:<%=(!CurrentOrganization.VatEnabled).ToString().ToLowerInvariant() %>"><asp:Label ID="LabelExpensifyHeaderVat" runat="server" Text="XYZ Vat" /></th>
|
||||
<th data-options="field:'Amount',width:90,align:'right'"><asp:Label ID="LabelExpensifyHeaderAmount" runat="server" Text="XYZ Amount" /></th>
|
||||
<th data-options="field:'Docs',width:43,align:'center'"><asp:Label ID="LabelExpensifyHeaderDocs" runat="server" Text="XYZAct" /></th>
|
||||
</tr>
|
||||
|
||||
@@ -515,7 +515,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
|
||||
{
|
||||
outputRecords.Add(new ExpensifyOutputRecord
|
||||
{
|
||||
Description = record.CategoryCustom + " / " + record.CategoryStandard + " / " + record.Description,
|
||||
Description = record.CategoryCustom + " / " + record.Description,
|
||||
CreatedDateTime = record.Timestamp.ToString("MMM dd"),
|
||||
Amount = (record.AmountCents / 100.0).ToString("N2"),
|
||||
AmountVat = (record.VatCents / 100.0).ToString("N2"),
|
||||
|
||||
Reference in New Issue
Block a user