@if($setting['view-method'] =='native')
<div class="card">
	<div class="card-body">	
		<div class="toolbar-nav">
			<div class="row">
				
				<div class="col-md-6  text-left" >
			   		<a href="{{ ($prevnext['prev'] != '' ? url('curahhujan/'.$prevnext['prev'].'?return='.$return ) : '#') }}" class="tips btn btn-sm btn-primary" onclick="ajaxViewDetail('#curahhujan',this.href); return false; "><i class="fa fa-arrow-left"></i>  </a>	
					<a href="{{ ($prevnext['next'] != '' ? url('curahhujan/'.$prevnext['next'].'?return='.$return ) : '#') }}" class="tips btn btn-sm btn-primary" onclick="ajaxViewDetail('#curahhujan',this.href); return false; "> <i class="fa fa-arrow-right"></i>  </a>					
				</div>	
				<div class="col-md-6 text-right" >
					<a href="javascript://ajax" onclick="ajaxViewClose('#{{ $pageModule }}')" class="tips btn btn-sm btn-danger  " title="{{ __('core.btn_back') }}"><i class="fa  fa-times"></i></a>		
				</div>
				

				
			</div>
		</div>
	
@endif	


		<table class="table  table-bordered" >
			<tbody>	
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Id', (isset($fields['id']['language'])? $fields['id']['language'] : array())) }}</td>
						<td>{{ $row->id}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Kode Kebun', (isset($fields['kode_kebun']['language'])? $fields['kode_kebun']['language'] : array())) }}</td>
						<td>{{ $row->kode_kebun}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Nama Kebun', (isset($fields['nama_kebun']['language'])? $fields['nama_kebun']['language'] : array())) }}</td>
						<td>{{ $row->nama_kebun}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Kode Rayon', (isset($fields['kode_rayon']['language'])? $fields['kode_rayon']['language'] : array())) }}</td>
						<td>{{ $row->kode_rayon}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Nama Rayon', (isset($fields['nama_rayon']['language'])? $fields['nama_rayon']['language'] : array())) }}</td>
						<td>{{ $row->nama_rayon}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Tahun', (isset($fields['tahun']['language'])? $fields['tahun']['language'] : array())) }}</td>
						<td>{{ $row->tahun}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Bulan', (isset($fields['bulan']['language'])? $fields['bulan']['language'] : array())) }}</td>
						<td>{{ $row->bulan}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Curah Hujan', (isset($fields['curah_hujan']['language'])? $fields['curah_hujan']['language'] : array())) }}</td>
						<td>{{ $row->curah_hujan}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Hari Hujan', (isset($fields['hari_hujan']['language'])? $fields['hari_hujan']['language'] : array())) }}</td>
						<td>{{ $row->hari_hujan}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Entry Date', (isset($fields['entry_date']['language'])? $fields['entry_date']['language'] : array())) }}</td>
						<td>{{ $row->entry_date}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Entry By', (isset($fields['entry_by']['language'])? $fields['entry_by']['language'] : array())) }}</td>
						<td>{{ $row->entry_by}} </td>
						
					</tr>
				
			</tbody>	
		</table>  
			
		 	
		 
@if($setting['view-method'] =='native')
	</div>
</div>
@endif		

@include('sximo.module.template.ajax.viewjavascript')