예제 #1
0
 static function add_gl($type, $trans_id, $date_, $ref, $account, $memo_, $amount, $person_id, $id_mobil)
 {
     $is_bank_to = Mt::is_bank_account($account);
     Mt::add_gl_trans($type, $trans_id, $date_, $account, $memo_, $amount, $person_id, $id_mobil);
     if ($is_bank_to) {
         Mt::add_bank_trans($type, $trans_id, $is_bank_to, $ref, $date_, $amount, $person_id);
     }
     Mt::add_comments($type, $trans_id, $date_, $memo_);
     // return $trans_id;
 }