akaunting 3.0 (the last dance)
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
@extends('layouts.admin')
|
||||
<x-layouts.admin>
|
||||
<x-slot name="title">
|
||||
{{ trans('general.title.new', ['type' => setting('invoice.title', trans_choice('general.invoices', 1))]) }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans('general.title.new', ['type' => setting('invoice.title', trans_choice('general.invoices', 1))]))
|
||||
<x-slot name="favorite"
|
||||
title="{{ trans('general.title.new', ['type' => setting('invoice.title', trans_choice('general.invoices', 1))]) }}"
|
||||
icon="description"
|
||||
route="invoices.create"
|
||||
></x-slot>
|
||||
|
||||
@section('content')
|
||||
<x-documents.form.content type="invoice" />
|
||||
@endsection
|
||||
<x-slot name="content">
|
||||
<x-documents.form.content type="invoice" />
|
||||
</x-slot>
|
||||
|
||||
@push('scripts_start')
|
||||
<x-documents.script type="invoice" />
|
||||
@endpush
|
||||
</x-layouts.admin>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
@extends('layouts.admin')
|
||||
<x-layouts.admin>
|
||||
<x-slot name="title">
|
||||
{{ trans('general.title.edit', ['type' => trans_choice('general.invoices', 1)]) }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans('general.title.edit', ['type' => trans_choice('general.invoices', 1)]))
|
||||
<x-slot name="content">
|
||||
<x-documents.form.content type="invoice" :document="$invoice" />
|
||||
</x-slot>
|
||||
|
||||
@section('content')
|
||||
<x-documents.form.content type="invoice" :document="$invoice" />
|
||||
@endsection
|
||||
|
||||
@push('scripts_start')
|
||||
<x-documents.script type="invoice" :items="$invoice->items()->get()" :document="$invoice" />
|
||||
@endpush
|
||||
</x-layouts.admin>
|
||||
|
||||
@@ -1,15 +1,25 @@
|
||||
@extends('layouts.admin')
|
||||
<x-layouts.admin>
|
||||
<x-slot name="title">
|
||||
{{ trans_choice('general.invoices', 2) }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans_choice('general.invoices', 2))
|
||||
<x-slot name="favorite"
|
||||
title="{{ trans_choice('general.invoices', 2) }}"
|
||||
icon="description"
|
||||
route="invoices.index"
|
||||
></x-slot>
|
||||
|
||||
@section('new_button')
|
||||
<x-documents.index.top-buttons type="invoice" />
|
||||
@endsection
|
||||
<x-slot name="buttons">
|
||||
<x-documents.index.buttons type="invoice" />
|
||||
</x-slot>
|
||||
|
||||
@section('content')
|
||||
<x-documents.index.content type="invoice" :documents="$invoices" />
|
||||
@endsection
|
||||
<x-slot name="moreButtons">
|
||||
<x-documents.index.more-buttons type="invoice" />
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
<x-documents.index.content type="invoice" :documents="$invoices" active-tab="invoice" />
|
||||
</x-slot>
|
||||
|
||||
@push('scripts_start')
|
||||
<x-documents.script type="invoice" />
|
||||
@endpush
|
||||
</x-layouts.admin>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
@extends('layouts.print')
|
||||
<x-layouts.print>
|
||||
<x-slot name="title">
|
||||
{{ trans_choice('general.invoices', 1) . ': ' . $invoice->document_number }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans_choice('general.invoices', 1) . ': ' . $invoice->document_number)
|
||||
|
||||
@section('content')
|
||||
<x-documents.template.classic
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
@endsection
|
||||
<x-slot name="content">
|
||||
<x-documents.template.classic
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
</x-slot>
|
||||
</x-layouts.print>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
@extends('layouts.print')
|
||||
<x-layouts.print>
|
||||
<x-slot name="title">
|
||||
{{ trans_choice('general.invoices', 1) . ': ' . $invoice->document_number }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans_choice('general.invoices', 1) . ': ' . $invoice->document_number)
|
||||
|
||||
@section('content')
|
||||
<x-documents.template.ddefault
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
@endsection
|
||||
<x-slot name="content">
|
||||
<x-documents.template.ddefault
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
</x-slot>
|
||||
</x-layouts.print>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
@extends('layouts.print')
|
||||
<x-layouts.print>
|
||||
<x-slot name="title">
|
||||
{{ trans_choice('general.invoices', 1) . ': ' . $invoice->document_number }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', trans_choice('general.invoices', 1) . ': ' . $invoice->document_number)
|
||||
|
||||
@section('content')
|
||||
<x-documents.template.modern
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
@endsection
|
||||
<x-slot name="content">
|
||||
<x-documents.template.modern
|
||||
type="invoice"
|
||||
:document="$invoice"
|
||||
/>
|
||||
</x-slot>
|
||||
</x-layouts.print>
|
||||
|
||||
@@ -1,17 +1,27 @@
|
||||
@extends('layouts.admin')
|
||||
<x-layouts.admin>
|
||||
<x-slot name="title">
|
||||
{{ setting('invoice.title', trans_choice('general.invoices', 1)) . ': ' . $invoice->document_number }}
|
||||
</x-slot>
|
||||
|
||||
@section('title', setting('invoice.title', trans_choice('general.invoices', 1)) . ': ' . $invoice->document_number)
|
||||
<x-slot name="status">
|
||||
<x-show.status status="{{ $invoice->status }}" background-color="bg-{{ $invoice->status_label }}" text-color="text-text-{{ $invoice->status_label }}" />
|
||||
</x-slot>
|
||||
|
||||
@section('new_button')
|
||||
<x-documents.show.top-buttons type="invoice" :document="$invoice" />
|
||||
@endsection
|
||||
<x-slot name="buttons">
|
||||
<x-documents.show.buttons type="invoice" :document="$invoice" />
|
||||
</x-slot>
|
||||
|
||||
@section('content')
|
||||
<x-documents.show.content type="invoice" :document="$invoice" hide-button-received />
|
||||
@endsection
|
||||
<x-slot name="moreButtons">
|
||||
<x-documents.show.more-buttons type="invoice" :document="$invoice" />
|
||||
</x-slot>
|
||||
|
||||
@push('scripts_start')
|
||||
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
|
||||
<x-slot name="content">
|
||||
<x-documents.show.content type="invoice" :document="$invoice" hide-receive hide-make-payment hide-schedule hide-children />
|
||||
</x-slot>
|
||||
|
||||
@push('stylesheet')
|
||||
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
|
||||
@endpush
|
||||
|
||||
<x-documents.script type="invoice" />
|
||||
@endpush
|
||||
</x-layouts.admin>
|
||||
|
||||
Reference in New Issue
Block a user