@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.invoices', 1)])) @section('content')
{{ trans('general.actions') }} | @stack('actions_th_end') @stack('name_th_start'){{ trans('general.name') }} | @stack('name_th_end') @stack('quantity_th_start'){{ trans($text_override['quantity']) }} | @stack('quantity_th_end') @stack('price_th_start'){{ trans($text_override['price']) }} | @stack('price_th_end') @stack('discount_th_start'){{ trans('invoices.discount') }} | @stack('discount_th_end') @stack('taxes_th_start'){{ trans_choice('general.taxes', 1) }} | @stack('taxes_th_end') @stack('total_th_start'){{ trans('invoices.total') }} | @stack('total_th_end')
---|---|---|---|---|---|---|
{{ trans('invoices.sub_total') }} | {{ Form::moneyGroup('sub_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.sub', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $currency->code, true) | |||||
{{ trans('invoices.item_discount') }} | {{ Form::moneyGroup('item_discount', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.item_discount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $currency->code, true) | |||||
{{ trans('invoices.discount_desc') }}
|
{{ Form::moneyGroup('discount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.discount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $currency->code, true) {!! Form::hidden('discount', null, ['id' => 'discount', 'class' => 'form-control text-right', 'v-model' => 'form.discount']) !!} | |||||
{{ trans_choice('general.taxes', 1) }} | {{ Form::moneyGroup('tax_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.tax', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $currency->code, true) | |||||
{{ trans('invoices.total') }} | {{ Form::moneyGroup('grand_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.total', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $currency->code, true) |