Exemple #1
0
$timeline = $_get->get_timeline_order($detail->order_id);
$confirm_payment_type = $_global_payment_method;
$unpaid_payment_type = $_global_payment_method;
$array_unpaid_bank = array();
$array_unpaid_doku = array();
/* --- CURRENCY SYMBOL --- */
if ($detail->currency == 1) {
    $curr_symbol = $_sym_curr_idr;
} else {
    $curr_symbol = $_sym_curr_usd;
}
/* --- CONFIRM METHOD --- */
if ($detail->order_confirm_type == 1) {
    /* --- BANK TRANSFER --- */
    if ($detail->order_confirm_bank != 0) {
        $data_bank_account = $_get->get_bank_account($detail->order_confirm_bank);
        $order_confirm_method = 'Bank Transfer: ' . $data_bank_account->bank_name . ' (' . $data_bank_account->account_number . ')';
    } else {
        $order_confirm_method = 'Bank Transfer';
    }
} else {
    if ($detail->order_confirm_type == 2) {
        /* --- VERITRANS --- */
        $order_confirm_method = 'Veritrans';
    } else {
        if ($detail->order_confirm_type == 3) {
            /* --- DOKU --- */
            $data_doku_channel = $_global->get_doku_channel_id($detail->order_confirm_bank);
            $order_confirm_method = 'Doku: ' . $data_doku_channel->channel_name;
        } else {
            if ($detail->order_confirm_type == 4) {