public function postCharges($trans_id, $reservation_type, $prod_type, $prodId, $qty)
 {
     /*$trans_id = Input::get('transId');
     		$reservation_type = Input::get('resId');
     		$prod_type = Input::get('prodType');
     		$prodId = Input::get('prodId');
     		$qty = Input::get('qty');*/
     $addCharges = new Charges();
     $addCharges['transaction_id'] = $trans_id;
     $addCharges['reservation_type'] = $reservation_type;
     $addCharges['product_type'] = $prod_type;
     $addCharges['product_id'] = $prodId;
     $addCharges['qty'] = $qty;
     $addCharges->save();
 }
        $priceAdult = PricingSwimming::where('day', '=', 'Overnight')->where('desc_a', '=', 'Adult')->first();
        $priceKid = PricingSwimming::where('day', '=', 'Overnight')->where('desc_a', '=', 'Kids')->first();
    } elseif ($season == "2") {
        $priceAdult = PricingSwimming::where('day', '=', 'Weekend And Holiday Overnight')->where('desc_a', '=', 'Adult')->first();
        $priceKid = PricingSwimming::where('day', '=', 'Weekend And Holiday Overnight')->where('desc_a', '=', 'Kids')->first();
    } else {
        $priceAdult = PricingSwimming::where('day', '=', 'Summer Overnight')->where('desc_a', '=', 'Adult')->first();
        $priceKid = PricingSwimming::where('day', '=', 'Summer Overnight')->where('desc_a', '=', 'Kids')->first();
    }
}
$room = RoomPackage::where('packid', '=', $reservation['package_id'])->first();
$cottageprice = $getcountcheck * $price;
$kidprice = $reservation['num_kid'] * (int) $priceKid['price'];
$adultprice = $reservation['num_adult'] * (int) $priceAdult['price'];
$addtotal = 0;
$charges = Charges::where('transaction_id', '=', $reservation['id'])->where('reservation_type', '=', $reservation['reservation_type'])->where('product_type', '=', "Additional_room")->get();
if (!empty($charges)) {
    foreach ($charges as $charge) {
        $AdditionalPrice = AdditionalPrice::where('aid', '=', $charge['product_id'])->first();
        $addtotal = $addtotal + $AdditionalPrice['price'] * $charge['qty'];
    }
}
?>
<div class="container">
  <div class="row">
    <div class="col-md-12">
      <div class="step_tabs text-uppercase">
       <h3>Reservation</h3>
      </div>
      <div class="create_event">
        <form id="eventPart1" method="post" action="{{URL::Route('postReservation')}}" enctype="multipart/form-data">