'+data.created_date+" by "+data.created_by_username+"
"+"
"+Joomla.JText._("SR_RESERVATION_NOTE_NOTIFY_CUSTOMER")+": "+data.notify_customer+" | "+""+Joomla.JText._("SR_RESERVATION_NOTE_DISPLAY_IN_FRONTEND")+": "+data.visible_in_frontend+"
"+"
"+data.text+"
"));form.children("textarea").val("")}},"json")});$(".trigger_checkinoutform").click(function(){var self=$(this);var tariffId=self.data("tariffid");var roomtypeId=self.data("roomtypeid");var oldLabel=self.text();if(tariffId!=""){$(".checkinoutform").empty();self.text(Joomla.JText._("SR_PROCESSING"));$.ajax({type:"GET",data:{Itemid:self.data("itemid"),id:self.data("assetid"),roomtype_id:roomtypeId,tariff_id:tariffId},url:"index.php?option=com_solidres&task=reservationasset.getCheckInOutForm",success:function(data){$(".checkinoutform").empty();$("#checkinoutform-"+roomtypeId+"-"+tariffId).show().empty().html(data);$("#room-form-"+roomtypeId+"-"+tariffId).empty();self.text(oldLabel)}})}});$("#solidres").on("click",".searchbtn",function(){var tariffid=$(this).data("tariffid");var roomtypeid=$(this).data("roomtypeid");$("#sr-checkavailability-form-component").attr("action",$("#sr-checkavailability-form-component").attr("action")+"#tariff-box-"+roomtypeid+"-"+tariffid);$("#sr-checkavailability-form-component input[name=checkin]").val($("#tariff-box-"+roomtypeid+"-"+tariffid+' input[name="checkin"]').val());$("#sr-checkavailability-form-component input[name=checkout]").val($("#tariff-box-"+roomtypeid+"-"+tariffid+' input[name="checkout"]').val());$("#sr-checkavailability-form-component input[name=ts]").val($("input[name=fts]").val());$("#sr-checkavailability-form-component").submit()});$(".toggle_more_desc").click(function(){var self=$(this);$("#more_desc_"+self.data("target")).toggle();if($("#more_desc_"+self.data("target")).is(":visible")){self.empty().html('