Skip to content

Commit

Permalink
finishing print for produksi
Browse files Browse the repository at this point in the history
  • Loading branch information
shittyc0de committed Feb 14, 2017
1 parent 91c2aac commit 0ee4540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions resources/themes/default/views/admin/sales/print-prod.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@

<div class='orchid' id='keterangan' style="margin-bottom:20px">
<table id="allset">
<tr>
<th>No</th>
<td>:</td>
<td>PO-{{ $sale->customer->id.'-'.$sale->id.'-'. date("d-m-Y", strtotime($sale->order_date)) }}</td>
</tr>
<tr>
<th>Customer</th>
<td>:</td>
Expand All @@ -30,17 +35,6 @@
<td>:</td>
<td>{{ $sale->customer->laundry_name or '' }} {{ $sale->address }}</td>
</tr>
<tr>
<th>Tanggal Transfer</th>
<td>:</td>
<td>
@if($sale->transfer_date == '0000-00-00' || $sale->transfer_date == null)
{{''}}
@else
{{ date('l, d F Y', strtotime($sale->transfer_date))}}
@endif
</td>
</tr>
<tr>
<th>Tanggal Estimasi</th>
<td>:</td>
Expand Down
2 changes: 1 addition & 1 deletion resources/themes/default/views/admin/sales/print.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<tr>
<th>No</th>
<td>:</td>
<td>PO-{{ $sale->id.'-'. date("d-m-Y", strtotime($sale->order_date)) }}</td>
<td>PO-{{ $sale->customer->id.'-'.$sale->id.'-'. date("d-m-Y", strtotime($sale->order_date)) }}</td>
</tr>
<tr>
<th>Customer</th>
Expand Down

0 comments on commit 0ee4540

Please sign in to comment.