projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed 0000097,0000098 and view of credit notes with empty lines.
[fa-stable.git]
/
purchasing
/
supplier_credit.php
diff --git
a/purchasing/supplier_credit.php
b/purchasing/supplier_credit.php
index 96b5dcfe220e10557c0a2c72b6c14c0fe9f39a5c..cb737896a1c07ac85d7366e8e640c312ef5ed71e 100644
(file)
--- a/
purchasing/supplier_credit.php
+++ b/
purchasing/supplier_credit.php
@@
-269,18
+269,18
@@
if (isset($_POST['InvGRNAll']))
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
-$id = find_submit('Delete');
-if ($id != -1)
+$id
3
= find_submit('Delete');
+if ($id
3
!= -1)
{
{
- $_SESSION['supp_trans']->remove_grn_from_trans($id);
+ $_SESSION['supp_trans']->remove_grn_from_trans($id
3
);
$Ajax->activate('grn_items');
$Ajax->activate('inv_tot');
}
$Ajax->activate('grn_items');
$Ajax->activate('inv_tot');
}
-$id = find_submit('Delete2');
-if ($id != -1)
+$id
4
= find_submit('Delete2');
+if ($id
4
!= -1)
{
{
- $_SESSION['supp_trans']->remove_gl_codes_from_trans($id);
+ $_SESSION['supp_trans']->remove_gl_codes_from_trans($id
4
);
clear_fields();
$Ajax->activate('gl_items');
$Ajax->activate('inv_tot');
clear_fields();
$Ajax->activate('gl_items');
$Ajax->activate('inv_tot');
@@
-315,7
+315,6
@@
echo "</td></tr>";
end_table(1); // outer table
end_table(1); // outer table
-$id = find_submit('grn_item_id');
if ($id != -1)
{
$Ajax->activate('grn_items');
if ($id != -1)
{
$Ajax->activate('grn_items');