-function copy_to_py()
-{
- $_SESSION['pay_items']->from_loc = $_POST['bank_account'];
- $_SESSION['pay_items']->tran_date = $_POST['date_'];
- $_SESSION['pay_items']->transfer_type = $_POST['type'];
- $_SESSION['pay_items']->increase = $_POST['PayType'];
- if (!isset($_POST['person_id']))
- $_POST['person_id'] = "";
- $_SESSION['pay_items']->person_id = $_POST['person_id'];
- if (!isset($_POST['PersonDetailID']))
- $_POST['PersonDetailID'] = "";
- $_SESSION['pay_items']->branch_id = $_POST['PersonDetailID'];
- $_SESSION['pay_items']->memo_ = $_POST['memo_'];
-}
-
-//--------------------------------------------------------------------------------------------------
-
-function copy_from_py()
-{
- $_POST['bank_account'] = $_SESSION['pay_items']->from_loc;
- $_POST['date_'] = $_SESSION['pay_items']->tran_date;
- $_POST['type'] = $_SESSION['pay_items']->transfer_type;
- $_POST['PayType'] = $_SESSION['pay_items']->increase;
- $_POST['person_id'] = $_SESSION['pay_items']->person_id;
- $_POST['PersonDetailID'] = $_SESSION['pay_items']->branch_id;
- $_POST['memo_'] = $_SESSION['pay_items']->memo_;
-}
-
-//-----------------------------------------------------------------------------------------------
-