- tran_date, person_id, reference, qty, standard_cost, visible, price,
- discount_percent) VALUES (".db_escape($stock_id)
- .", ".db_escape($trans_no).", ".db_escape($type)
- .", ".db_escape($location).", '$date', "
- .db_escape($person_id).", ".db_escape($reference).", "
- .db_escape($quantity).", ".db_escape($std_cost).","
- .db_escape($show_or_hide).", "
- .db_escape($price).", ".db_escape($discount_percent).")";
+ tran_date, reference, qty, standard_cost, price) VALUES ("
+ .db_escape($stock_id).", ".db_escape($trans_no).", "
+ .db_escape($type).", ".db_escape($location).", '$date', "
+ .db_escape($reference).", "
+ .db_escape($quantity).", ".db_escape($std_cost)."," .db_escape($price).")";