|
@@ -292,6 +292,7 @@ class Fullorder extends Start_Controller {
|
|
|
$user = $this->input->post('user',true);
|
|
|
$client = $this->input->post('name',true);
|
|
|
$waybill = $this->input->post('waybill',true);
|
|
|
+ $waybillid = $this->input->post('waybillid',true);
|
|
|
$number = $this->input->post('number',true);
|
|
|
$email = $this->input->post('email',true);
|
|
|
$phone = $this->input->post('phone',true);
|
|
@@ -365,6 +366,9 @@ class Fullorder extends Start_Controller {
|
|
|
{
|
|
|
$where .= " and waybill like '%$waybill%'";
|
|
|
}
|
|
|
+ if($waybillid){
|
|
|
+ $where .= " and waybillid like '%".$waybillid."%'";
|
|
|
+ }
|
|
|
if($number)
|
|
|
{
|
|
|
$where .= " and number like '$number%'";
|