本文整理汇总了PHP中criteria函数的典型用法代码示例。如果您正苦于以下问题:PHP criteria函数的具体用法?PHP criteria怎么用?PHP criteria使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了criteria函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: browse
function browse()
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Kode', 'Var Value', 'keterangan');
$data['fields'] = array('varname', 'varvalue', 'keterangan');
$data['field_key'] = 'varname';
$data['caption'] = 'DAFTAR KODE PENOMORAN TRANSAKSI';
$this->load->library('search_criteria');
$faa[] = criteria("Search: ", "sid_nama");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例2: browse
function browse($offset = 0, $limit = 50, $order_column = 'sales_order_number', $order_type = 'asc')
{
$data['controller'] = 'coa_group';
$data['fields_caption'] = array('Kode', 'Nama Kelompok Akun Perkiraan', 'Parent', 'Type');
$data['fields'] = array('group_type', 'group_name', 'parent_group_type', 'account_type');
$data['field_key'] = 'group_type';
$data['caption'] = 'DAFTAR KELOMPOK PERKIRAAN';
$this->load->library('search_criteria');
$faa[] = criteria("Kelompok", "sid_nama");
$data['criteria'] = $faa;
$this->template->display_browse($data);
}
示例3: browse
function browse($offset = 0, $limit = 50, $order_column = 'account', $order_type = 'asc')
{
$data['controller'] = 'coa';
$data['fields_caption'] = array('Type Akun', 'Kelompok', 'Kode Akun', 'Nama Akun Perkiraan', 'Db/Cr', 'Saldo Awal');
$data['fields'] = array('account_type', 'group_type', 'account', 'account_description', 'db_or_cr', 'beginning_balance');
$data['field_key'] = 'account';
$data['caption'] = 'DAFTAR KODE AKUN / COA / PERKIRAAN';
$this->load->library('search_criteria');
$faa[] = criteria("Kode Akun", "sid_no");
$faa[] = criteria("Nama Akun", "sid_nama");
$faa[] = criteria("Kelompok", "sid_kel");
$data['criteria'] = $faa;
$this->template->display_browse($data);
}
示例4: browse
function browse($offset = 0, $limit = 50, $order_column = '', $order_type = 'asc')
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Nomor Bukti', 'Tanggal', 'Faktur', 'Jumlah', 'Keterangan', 'Kode Akun', 'Perkiraan');
$data['fields'] = array('kodecrdb', 'tanggal', 'docnumber', 'amount', 'keterangan', 'account', 'account_description');
$data['field_key'] = 'kodecrdb';
$data['caption'] = 'DAFTAR CREDI MEMO';
$this->load->library('search_criteria');
$faa[] = criteria("Dari", "sid_date_from", "easyui-datetimebox");
$faa[] = criteria("S/d", "sid_date_to", "easyui-datetimebox");
$faa[] = criteria("Nomor BUkti", "sid_number");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例5: browse
function browse($offset = 0, $limit = 50, $order_column = 'sales_order_number', $order_type = 'asc')
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Nomor Bukti', 'Tanggal', 'Jumlah', 'Faktur', 'Kode Cust', 'Nama Customer', 'Salesman', 'Kota', 'Gudang');
$data['fields'] = array('invoice_number', 'invoice_date', 'amount', 'your_order__', 'sold_to_customer', 'company', 'salesman', 'city', 'warehouse_code');
$data['field_key'] = 'invoice_number';
$data['caption'] = 'DAFTAR RETUR PENJUALAN';
$this->load->library('search_criteria');
$faa[] = criteria("Dari", "sid_date_from", "easyui-datetimebox");
$faa[] = criteria("S/d", "sid_date_to", "easyui-datetimebox");
$faa[] = criteria("Nomor", "sid_number");
$faa[] = criteria("Pelanggan", "sid_cust");
$faa[] = criteria("Salesman", "sid_salesman");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例6: browse
function browse($offset = 0, $limit = 50, $order_column = 'purchase_order_number', $order_type = 'asc')
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Nomor Bukri', 'Tgl Bayar', 'Faktur', 'Tgl Faktur', 'Jenis', 'Jumlah Faktur', 'Jumlah Bayar', 'Kode Supplier', 'Nama Supplier', 'Kota', 'Line');
$data['fields'] = array('no_bukti', 'date_paid', 'purchase_order_number', 'po_date', 'how_paid', 'amount', 'amount_paid', 'supplier_number', 'supplier_name', 'city', 'line_number');
$data['field_key'] = 'no_bukti';
$data['caption'] = 'DAFTAR PEMBAYARAN FAKTUR PEMBELIAN';
$this->load->library('search_criteria');
$faa[] = criteria("Dari", "sid_date_from", "easyui-datetimebox");
$faa[] = criteria("S/d", "sid_date_to", "easyui-datetimebox");
$faa[] = criteria("Nomor", "no_bukti");
$faa[] = criteria("Faktur", "invoice_number");
$faa[] = criteria("Supplier", "sid_supplier");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例7: list_info
function list_info($offset = 0)
{
if (isset($_GET['offset'])) {
$offset = $_GET['offset'];
}
$data['offset'] = $offset;
$this->load->library('search_criteria');
$faa[] = criteria("Kode Akun", "sid_no");
$faa[] = criteria("Nama Akun", "sid_nama");
$faa[] = criteria("Kelompok", "sid_kel");
$data['criteria'] = $faa;
$data['criteria_text'] = criteria_text($faa);
$data['sid_nama'] = $this->session->userdata('sid_nama');
$data['sid_kel'] = $this->session->userdata('sid_kel');
$data['sid_no'] = $this->session->userdata('sid_no');
$this->template->display_form_input('gl/info_list_coa', $data);
}
示例8: browse
function browse($offset = 0, $limit = 50, $order_column = 'sales_order_number', $order_type = 'asc')
{
$data['controller'] = 'jobs';
$data['fields_caption'] = array('User Group', 'Nama User Group', 'Keterangan');
$data['fields'] = array('user_group_id', 'user_group_name', 'description');
$data['field_key'] = 'user_group_id';
$data['caption'] = 'DAFTAR USER JOB';
$this->load->library('search_criteria');
$faa[] = criteria("Nama user", "sid_nama");
$faa[] = criteria("Kelompok", "sid_kel");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例9: browse
function browse($offset = 0, $limit = 10, $order_column = 'loan_number', $order_type = 'asc')
{
$data['caption'] = 'DAFTAR PINJAMAN KARYAWAN';
$data['controller'] = 'payroll/pinjaman';
$data['fields_caption'] = array('Nomor', 'NIP', 'Nama Pegawai', 'Dept', 'Divisi', 'Tanggal', 'Jml Pinjaman', 'Jk Waktu', 'Jumlah');
$data['fields'] = array('loan_number', 'nip', 'nama', 'dept', 'divisi', 'loan_date', 'loan_amount', 'loan_count');
$data['field_key'] = 'loan_number';
$this->load->library('search_criteria');
$faa[] = criteria("Nomor", "sid_loan_number");
$faa[] = criteria("NIP", "sid_nip");
$faa[] = criteria("Nama", "sid_nama");
$faa[] = criteria("Dept", "sid_dept");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例10: browse
function browse($offset = 0, $limit = 10, $order_column = 'company', $order_type = 'asc')
{
$data['caption'] = 'DAFTAR MASTER PELANGGAN';
$data['controller'] = 'customer';
$data['fields_caption'] = array('Kode', 'Nama Pelanggan', 'Kota', 'Telp', 'Fax', 'Salesman', 'Kelompok');
$data['fields'] = array('customer_number', 'company', 'city', 'phone', 'fax', 'salesman', 'customer_record_type');
$data['field_key'] = 'customer_number';
$this->load->library('search_criteria');
$faa[] = criteria("Nama", "sid_cust");
$faa[] = criteria("Salesman", "sid_sales");
$faa[] = criteria("Kota", "sid_city");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例11: browse
function browse($offset = 0, $limit = 10, $order_column = 'company', $order_type = 'asc')
{
$data['caption'] = 'DAFTAR MASTER PEGAWAI';
$data['controller'] = 'employee';
$data['fields_caption'] = array('Kode', 'Nama Pegawai', 'Dept', 'Divisi', 'Jabatan', 'Kelompok');
$data['fields'] = array('nip', 'nama', 'dept', 'divisi', 'position', 'emptype');
$data['field_key'] = 'nip';
$this->load->library('search_criteria');
$faa[] = criteria("NIP", "sid");
$faa[] = criteria("Nama", "sid_nama");
$faa[] = criteria("Dept", "sid_dept");
$faa[] = criteria("Divisi", "sid_div");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例12: browse
function browse($offset = 0, $limit = 10, $order_column = 'company', $order_type = 'asc')
{
$data['caption'] = 'DAFTAR HARGA SATUAN BARANG';
$data['controller'] = 'inventory_prices';
$data['fields_caption'] = array('Kode Barang', 'Satuan', 'Harga Jual', 'From Qty', 'To Qty', 'From Date', 'To Date');
$data['fields'] = array('item_number', 'customer_pricing_code', 'retail', 'quantity_high', 'quantity_low', 'date_from', 'date_to');
$data['field_key'] = 'item_number';
$this->load->library('search_criteria');
$faa[] = criteria("Kode", "sid_kode");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例13: browse
function browse($offset = 0, $limit = 50, $order_column = 'mac_id', $order_type = 'asc')
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Kode Mesin', 'Nama Mesin', 'Grup', 'Location', 'Kapasitas');
$data['fields'] = array('mac_id', 'mac_name', 'mac_group', 'location', 'capacity');
$data['field_key'] = 'mac_id';
$data['caption'] = 'DAFTAR KODE MESIN';
$this->load->library('search_criteria');
$faa[] = criteria("Kode", "sid_no");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例14: browse
function browse($offset = 0, $limit = 50, $order_column = 'sales_order_number', $order_type = 'asc')
{
$data['controller'] = $this->controller;
$data['fields_caption'] = array('Kode WOE', 'Kode WO', 'Start Date', 'Exp Date', 'Person', 'Comments');
$data['fields'] = array('work_exec_no', 'wo_number', 'start_date', 'expected_date', 'person_in_charge', 'comments');
$data['field_key'] = 'work_exec_no';
$data['caption'] = 'DAFTAR WORK ORDER EXEC';
$this->load->library('search_criteria');
$faa[] = criteria("Dari", "sid_date_from", "easyui-datetimebox");
$faa[] = criteria("S/d", "sid_date_to", "easyui-datetimebox");
$faa[] = criteria("Kode WOE", "sid_woe");
$faa[] = criteria("Kode WO", "sid_wo");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}
示例15: browse
function browse($offset = 0, $limit = 10, $order_column = 'company', $order_type = 'asc')
{
$data['caption'] = 'DAFTAR KODE PTKP';
$data['controller'] = 'payroll/ptkp';
$data['fields_caption'] = array('Kode', 'Keterangan', 'Ptkp', 'Id');
$data['fields'] = array('kode', 'keterangan', 'jumlah');
$data['field_key'] = 'kode';
$this->load->library('search_criteria');
$faa[] = criteria("Kode", "sid");
$data['criteria'] = $faa;
$this->template->display_browse2($data);
}