Some more shaping of Expensify page
This commit is contained in:
@@ -870,6 +870,42 @@ namespace Resources.Pages {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Upload Expensify CSV.
|
||||
/// </summary>
|
||||
internal static string FileExpenseClaim_Expensify_CsvUploadDescription {
|
||||
get {
|
||||
return ResourceManager.GetString("FileExpenseClaim_Expensify_CsvUploadDescription", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to If you have many expense reports, you can gather them with Expensify and upload an Expensify CSV report here (which you obtain from at Expensify under Report, Export, as CSV). Swarmops will use Expensify to fetch all the individual receipts and log them as separate expenses for proper accounting..
|
||||
/// </summary>
|
||||
internal static string FileExpenseClaim_Expensify_InstructionsBasic {
|
||||
get {
|
||||
return ResourceManager.GetString("FileExpenseClaim_Expensify_InstructionsBasic", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to In order for this to work, since {0} reports VAT to the tax authorities, you'll need to modify the default Expensify CSV profile to include the VAT, which the default doesn't. Expensify's help pages has more on how to do this and if you're using Expensify on a team basis, your Expensify policy should already have a VAT-enabled CSV export profile..
|
||||
/// </summary>
|
||||
internal static string FileExpenseClaim_Expensify_InstructionsNeedVat {
|
||||
get {
|
||||
return ResourceManager.GetString("FileExpenseClaim_Expensify_InstructionsNeedVat", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Based on the organization's settings, the "Default CSV" profile in Expensify should be good to go..
|
||||
/// </summary>
|
||||
internal static string FileExpenseClaim_Expensify_InstructionsNothingAdvanced {
|
||||
get {
|
||||
return ResourceManager.GetString("FileExpenseClaim_Expensify_InstructionsNothingAdvanced", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Your Bank Details.
|
||||
/// </summary>
|
||||
|
||||
@@ -667,6 +667,19 @@
|
||||
<data name="ListOutboundInvoices_Title" xml:space="preserve">
|
||||
<value>List Outbound Invoices</value>
|
||||
</data>
|
||||
<data name="FileExpenseClaim_Expensify_CsvUploadDescription" xml:space="preserve">
|
||||
<value>Upload Expensify CSV</value>
|
||||
</data>
|
||||
<data name="FileExpenseClaim_Expensify_InstructionsBasic" xml:space="preserve">
|
||||
<value>If you have many expense reports, you can gather them with Expensify and upload an Expensify CSV report here (which you obtain from at Expensify under Report, Export, as CSV). Swarmops will use Expensify to fetch all the individual receipts and log them as separate expenses for proper accounting.</value>
|
||||
</data>
|
||||
<data name="FileExpenseClaim_Expensify_InstructionsNeedVat" xml:space="preserve">
|
||||
<value>In order for this to work, since {0} reports VAT to the tax authorities, you'll need to modify the default Expensify CSV profile to include the VAT, which the default doesn't. Expensify's help pages has more on how to do this and if you're using Expensify on a team basis, your Expensify policy should already have a VAT-enabled CSV export profile.</value>
|
||||
<comment>{0} is the organization name.</comment>
|
||||
</data>
|
||||
<data name="FileExpenseClaim_Expensify_InstructionsNothingAdvanced" xml:space="preserve">
|
||||
<value>Based on the organization's settings, the "Default CSV" profile in Expensify should be good to go.</value>
|
||||
</data>
|
||||
<data name="FileExpenseClaim_Title_Expensify" xml:space="preserve">
|
||||
<value>Upload Expensify Report For Reimbursement</value>
|
||||
</data>
|
||||
|
||||
@@ -137,6 +137,33 @@
|
||||
</div>
|
||||
<div title="<img src='/Images/Icons/expensify-icon-official.png' width='40' height='40' style='padding-top:12px'>">
|
||||
<h2><asp:Label runat="server" ID="LabelExpensifyUploadHeader" /></h2>
|
||||
|
||||
<div id="divExpensifyInstructions">
|
||||
<p><asp:Label runat="server" ID="LabelExpensifyInstructions1"/></p>
|
||||
<p><asp:Label runat="server" ID="LabelExpensifyInstructions2"/></p>
|
||||
</div>
|
||||
|
||||
<div id="DivUploadExpensify">
|
||||
<div id="divExpensifyUploadAnotherHeader"><h2><asp:Label runat="server" ID="LabelUploadAnotherFileHeader" /></h2></div>
|
||||
<div id="DivPrepData">
|
||||
|
||||
<div class="entryFields">
|
||||
<Swarmops5:FileUpload runat="server" ID="UploadExpensify" Filter="NoFilter" DisplayCount="8" HideTrigger="true" ClientUploadCompleteCallback="uploadCompletedCallback" /></div>
|
||||
<asp:Button ID="ButtonExpensifyUpload" runat="server" CssClass="buttonAccentColor NoInputFocus" OnClientClick="alert('click'); return false;" Text="Request"/>
|
||||
|
||||
<div class="entryLabels">
|
||||
<asp:Label runat="server" ID="LabelExpensifyCsv" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br clear="all"/>
|
||||
</div>
|
||||
|
||||
<div id="DivProcessing" style="display:none">
|
||||
<h2><asp:Label runat="server" ID="LabelProcessing" /></h2>
|
||||
<div id="DivProgressProcessing" style="width:100%"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -142,6 +142,21 @@ namespace Swarmops.Frontend.Pages.v5.Financial
|
||||
/* Expensify tab */
|
||||
|
||||
this.LabelExpensifyUploadHeader.Text = Resources.Pages.Financial.FileExpenseClaim_Title_Expensify;
|
||||
this.LabelExpensifyCsv.Text = Resources.Pages.Financial.FileExpenseClaim_Expensify_CsvUploadDescription;
|
||||
this.LabelExpensifyInstructions1.Text =
|
||||
Resources.Pages.Financial.FileExpenseClaim_Expensify_InstructionsBasic;
|
||||
this.ButtonExpensifyUpload.Text = Resources.Global.Global_UploadFile;
|
||||
|
||||
if (CurrentOrganization.VatEnabled)
|
||||
{
|
||||
this.LabelExpensifyInstructions2.Text =
|
||||
String.Format(Resources.Pages.Financial.FileExpenseClaim_Expensify_InstructionsNeedVat, CurrentOrganization.Name);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LabelExpensifyInstructions2.Text =
|
||||
Resources.Pages.Financial.FileExpenseClaim_Expensify_InstructionsNothingAdvanced;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -227,5 +227,68 @@ namespace Swarmops.Frontend.Pages.v5.Financial {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelExpensifyUploadHeader;
|
||||
|
||||
/// <summary>
|
||||
/// LabelExpensifyInstructions1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelExpensifyInstructions1;
|
||||
|
||||
/// <summary>
|
||||
/// LabelExpensifyInstructions2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelExpensifyInstructions2;
|
||||
|
||||
/// <summary>
|
||||
/// LabelUploadAnotherFileHeader control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelUploadAnotherFileHeader;
|
||||
|
||||
/// <summary>
|
||||
/// UploadExpensify control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Swarmops.Controls.Base.FileUpload UploadExpensify;
|
||||
|
||||
/// <summary>
|
||||
/// ButtonExpensifyUpload control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button ButtonExpensifyUpload;
|
||||
|
||||
/// <summary>
|
||||
/// LabelExpensifyCsv control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelExpensifyCsv;
|
||||
|
||||
/// <summary>
|
||||
/// LabelProcessing control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label LabelProcessing;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user