|
|
@@ -782,7 +782,7 @@ namespace UAS_LabelMachine
|
|
|
SelectProdcode = LabelInf.Rows[SelectRowIndex].Cells["pib_prodcode"].Value.ToString();
|
|
|
for (int i = SelectRowIndex; i >= 0; i--)
|
|
|
{
|
|
|
- if (LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString() == SelectProdcode && LabelInf.Rows[i].Cells["pib_ifprint"].FormattedValue.ToString() != "true")
|
|
|
+ if (LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString() == SelectProdcode && LabelInf.Rows[i].Cells["pib_ifprint"].FormattedValue.ToString().ToLower() != "true")
|
|
|
{
|
|
|
LabelInf.Rows[i].Cells["pib_ifprint"].Value = true;
|
|
|
if (!MidOutBoxCode.Contains(int.Parse(LabelInf.Rows[i].Cells["pib_outboxcode1"].Value.ToString())))
|
|
|
@@ -798,7 +798,7 @@ namespace UAS_LabelMachine
|
|
|
}
|
|
|
for (int i = SelectRowIndex; i < LabelInf.Rows.Count - 1; i++)
|
|
|
{
|
|
|
- if (LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString() == SelectProdcode && LabelInf.Rows[i].Cells["pib_ifprint"].Value.ToString()!="true")
|
|
|
+ if (LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString() == SelectProdcode && LabelInf.Rows[i].Cells["pib_ifprint"].Value.ToString().ToLower() != "true")
|
|
|
{
|
|
|
LabelInf.Rows[i].Cells["pib_ifprint"].Value = true;
|
|
|
if (!MidOutBoxCode.Contains(int.Parse(LabelInf.Rows[i].Cells["pib_outboxcode1"].Value.ToString())))
|