update alamat new line
This commit is contained in:
@@ -123,12 +123,17 @@
|
||||
.page-break {
|
||||
page-break-before: always;
|
||||
}
|
||||
|
||||
.alamat {
|
||||
width: 300px; /* Adjust as needed */
|
||||
word-wrap: break-word; /* Allows long words to break */
|
||||
overflow-wrap: break-word; /* Ensures wrapping */
|
||||
white-space: normal; /* Prevents text from staying in a single line */
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@foreach($marhuns as $index1=> $notis)
|
||||
{{-- {{dd($notis['nama']['alamat1'])}} --}}
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<table id="header">
|
||||
@@ -202,7 +207,7 @@
|
||||
<tr>
|
||||
<td style="vertical-align:top;">KEPADA :</td>
|
||||
<!-- <td style="vertical-align:top;">:</td> -->
|
||||
<td style="vertical-align:top;">{{ $notis['nama']['nama']}}
|
||||
<td style="vertical-align:top;" class="alamat">{{ $notis['nama']['nama']}}
|
||||
<br> {{ strtoupper($notis['nama']['alamat1']) }}
|
||||
{{-- {!! ($notis['nama']['alamat1'] === null || $notis['nama']['alamat1'] === '') ? '' : '<br>' . strtoupper($notis['nama']['alamat1']) !!} <br> --}} <br>
|
||||
{{ ' ' . $notis['nama']['poskod'] . ' ' . strtoupper($notis['nama']['namadaerah']) . ' ' . strtoupper($notis['nama']['negeri'])}}</td>
|
||||
|
||||
@@ -123,6 +123,14 @@
|
||||
.page-break {
|
||||
page-break-before: always;
|
||||
}
|
||||
.alamat {
|
||||
width: 300px; /* Adjust as needed */
|
||||
word-wrap: break-word; /* Allows long words to break */
|
||||
overflow-wrap: break-word; /* Ensures wrapping */
|
||||
white-space: normal; /* Prevents text from staying in a single line */
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
@foreach($marhuns as $index1=> $notis)
|
||||
{{-- {{dd($notis['nama']['alamat1'])}} --}}
|
||||
@@ -199,7 +207,7 @@
|
||||
<tr>
|
||||
<td style="vertical-align:top;">KEPADA</td>
|
||||
<td style="vertical-align:top;">:</td>
|
||||
<td style="vertical-align:top;">{{ $notis['nama']['nama']}}
|
||||
<td style="vertical-align:top;" class="alamat">{{ $notis['nama']['nama']}}
|
||||
<br> {{ strtoupper($notis['nama']['alamat1']) }} <br>
|
||||
{{-- {!! ($notis['nama']['alamat1'] === null || $notis['nama']['alamat1'] === '') ? '' : '<br>' . strtoupper($notis['nama']['alamat1']) !!} <br> --}}
|
||||
{{-- {!! ($notis['nama']['alamat2'] === null || $notis['nama']['alamat2'] === '') ? '' : '<br>' . strtoupper($notis['nama']['alamat2']) !!} <br> --}}
|
||||
|
||||
Reference in New Issue
Block a user