@extends('accounting::transactions.sales.layout') @section('sub-tab-title') {{ trans_choice('accounting::general.invoice', 2) }} @endsection @section('modal-content') @include('accounting::transactions.partials.map_transactions_modal', [ 'map_type' => 'credit', 'mapping_for' => 'invoice', ]) @endsection @section('sub-tab-content')
@component('components.widget', ['class' => 'box-primary', 'title' => '']) @if (auth()->user()->can('direct_sell.view') || auth()->user()->can('view_own_sell_only') || auth()->user()->can('view_commission_agent_sell')) @php $custom_labels = json_decode(session('business.custom_labels'), true); @endphp
@lang('accounting::general.mapping') {{ trans_choice('accounting::general.chart_of_account', 1) }} @lang('messages.date') @lang('sale.invoice_no') @lang('sale.customer_name') @lang('sale.location') @lang('sale.payment_status') @lang('lang_v1.payment_method') @lang('sale.total_amount') @lang('sale.total_paid') @lang('lang_v1.sell_due') @lang('lang_v1.sell_return_due') @lang('lang_v1.total_items') @lang('lang_v1.types_of_service') {{ $custom_labels['types_of_service']['custom_field_1'] ?? __('lang_v1.service_custom_field_1') }} @lang('lang_v1.added_by') @lang('sale.sell_note') @lang('sale.staff_note') @lang('restaurant.table') @lang('restaurant.service_staff')
@endif @endcomponent
@endsection @section('sub-tab-javascript') {{-- For the mapping_modal --}} {{-- For Datatable --}} @include('accounting::transactions.js.payment_js') @endsection