Browse Source

Apply fixes from StyleCI

pull/2/head
Nafies Luthfi 9 years ago
committed by StyleCI Bot
parent
commit
cff1a9b1f3
  1. 1
      app/Cart/TransactionDraft.php
  2. 5
      app/Helpers/helpers.php
  3. 2
      resources/lang/id/cart.php

1
app/Cart/TransactionDraft.php

@ -79,6 +79,7 @@ abstract class TransactionDraft
public function search(Product $product)
{
$productItem = $this->items()->where('id', $product->id)->first();
return $productItem;
}
}

5
app/Helpers/helpers.php

@ -7,6 +7,9 @@ function formatNo($number)
function formatRp($number)
{
if ($number == 0) { return '-'; }
if ($number == 0) {
return '-';
}
return 'Rp. '.formatNo($number);
}

2
resources/lang/id/cart.php

@ -2,5 +2,5 @@
return [
// Labels
'product_search' => 'Cari Produk'
'product_search' => 'Cari Produk',
];
Loading…
Cancel
Save