diff --git a/ConfirmDispatch_Invoice.php b/ConfirmDispatch_Invoice.php index c5ecfacb6..09f67913a 100644 --- a/ConfirmDispatch_Invoice.php +++ b/ConfirmDispatch_Invoice.php @@ -882,7 +882,6 @@ $ErrMsg =_('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The debtor transaction record could not be inserted because'); $DbgMsg = _('The following SQL to insert the debtor transaction record was used'); $Result = DB_query($SQL,$ErrMsg,$DbgMsg,true); - $DebtorTransID = DB_Last_Insert_ID('debtortrans','id'); /* Insert the tax totals for each tax authority where tax was charged on the invoice */ @@ -1833,4 +1832,4 @@ echo ''; include('includes/footer.php'); -?> \ No newline at end of file +?> diff --git a/DeliveryDetails.php b/DeliveryDetails.php index 630dc6f3b..48cbe9db8 100644 --- a/DeliveryDetails.php +++ b/DeliveryDetails.php @@ -1086,7 +1086,7 @@ ' . _('Customer Reference') .': - + ' . _('Comments') .': @@ -1204,4 +1204,4 @@ '; include('includes/footer.php'); -?> \ No newline at end of file +?> diff --git a/sql/mysql/upgrade4.12.1-4.12.2.sql b/sql/mysql/upgrade4.12.1-4.12.2.sql index 136d01919..a234eb1bd 100644 --- a/sql/mysql/upgrade4.12.1-4.12.2.sql +++ b/sql/mysql/upgrade4.12.1-4.12.2.sql @@ -14,5 +14,7 @@ CREATE TABLE IF NOT EXISTS `locationusers` ( INSERT INTO `locationusers` (`loccode`, `userid`, `canview`, `canupd`) SELECT loccode, userid,1,1 FROM locations, www_users; INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('LocationUsers.php', '15', 'Allows users that have permission to access a location to be defined'); +ALTER TABLE debtortrans MODIFY reference varchar(50); + -- Update version number: UPDATE config SET confvalue='4.12.2' WHERE confname='VersionNumber';