{{ Form::open(array('url' => route('membership.invoice.detail.update'), 'method' => 'post','id'=>"form-transaction-detail")) }}
Deksripsi | Qty | Harga | Diskon | Pajak | Jumlah | |
---|---|---|---|---|---|---|
@if(isset($list) && $list->id === $detail->id) @else @endif | {{$detail->descr}} | {{$detail->qty}} | {{ number_format($detail->price,0,',','.') }} |
@if($detail->discount > 0)
{{ number_format($detail->total_discount,0,',','.') }} ({{ number_format($detail->discount,0,',','.') }}%) @else 0 @endif |
{{ number_format($detail->total_tax,0,',','.') }} | {{ number_format($detail->total,0,',','.') }} |
{{ Form::defName('descr', "Deksripsi", (isset($list)) ? $list->descr : null, ['required','id="descr"'],false) }} | {{ Form::defCurrency('qty', "Qty", (isset($list)) ? $list->qty : 1, ['required','id="qty"'],false) }} | {{ Form::defCurrency('price', "Harga", (isset($list)) ? $list->price : 0, ['required','id="price"'],false) }} | {{ Form::defDiscount('discount', "Diskon", (isset($list)) ? $list->discount : 0, ['id="discount"'],false) }} |
@if(isset($list))
{{ Form::defSubmitDefault('EDIT') }}
@else
{{ Form::defSubmitDefault('TAMBAH') }}
@endif
|
||
Sub Total | {{ Form::defCurrency('subtotal', "Sub Total", $transaction->subtotal, ['readonly'],false) }} | |||||
Diskon | {{ Form::defCurrency('total_discount', "Sub Total", $transaction->discount, ['readonly'],false) }} | |||||
Pajak | {{ Form::defCurrency('tax', "Sub Total", $transaction->tax, ['readonly'],false) }} | |||||
Total | {{ Form::defCurrency('total', "Sub Total", $transaction->total, ['readonly'],false) }} |