projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug [0000037] Price diff and deliveries between po receive and supp invoice.
[fa-stable.git]
/
purchasing
/
manage
/
suppliers.php
diff --git
a/purchasing/manage/suppliers.php
b/purchasing/manage/suppliers.php
index 1748de25deeabac4c2902c1ec879454ef08111bd..5ab0ea8f00b19c54d4f2616dc9661a63f4ac712a 100644
(file)
--- a/
purchasing/manage/suppliers.php
+++ b/
purchasing/manage/suppliers.php
@@
-76,8
+76,7
@@
if (isset($_POST['submit']))
$_POST['supplier_id'] = db_insert_id();
$new_supplier = false;
display_notification(_("A new supplier has been added."));
$_POST['supplier_id'] = db_insert_id();
$new_supplier = false;
display_notification(_("A new supplier has been added."));
- $Ajax->activate('supplier_id');
- $Ajax->activate('controls');
+ $Ajax->activate('_page_body');
}
}
}
}
@@
-134,7
+133,7
@@
if (db_has_suppliers())
}
else
{
}
else
{
- hidden('supplier_id',
$_POST['supplier_id']
);
+ hidden('supplier_id',
get_post('supplier_id')
);
}
//start_table("class='tablestyle2'", 0, 3);
}
//start_table("class='tablestyle2'", 0, 3);