From 5081969fdc595d7269409ca9ec2e6fc120f9b981 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Mon, 23 Jan 2023 13:20:06 +0100 Subject: [PATCH] DataEntry.iPerl.CycleBeginningForm supports up to 10 digit or letter purchase order, ver. 2.31. 2011 --- TBF/Properties/AssemblyInfo.cs | 4 ++-- TBF/Rig/DataEntry/iPerl/CycleBeginningForm.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 3186b430f..7f111a730 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.31.2009.0")] -[assembly: AssemblyFileVersion("2.31.2009.0")] +[assembly: AssemblyVersion("2.31.2011.0")] +[assembly: AssemblyFileVersion("2.31.2011.0")] diff --git a/TBF/Rig/DataEntry/iPerl/CycleBeginningForm.cs b/TBF/Rig/DataEntry/iPerl/CycleBeginningForm.cs index 534691287..ea2a6e601 100644 --- a/TBF/Rig/DataEntry/iPerl/CycleBeginningForm.cs +++ b/TBF/Rig/DataEntry/iPerl/CycleBeginningForm.cs @@ -1,5 +1,5 @@ /// -/// Copyright (c) 2015-2021 Sensus Slovensko a.s. +/// Copyright (c) 2015-2023 Sensus Slovensko a.s. /// using System; using System.Collections.Generic; @@ -193,7 +193,7 @@ namespace TBF.Rig.DataEntry.iPerl private void okButton_Click(object sender, EventArgs e) { - if (orderComboBox.Text.Length > 8 || + if (orderComboBox.Text.Length > 10 || (cfg.Orders != Orders.Arbitrary && !orderComboBox.Items.Contains(orderComboBox.Text))) { MessageBox.Show(Strings.Invalid_order_number, Strings.Error, MessageBoxButtons.OK,