webERP Forum

Full Version: SupplierInquiry View Payment Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

After created a PO successfully, when we check Supplier -> Supplier Account Inquiry, Under More Info when we select, it seem that the passing is wrong that it is showing SupplierInquiry.php & PaymentAllocations.php as shown below.

weberp/SupplierInquiry.php/PaymentAllocations.php?SuppID=20&InvID=2


Can anyone advise what can I do?

Thanks and Regards
I have changed $_SERVER['PHP_SELF'] to $RootPath and the link is now :
/weberp/PaymentAllocations.php?SuppID=20&InvID=2

Anyone can advise if this is ok?
If I refer to the demo version under : http://www.weberp.org/weberp/SupplierInq...rID=WHYNOT
I am seeing Payment and GL Entries in the More Info column.

But using the downloaded version (4.12.2 & 4.12.3), I am having these which seem wrong in line 315-318 :
<td class="noprint"><a href="' . htmlspecialchars($RootPath, ENT_QUOTES,'UTF-8') . '/PaymentAllocations.php?SuppID=' .
$myrow['type'] . '&amp;InvID=' . $myrow['transno'] . '">' . _('View Payments') . '</a></td>
<td class="noprint"><a href="' . $HoldValue . '?HoldType=' . $_POST['TransAfterDate'] . '&amp;HoldTrans=' . $HoldValue . '&amp;HoldStatus=' .$RootPath . '&amp;FromDate='. $myrow['supplierno'] . '">' . $myrow['suppreference'] . '</a></td></tr>';

Instead of getting the GL Entries, I get the below which there is no PHP linkage.
weberp/Hold?HoldType=26/05/2014&HoldTrans=Hold&HoldStatus=/weberp&FromDate=SUP-101

Please help.

I replaced these lines with these (from older version) that I am not sure if it is correct.
<td class="noprint"><a href="' . htmlspecialchars($RootPath, ENT_QUOTES,'UTF-8') . '/PaymentAllocations.php?SuppID=' .
$myrow['supplierno'].'&amp;InvID=' .$myrow['suppreference'] . '">' . _('View Payments') . '</a></td>
<td class="noprint"><a href="' . $RootPath .'/GLTransInquiry.php?TypeID=' .
$myrow['type'] .'&amp;TransNo=' . $myrow['transno'] .'">'. _('View GL Postings') . '</a></td></tr>';
Reference URL's