8210be9b by wang

init

1 parent 5454ed37
...@@ -21,12 +21,12 @@ class Finance extends CI_Controller { ...@@ -21,12 +21,12 @@ class Finance extends CI_Controller {
21 $this->load->view('finance/makeLoan'); 21 $this->load->view('finance/makeLoan');
22 } 22 }
23 23
24 public function addtime($id) 24 public function addtime()
25 { 25 {
26 26
27 $ret = new stdClass(); 27 // $ret = new stdClass();
28 $ret->id = $id; 28 // $ret->id = $id;
29 $this->load->view('finance/addtime',$ret); 29 $this->load->view('finance/addtime');
30 } 30 }
31 31
32 public function chargedetail() 32 public function chargedetail()
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 2
3 <body> 3 <body>
4 <form action="" id="form1"> 4 <form action="" id="form1">
5 <input type="text" name="id" value="<?=$ret->id?>"> 5 <input type="text" name="id" value="<?=id?>">
6 <div class="panel panel-default mb-20"> 6 <div class="panel panel-default mb-20">
7 <div class="panel-body cl"> 7 <div class="panel-body cl">
8 <div class="row cl"> 8 <div class="row cl">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!