Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PO Entry Form Issue - Prev and Next buttons are disabled
12-07-2017, 06:55 PM,
#2
RE: PO Entry Form Issue - Prev and Next buttons are disabled
I suspect what is actually happening is caused by the "Only items defined as from this Supplier" being reset to on whenever you press the next button, and this is causing the list to become less than 25 records.

In PO_Items.php insert the following code at line 1152:

if (isset($_POST['SupplierItemsOnly'])) {
$Checked = 'checked';
} else {
$Checked = '';
}

and then make the echo statement that follows it:

echo '</select></td>
<td>' . _('Enter text extracts in the description') . ':</td>
<td><input type="text" name="Keywords" size="20" maxlength="25" value="' . $_POST['Keywords'] . '" /></td></tr>
<tr><td>' . _('Only items defined as from this Supplier') . ' <input type="checkbox" ', $Checked, ' name="SupplierItemsOnly" ';

This should work,
Tim
Reply


Messages In This Thread
RE: PO Entry Form Issue - Prev and Next buttons are disabled - by TimSchofield - 12-07-2017, 06:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)