close #1845 Fixed: Wrong price when creating bills
This commit is contained in:
@@ -65,6 +65,8 @@
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
text-amount="{{ $textAmount }}"
|
||||
is-sale-price="{{ $isSalePrice }}"
|
||||
is-purchase-price="{{ $isPurchasePrice }}"
|
||||
/>
|
||||
|
||||
@if (!$hideFooter)
|
||||
|
@@ -42,6 +42,8 @@
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
text-amount="{{ $textAmount }}"
|
||||
is-sale-price="{{ $isSalePrice }}"
|
||||
is-purchase-price="{{ $isPurchasePrice }}"
|
||||
/>
|
||||
|
||||
<x-documents.form.totals
|
||||
|
@@ -3,7 +3,7 @@
|
||||
@section('title', trans('general.title.new', ['type' => setting('bill.title', trans_choice('general.bills', 1))]))
|
||||
|
||||
@section('content')
|
||||
<x-documents.form.content type="bill" hide-company hide-footer hide-edit-item-columns />
|
||||
<x-documents.form.content type="bill" hide-company hide-footer hide-edit-item-columns is-purchase-price />
|
||||
@endsection
|
||||
|
||||
@push('scripts_start')
|
||||
|
@@ -3,7 +3,7 @@
|
||||
@section('title', trans('general.title.edit', ['type' => trans_choice('general.bills', 1)]))
|
||||
|
||||
@section('content')
|
||||
<x-documents.form.content type="bill" :document="$bill" hide-company hide-footer hide-edit-item-columns />
|
||||
<x-documents.form.content type="bill" :document="$bill" hide-company hide-footer hide-edit-item-columns is-purchase-price />
|
||||
@endsection
|
||||
|
||||
@push('scripts_start')
|
||||
|
Reference in New Issue
Block a user