Dumbfixes
This commit is contained in:
@@ -35,22 +35,21 @@
|
||||
var dateText = $('#<%=this.ClientID%>_TextInput').val();
|
||||
|
||||
var jsonData = {};
|
||||
jsonData.input = dataText;
|
||||
jsonData.input = dateText;
|
||||
|
||||
if (currencyText.trim().indexOf(' ') >= 0) {
|
||||
SwarmopsJS.ajaxCall('/Automation/Formatting.aspx/InterpretDateString',
|
||||
jsonData,
|
||||
function(data) {
|
||||
if (data.Success) {
|
||||
$('#<%=this.ClientID%>_TextInput').val(data.PresentedValue);
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val(data.InterpretedValue);
|
||||
} else {
|
||||
$('#<%=this.ClientID%>_TextInput').val('');
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val('');
|
||||
$('#<%=this.TextInput.ClientID%>').focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
SwarmopsJS.ajaxCall('/Automation/Formatting.aspx/InterpretDateString',
|
||||
jsonData,
|
||||
function(data) {
|
||||
if (data.Success) {
|
||||
$('#<%=this.ClientID%>_TextInput').val(data.PresentedValue);
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val(data.InterpretedValue);
|
||||
} else {
|
||||
$('#<%=this.ClientID%>_TextInput').val('');
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val('');
|
||||
$('#<%=this.TextInput.ClientID%>').focus();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
|
||||
this.LabelPurpose.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_Description");
|
||||
this.LabelBudget.Text = LocalizedStrings.Get(LocDomain.Global, "Financial_Budget");
|
||||
this.LabelHeaderBankDetails.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_HeaderPaymentDetails");
|
||||
this.LabelHeaderImageFiles.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "Financial.CreateInboundInvoice_HeaderInvoiceImage");
|
||||
this.LabelHeaderImageFiles.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_HeaderInvoiceImage");
|
||||
this.LabelImageFiles.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_UploadInvoiceImage");
|
||||
this.LabelReference.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_Reference");
|
||||
this.LabelAccount.Text = LocalizedStrings.Get(LocDomain.PagesFinancial, "CreateInboundInvoice_SupplierAccount");
|
||||
|
||||
Reference in New Issue
Block a user