oyazhuryachna

modal_print_controller_invoice

Dec 29th, 2017
3,169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3.  
  4. class Invoice extends CI_Controller {
  5.  
  6.     function __construct(){
  7.         parent::__construct();
  8.         $this->load->model('M_invoice');
  9.     }
  10.  
  11.     function index(){
  12.         $data['ListInvoice']    =$this->M_invoice->TampilData();
  13.         $data['page']='DataInvoice';
  14.         $this->load->view('home',$data);   
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment