data($o) ->columns(array( 'id'=>'ID', 'date_payment'=>'Pay Date', 'account->refnum()'=>'Num', 'account->name()'=>'Account', 'total(TRUE)'=>'Total', 'balance(TRUE)'=>'Balance', )) ->prepend( Auth::instance()->get_user()->isAdmin() ? array('id'=>array('url'=>URL::link('admin','payment/edit/'))) : array() ) ?>