|
@@ -69,11 +69,12 @@ class CostBillPaid extends Backend
|
|
if ($get['item.item']=='1' || $get['item.item']=='2'|| $get['item.item']=='999999999'){
|
|
if ($get['item.item']=='1' || $get['item.item']=='2'|| $get['item.item']=='999999999'){
|
|
$where_and['item_id']=['eq',$get['item.item']];
|
|
$where_and['item_id']=['eq',$get['item.item']];
|
|
}else{
|
|
}else{
|
|
-
|
|
|
|
if ($get['item.item']=='20' ){
|
|
if ($get['item.item']=='20' ){
|
|
$item_id=2;
|
|
$item_id=2;
|
|
- }else{
|
|
|
|
|
|
+ }elseif($get['item.item']=='10' ){
|
|
$item_id=1;
|
|
$item_id=1;
|
|
|
|
+ }else{
|
|
|
|
+ $item_id=3;
|
|
}
|
|
}
|
|
$get_item=CostItem::where('village_id',$get['village_id'])->where('item',$item_id)->column('id');
|
|
$get_item=CostItem::where('village_id',$get['village_id'])->where('item',$item_id)->column('id');
|
|
$where_and['item_id']=['in',$get_item];
|
|
$where_and['item_id']=['in',$get_item];
|