@extends('layouts.default-canvas') @section('title') {{ __('modules')['dashboard']['invoicing']['invoices'] }} | Editar Borrador #{{ $draft->id }} @endsection @section('styles') {{-- Select2 --}} {{-- Toastify --}} @endsection @section('content') {{--* Control Variables *--}} @php // For Interactions $is_mex_hotel = App\Helpers\Environment\SystemEnvHelper::isCurrentCountry('MEX'); // Visual Support $required_field = " *"; $default_price = App\Helpers\Formats\FormatCurrencyHelper::formatCurrency("0.00"); @endphp {{--* Content *--}}
@csrf {{-- Basic Data --}} @php use Carbon\Carbon; $today = Carbon::now(); $limitDate = Carbon::now()->subDays(3); @endphp @include('invoicing.invoices.shared.invoice-form.header-section', ['is_editing' => true]) {{-- Receiver --}} @include('invoicing.invoices.shared.invoice-form.receiver-section') {{-- Global Data --}} @include('invoicing.invoices.shared.invoice-form.global-section') {{-- Issuer --}} @include('invoicing.invoices.shared.invoice-form.issuer-section') {{-- Concepts --}} @include('invoicing.invoices.shared.invoice-form.concepts-section') {{-- Additional Documents --}} @include('invoicing.invoices.shared.invoice-form.additional-docs-section') {{-- Format --}} @include('invoicing.invoices.shared.invoice-form.invoice-format-section') {{-- Buttons --}} @include('invoicing.invoices.shared.invoice-form.buttons-section', ['draft_action' => "Actualizar Borrador"])
@endsection @section('additional-components') {{-- Modals --}} @include('invoicing.invoices.components.receiver-form') @include('invoicing.invoices.components.additional-doc-form') @include('invoicing.invoices.components.concept-form') @endsection @section('footer') @include('shared.components.footer.basic-footer') @endsection @section('import-scripts') {{-- Sweet Alert --}} {{-- Format Controls --}} {{-- Select2 --}} {{-- Toastify --}} {{-- CryptoJS --}} {{-- Certificate Validity --}} @if ($is_mex_hotel) @endif @endsection @section('page-control-scripts') {{-- Specific Page Variables --}} {{-- Scripts --}} @include('invoicing.invoices.complements.page-control-scripts') {{-- Seed data Onload --}} @endsection @section('interaction-scripts') @include('invoicing.invoices.complements.interaction-scripts') @endsection