<td>{{ $pe->merekdagang->merek }}</td>
					<td>{{ $pe->modal_dimiliki }}</td>
					<td>{{ $pe->modal_pinjaman }}</td>
					<td>{{ $pe->omzet_perbulan }}</td>
				</tr>

				<?php 
$i = $i + 1;
?>

			@endforeach
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pengolah')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
?>
			@endforeach
			<tr>
				<td><b>Jumlah</b></td>
				<td></td>
				<td></td>
				<td><b>{{ $to_rehab }} M<sup>2</sup><?php 
echo "(", round($direhabilitasi, 2), "Ha)";
?>
</b></td>
			</tr>
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Terumbu Direhabilitasi')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<td><b><?php 
echo round($produksi_catoni, 2);
?>
</b></td>
				<td><b><?php 
echo round($produksi_spenosun, 2);
?>
</b></td>
				<td></td>
			</tr>
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pembudidaya Rumput Laut')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<td><b><?php 
echo round($produksi_udang, 2);
?>
</b></td>
				<td><b><?php 
echo round($produksi_lainnya, 2);
?>
</b></td>
				<td></td>
			</tr>
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pembudidaya KJA Air Tawar')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
					<td>{{ $pb->pos }}</td>
					<td>{{ $pb->jenisusaha->nama }}</td>
					<td>{{ $pb->produksi->nama }}</td>
					<td>{{ $pb->kelompok->nama }} ({{ $pb->jabatan->nama }})</td>
				</tr>

				<?php 
$i = $i + 1;
?>

			@endforeach
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pembudidaya')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
?>
</b></td>
				<td><b>{{ $to_sedang }} M<sup>2</sup> <?php 
echo "(", round($kondisi_sedang, 2), "Ha)";
?>
</b></td>
				<td><b>{{ $to_baik }} M<sup>2</sup> <?php 
echo "(", round($kondisi_baik, 2), "Ha)";
?>
</b></td>
			</tr>
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Terumbu Dimiliki')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
					<td>{{ $kl->no_rek }}</td>
					<td>{{ $kl->nama_rekening }}</td>
					<td>{{ $kl->nama_bank }}</td>
				</tr>
				
				<?php 
$i = $i + 1;
?>

			@endforeach
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Kelompok')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<td><b><?php 
echo round($jumlah_hidup_lele, 2);
?>
</b></td>
				<td><b><?php 
echo round($jumlah_hidup_bawal, 2);
?>
</b></td>
				<td></td>
			</tr>
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pembudidaya Laporan Produksi Air Tawar')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<tr>
					<td><?php 
echo $i++;
?>
</td>
					<td>{{ $jen->datakecamatan->nama }}</td>
					<td>{{ $jen->jenis_mangrove }}</td>
				</tr>

			@endforeach
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Jenis Mangrove')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
</b></td>
			<td><b>{{ $to_sedang }} M<sup>2</sup> <?php 
echo "(", round($kondisi_sedang, 2), "Ha)";
?>
</b></td>
			<td><b>{{ $to_baik }} M<sup>2</sup> <?php 
echo "(", round($kondisi_baik, 2), "Ha)";
?>
</b></td>
			
			</tr>
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Mangrove Dimiliki')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
</b></td>
					<td><b>	{{ $to_tambak }} M<sup>2</sup><?php 
echo "(", round($lahan_tambak, 2), "Ha)";
?>
</b></td>
					<td><b> {{ $to_garam }} M<sup>2</sup><?php 
echo "(", round($penggaraman, 2), "Ha)";
?>
</b></td>
					<td></td>
				</tr>
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Mangrove Direhabilitasi')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
$bantuan = DB::table('app_bantuan as ab')->leftJoin('app_bantuan_master as abm', 'abm.id', '=', 'ab.id_bantuan')->select('abm.nama')->where('ab.id_user', $bu->id)->where('ab.tahun', $bu->tahun_bantuan)->orderBy('ab.tahun', 'asc')->get();
?>
						@foreach( $bantuan as $b )
							- {{ $b->nama }}<br>
						@endforeach

					</td>
				</tr>

			@endforeach

		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Bantuan')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
?>
</b></td>
					<td><b><?php 
echo round($jumlah_kk, 2);
?>
</b></td>
					<td><b><?php 
echo round($total2, 2);
?>
</b></td>
					</tr>
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Jumlah Penduduk')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<td>{{ $ps->pemilik_pemasar }}</td>
				<td>{{ $ps->alamat_pemasar }}</td>
				<td>{{ $ps->erte }}</td>
				<td>{{ $ps->tlp }}</td>
				<td>{{ $ps->pos }}</td>
				<td>{{ $ps->tipe }}</td>
				<td>{{ $ps->tahun_mulai }}</td>
			</tr>

		@endforeach
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pemasar')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
				<td><b><?php 
echo round($pakan_pelet, 2);
?>
</b></td>
				<td><b><?php 
echo round($pakan_dedak, 2);
?>
</b></td>
				<td></td>
			</tr>
			
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Pembudidaya Laporan Produksi Tambak')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
?>

			@foreach( $terumbujenis as $jen )

				<tr>
					<td width="15">{{ $i++ }}</td>
					<td>{{ $jen->datakecamatan->nama }}</td>
					<td>{{ $jen->jenis_ikan }}</td>
				</tr>

			@endforeach
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Terumbu Jenis')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}
					@foreach ( $Ksarana as $ks )
					<td>{{ $ks->sarana->jenis }}</td>
					<td>{{ $ks->sarana->sub }}</td> 
					@endforeach
				</tr>

				<?php 
$i = $i + 1;
?>

			@endforeach
		</tbody>
	</table>

	<?php 
$pj = App\Penugasan::where('halaman', 'Nelayan')->first();
?>

	@if ( $pj )
		<table class="table table-no-border" style="width: 100%;">
			<tr>
				<td width="70%">Mengetahui:<br>{{ $pj->ttdkiri->jabatan }}
					<br>
					<br>
					<br>
				</td>
				<?php 
$Ms = new App\Custom();
?>

				<td>Bantaeng, {{ $Ms->tgl_indo(date('Y-m-d')) }}<br>{{ $pj->ttdkanan->jabatan }}