Browse Source

update bentrok model

master
Gunawan19621 1 year ago
parent
commit
254628162c
  1. 2
      app/Models/Peti.php
  2. BIN
      public/assets/img/Picture ISTW.jpg
  3. BIN
      public/assets/img/logo istw.jpg
  4. 4
      resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/label_pdf.blade.php

2
app/Models/Peti.php

@ -27,7 +27,7 @@ class Peti extends Model
public function customer()
{
return $this->belongsTo(Customer::class, 'customer_id')->select('id', 'name', 'code_customer', 'lot_no', 'nip', 'no_hp', 'tgl_lahir', 'jenis_kelamin', 'agama', 'address');
return $this->belongsTo(Customer::class, 'customer_id')->select('id', 'name', 'code_customer', 'lot_no');
}
public function warehouse()
{

BIN
public/assets/img/Picture ISTW.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
public/assets/img/logo istw.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 KiB

4
resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/label_pdf.blade.php

@ -40,7 +40,7 @@
<table style="width:100%" class="table table-bordered">
<tr>
<td rowspan="2">
<img src="data:image/jpeg;base64,<?= base64_encode(file_get_contents('assets/img/Picture ISTW.jpg')) ?>"
<img src="data:image/jpeg;base64,<?= base64_encode(file_get_contents('assets/img/logo istw.jpg')) ?>"
alt="Logo ISTW" width="100" height="100">
</td>
<td>PETI NUMBER</td>
@ -55,7 +55,7 @@
</td>
</tr>
<tr>
<td>PT. {{ $peti->created_by }}</td>
<td>PT. ISTW</td>
<td>CUSTOMER</td>
</tr>
<tr>

Loading…
Cancel
Save