akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@@ -1,11 +1,25 @@
@extends('layouts.admin')
@section('title', trans('general.title.new', ['type' => setting('bill.title', trans_choice('general.bills', 1))]))
<x-layouts.admin>
<x-slot name="title">
{{ trans('general.title.new', ['type' => setting('bill.title', trans_choice('general.bills', 1))]) }}
</x-slot>
@section('content')
<x-documents.form.content type="bill" hide-company hide-footer hide-edit-item-columns is-purchase-price />
@endsection
<x-slot name="favorite"
title="{{ trans('general.title.new', ['type' => setting('bill.title', trans_choice('general.bills', 1))]) }}"
icon="file_open"
route="bills.create"
></x-slot>
<x-slot name="content">
<x-documents.form.content
type="bill"
hide-company
hide-footer
hide-edit-item-columns
hide-send-to
is-purchase-price
/>
</x-slot>
@push('scripts_start')
<x-documents.script type="bill" />
@endpush
</x-layouts.admin>

View File

@@ -1,11 +1,19 @@
@extends('layouts.admin')
<x-layouts.admin>
<x-slot name="title">
{{ trans('general.title.edit', ['type' => trans_choice('general.bills', 1)]) }}
</x-slot>
@section('title', trans('general.title.edit', ['type' => trans_choice('general.bills', 1)]))
<x-slot name="content">
<x-documents.form.content
type="bill"
:document="$bill"
hide-company
hide-footer
hide-edit-item-columns
hide-send-to
is-purchase-price
/>
</x-slot>
@section('content')
<x-documents.form.content type="bill" :document="$bill" hide-company hide-footer hide-edit-item-columns is-purchase-price />
@endsection
@push('scripts_start')
<x-documents.script type="bill" :items="$bill->items()->get()" />
@endpush
<x-documents.script type="bill" :document="$bill" :items="$bill->items()->get()" />
</x-layouts.admin>

View File

@@ -1,15 +1,25 @@
@extends('layouts.admin')
<x-layouts.admin>
<x-slot name="title">
{{ trans_choice('general.bills', 2) }}
</x-slot>
@section('title', trans_choice('general.bills', 2))
<x-slot name="favorite"
title="{{ trans_choice('general.bills', 2) }}"
icon="file_open"
route="bills.index"
></x-slot>
@section('new_button')
<x-documents.index.top-buttons type="bill" />
@endsection
<x-slot name="buttons">
<x-documents.index.buttons type="bill" hide-accept-payment />
</x-slot>
@section('content')
<x-documents.index.content type="bill" :documents="$bills" />
@endsection
<x-slot name="moreButtons">
<x-documents.index.more-buttons type="bill" />
</x-slot>
<x-slot name="content">
<x-documents.index.content type="bill" :documents="$bills" active-tab="bill" />
</x-slot>
@push('scripts_start')
<x-documents.script type="bill" />
@endpush
</x-layouts.admin>

View File

@@ -1,12 +1,14 @@
@extends('layouts.print')
<x-layouts.print>
<x-slot name="title">
{{ trans_choice('general.bills', 1) . ': ' . $bill->document_number }}
</x-slot>
@section('title', trans_choice('general.bills', 1) . ': ' . $bill->document_number)
@section('content')
<x-documents.template.ddefault
type="bill"
:document="$bill"
hide-discount
hide-footer
/>
@endsection
<x-slot name="content">
<x-documents.template.ddefault
type="bill"
:document="$bill"
hide-discount
hide-footer
/>
</x-slot>
</x-layouts.print>

View File

@@ -1,28 +1,44 @@
@extends('layouts.admin')
<x-layouts.admin>
<x-slot name="title">
{{ trans_choice('general.bills', 1) . ': ' . $bill->document_number }}
</x-slot>
@section('title', trans_choice('general.bills', 1) . ': ' . $bill->document_number)
<x-slot name="status">
<x-show.status status="{{ $bill->status }}" background-color="bg-{{ $bill->status_label }}" text-color="text-text-{{ $bill->status_label }}" />
</x-slot>
@section('new_button')
<x-documents.show.top-buttons
type="bill"
:document="$bill"
hide-button-group-divider2
hide-button-customize
/>
@endsection
<x-slot name="buttons">
<x-documents.show.buttons type="bill" :document="$bill" />
</x-slot>
@section('content')
<x-documents.show.content
type="bill"
:document="$bill"
hide-button-sent
hide-button-email
hide-button-share
/>
@endsection
<x-slot name="moreButtons">
<x-documents.show.more-buttons
type="bill"
:document="$bill"
hide-email
hide-share
hide-divider3
hide-customize
/>
</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="bill"
:document="$bill"
hide-send
hide-get-paid
hide-email
hide-share
hide-accept-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="bill" />
@endpush
</x-layouts.admin>