diff --git a/app/Http/Controllers/ContractController.php b/app/Http/Controllers/ContractController.php
index e7c7980..e56327c 100644
--- a/app/Http/Controllers/ContractController.php
+++ b/app/Http/Controllers/ContractController.php
@@ -8,6 +8,7 @@ use App\Models\Brand;
use App\Models\Contact;
use App\Models\Contract;
use App\Enums\ContractType;
+use Barryvdh\DomPDF\Facade as PDF;
use App\Enums\InsuranceType;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
@@ -226,7 +227,16 @@ class ContractController extends Controller
public function print(Contract $contract)
{
- return view('contract', ['contract' => $contract]);
+ $contxt = stream_context_create([
+ 'ssl' => [
+ 'verify_peer' => FALSE,
+ 'verify_peer_name' => FALSE,
+ 'allow_self_signed'=> TRUE
+ ]
+ ]);
+ $pdf = PDF::setOptions(['isHtml5ParserEnabled' => true, 'isRemoteEnabled' => true])->loadView('contract', compact('contract'));//->setPaper('a4', 'portrait');
+ $pdf->getDomPDF()->setHttpContext($contxt);
+ return $pdf->stream($contract->date . '_' . $contract->type_formatted . '.pdf');
}
public function destroy(Contract $contract)
diff --git a/app/Models/Contract.php b/app/Models/Contract.php
index ece195c..92b4a23 100644
--- a/app/Models/Contract.php
+++ b/app/Models/Contract.php
@@ -70,6 +70,11 @@ class Contract extends Model
return $this->type === (string)ContractType::SellContract;
}
+ public function getTypeFormattedAttribute()
+ {
+ return $this->isSellContract() ? 'Kaufsvertrag' : 'Ankaufsvertrag';
+ }
+
public function documents()
{
return $this->morphMany(Document::class, 'documentable');
diff --git a/composer.json b/composer.json
index 0f0e3da..68a2705 100644
--- a/composer.json
+++ b/composer.json
@@ -6,6 +6,7 @@
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
+ "barryvdh/laravel-dompdf": "^0.9.0",
"bensampo/laravel-enum": "^3.3",
"cknow/laravel-money": "^6.1",
"fideloper/proxy": "^4.4",
diff --git a/composer.lock b/composer.lock
index a4eba96..aee23d8 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "d0901202d0c56031775bb6cf095f0546",
+ "content-hash": "4b694bcd9a3adeb9f6db9daf3a690b6c",
"packages": [
{
"name": "asm89/stack-cors",
@@ -115,6 +115,72 @@
},
"time": "2020-10-30T02:02:47+00:00"
},
+ {
+ "name": "barryvdh/laravel-dompdf",
+ "version": "v0.9.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/barryvdh/laravel-dompdf.git",
+ "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/5b99e1f94157d74e450f4c97e8444fcaffa2144b",
+ "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b",
+ "shasum": ""
+ },
+ "require": {
+ "dompdf/dompdf": "^1",
+ "illuminate/support": "^5.5|^6|^7|^8",
+ "php": "^7.1 || ^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.9-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Barryvdh\\DomPDF\\ServiceProvider"
+ ],
+ "aliases": {
+ "PDF": "Barryvdh\\DomPDF\\Facade"
+ }
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Barryvdh\\DomPDF\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Barry vd. Heuvel",
+ "email": "barryvdh@gmail.com"
+ }
+ ],
+ "description": "A DOMPDF Wrapper for Laravel",
+ "keywords": [
+ "dompdf",
+ "laravel",
+ "pdf"
+ ],
+ "support": {
+ "issues": "https://github.com/barryvdh/laravel-dompdf/issues",
+ "source": "https://github.com/barryvdh/laravel-dompdf/tree/v0.9.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/barryvdh",
+ "type": "github"
+ }
+ ],
+ "time": "2020-12-27T12:05:53+00:00"
+ },
{
"name": "bensampo/laravel-enum",
"version": "v3.3.0",
@@ -543,6 +609,78 @@
],
"time": "2020-05-25T17:44:05+00:00"
},
+ {
+ "name": "dompdf/dompdf",
+ "version": "v1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/dompdf/dompdf.git",
+ "reference": "8768448244967a46d6e67b891d30878e0e15d25c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/dompdf/dompdf/zipball/8768448244967a46d6e67b891d30878e0e15d25c",
+ "reference": "8768448244967a46d6e67b891d30878e0e15d25c",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-mbstring": "*",
+ "phenx/php-font-lib": "^0.5.2",
+ "phenx/php-svg-lib": "^0.3.3",
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "mockery/mockery": "^1.3",
+ "phpunit/phpunit": "^7.5 || ^8 || ^9",
+ "squizlabs/php_codesniffer": "^3.5"
+ },
+ "suggest": {
+ "ext-gd": "Needed to process images",
+ "ext-gmagick": "Improves image processing performance",
+ "ext-imagick": "Improves image processing performance",
+ "ext-zlib": "Needed for pdf stream compression"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-develop": "0.7-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Dompdf\\": "src/"
+ },
+ "classmap": [
+ "lib/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-2.1"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Ménager",
+ "email": "fabien.menager@gmail.com"
+ },
+ {
+ "name": "Brian Sweeney",
+ "email": "eclecticgeek@gmail.com"
+ },
+ {
+ "name": "Gabriel Bull",
+ "email": "me@gabrielbull.com"
+ }
+ ],
+ "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
+ "homepage": "https://github.com/dompdf/dompdf",
+ "support": {
+ "issues": "https://github.com/dompdf/dompdf/issues",
+ "source": "https://github.com/dompdf/dompdf/tree/v1.0.2"
+ },
+ "time": "2021-01-08T14:18:52+00:00"
+ },
{
"name": "dragonmantank/cron-expression",
"version": "v3.1.0",
@@ -1221,16 +1359,16 @@
},
{
"name": "jaybizzle/crawler-detect",
- "version": "v1.2.105",
+ "version": "v1.2.106",
"source": {
"type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
- "reference": "719c1ed49224857800c3dc40838b6b761d046105"
+ "reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/719c1ed49224857800c3dc40838b6b761d046105",
- "reference": "719c1ed49224857800c3dc40838b6b761d046105",
+ "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/78bf6792cbf9c569dc0bf2465481978fd2ed0de9",
+ "reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9",
"shasum": ""
},
"require": {
@@ -1267,9 +1405,9 @@
],
"support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
- "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.105"
+ "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.106"
},
- "time": "2021-03-03T20:55:48+00:00"
+ "time": "2021-05-24T20:30:32+00:00"
},
{
"name": "jenssegers/agent",
@@ -1552,16 +1690,16 @@
},
{
"name": "laravel/fortify",
- "version": "v1.7.12",
+ "version": "v1.7.13",
"source": {
"type": "git",
"url": "https://github.com/laravel/fortify.git",
- "reference": "b45807430194c73aaa9b2f26cb76038cc747466f"
+ "reference": "1753d05c80f930cc2715051858900965b49f32d9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/fortify/zipball/b45807430194c73aaa9b2f26cb76038cc747466f",
- "reference": "b45807430194c73aaa9b2f26cb76038cc747466f",
+ "url": "https://api.github.com/repos/laravel/fortify/zipball/1753d05c80f930cc2715051858900965b49f32d9",
+ "reference": "1753d05c80f930cc2715051858900965b49f32d9",
"shasum": ""
},
"require": {
@@ -1611,20 +1749,20 @@
"issues": "https://github.com/laravel/fortify/issues",
"source": "https://github.com/laravel/fortify"
},
- "time": "2021-04-27T17:56:34+00:00"
+ "time": "2021-05-25T16:35:21+00:00"
},
{
"name": "laravel/framework",
- "version": "v8.40.0",
+ "version": "v8.45.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "a654897ad7f97aea9d7ef292803939798c4a02a4"
+ "reference": "dc2f0bb02c3eb4b27669d626bb3e810db8e7749d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/a654897ad7f97aea9d7ef292803939798c4a02a4",
- "reference": "a654897ad7f97aea9d7ef292803939798c4a02a4",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/dc2f0bb02c3eb4b27669d626bb3e810db8e7749d",
+ "reference": "dc2f0bb02c3eb4b27669d626bb3e810db8e7749d",
"shasum": ""
},
"require": {
@@ -1706,7 +1844,7 @@
"orchestra/testbench-core": "^6.8",
"pda/pheanstalk": "^4.0",
"phpunit/phpunit": "^8.5.8|^9.3.3",
- "predis/predis": "^1.1.1",
+ "predis/predis": "^1.1.2",
"symfony/cache": "^5.1.4"
},
"suggest": {
@@ -1732,7 +1870,7 @@
"phpunit/phpunit": "Required to use assertions and run tests (^8.5.8|^9.3.3).",
"predis/predis": "Required to use the predis connector (^1.1.2).",
"psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
- "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0).",
+ "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0).",
"symfony/cache": "Required to PSR-6 cache bridge (^5.1.4).",
"symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).",
"symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).",
@@ -1779,20 +1917,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-04-28T14:38:56+00:00"
+ "time": "2021-06-03T16:39:17+00:00"
},
{
"name": "laravel/jetstream",
- "version": "v2.3.4",
+ "version": "v2.3.7",
"source": {
"type": "git",
"url": "https://github.com/laravel/jetstream.git",
- "reference": "b6c585ec900531c35e4b83e65c044f4b2ce7f5dd"
+ "reference": "05fa16096324a90299277a3a1a6a3de311f3f587"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/jetstream/zipball/b6c585ec900531c35e4b83e65c044f4b2ce7f5dd",
- "reference": "b6c585ec900531c35e4b83e65c044f4b2ce7f5dd",
+ "url": "https://api.github.com/repos/laravel/jetstream/zipball/05fa16096324a90299277a3a1a6a3de311f3f587",
+ "reference": "05fa16096324a90299277a3a1a6a3de311f3f587",
"shasum": ""
},
"require": {
@@ -1846,20 +1984,20 @@
"issues": "https://github.com/laravel/jetstream/issues",
"source": "https://github.com/laravel/jetstream"
},
- "time": "2021-04-27T18:09:15+00:00"
+ "time": "2021-06-01T15:46:41+00:00"
},
{
"name": "laravel/sanctum",
- "version": "v2.10.0",
+ "version": "v2.11.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/sanctum.git",
- "reference": "a08cfee365c6b6df3e91c8f43b92f7163ffc8a94"
+ "reference": "5de9d0ced8ae50dacb00c16077115f32e94d13f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/sanctum/zipball/a08cfee365c6b6df3e91c8f43b92f7163ffc8a94",
- "reference": "a08cfee365c6b6df3e91c8f43b92f7163ffc8a94",
+ "url": "https://api.github.com/repos/laravel/sanctum/zipball/5de9d0ced8ae50dacb00c16077115f32e94d13f2",
+ "reference": "5de9d0ced8ae50dacb00c16077115f32e94d13f2",
"shasum": ""
},
"require": {
@@ -1910,7 +2048,7 @@
"issues": "https://github.com/laravel/sanctum/issues",
"source": "https://github.com/laravel/sanctum"
},
- "time": "2021-04-20T16:20:46+00:00"
+ "time": "2021-05-25T16:43:06+00:00"
},
{
"name": "laravel/tinker",
@@ -1982,16 +2120,16 @@
},
{
"name": "league/commonmark",
- "version": "1.6.1",
+ "version": "1.6.2",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
- "reference": "2651c497f005de305c7ba3f232cbd87b8c00ee8c"
+ "reference": "7d70d2f19c84bcc16275ea47edabee24747352eb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2651c497f005de305c7ba3f232cbd87b8c00ee8c",
- "reference": "2651c497f005de305c7ba3f232cbd87b8c00ee8c",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/7d70d2f19c84bcc16275ea47edabee24747352eb",
+ "reference": "7d70d2f19c84bcc16275ea47edabee24747352eb",
"shasum": ""
},
"require": {
@@ -2079,7 +2217,7 @@
"type": "tidelift"
}
],
- "time": "2021-05-08T16:08:00+00:00"
+ "time": "2021-05-12T11:39:41+00:00"
},
{
"name": "league/flysystem",
@@ -2478,16 +2616,16 @@
},
{
"name": "nesbot/carbon",
- "version": "2.47.0",
+ "version": "2.48.1",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "606262fd8888b75317ba9461825a24fc34001e1e"
+ "reference": "8d1f50f1436fb4b05e7127360483dd9c6e73da16"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/606262fd8888b75317ba9461825a24fc34001e1e",
- "reference": "606262fd8888b75317ba9461825a24fc34001e1e",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8d1f50f1436fb4b05e7127360483dd9c6e73da16",
+ "reference": "8d1f50f1436fb4b05e7127360483dd9c6e73da16",
"shasum": ""
},
"require": {
@@ -2567,7 +2705,7 @@
"type": "tidelift"
}
],
- "time": "2021-04-13T21:54:02+00:00"
+ "time": "2021-05-26T22:08:38+00:00"
},
{
"name": "nikic/php-parser",
@@ -2757,6 +2895,91 @@
},
"time": "2020-12-06T15:14:20+00:00"
},
+ {
+ "name": "phenx/php-font-lib",
+ "version": "0.5.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PhenX/php-font-lib.git",
+ "reference": "ca6ad461f032145fff5971b5985e5af9e7fa88d8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/ca6ad461f032145fff5971b5985e5af9e7fa88d8",
+ "reference": "ca6ad461f032145fff5971b5985e5af9e7fa88d8",
+ "shasum": ""
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35 || ^5 || ^6 || ^7"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "FontLib\\": "src/FontLib"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-3.0"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Ménager",
+ "email": "fabien.menager@gmail.com"
+ }
+ ],
+ "description": "A library to read, parse, export and make subsets of different types of font files.",
+ "homepage": "https://github.com/PhenX/php-font-lib",
+ "support": {
+ "issues": "https://github.com/PhenX/php-font-lib/issues",
+ "source": "https://github.com/PhenX/php-font-lib/tree/0.5.2"
+ },
+ "time": "2020-03-08T15:31:32+00:00"
+ },
+ {
+ "name": "phenx/php-svg-lib",
+ "version": "v0.3.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/PhenX/php-svg-lib.git",
+ "reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/5fa61b65e612ce1ae15f69b3d223cb14ecc60e32",
+ "reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32",
+ "shasum": ""
+ },
+ "require": {
+ "sabberworm/php-css-parser": "^8.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^5.5|^6.5"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Svg\\": "src/Svg"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-3.0"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Ménager",
+ "email": "fabien.menager@gmail.com"
+ }
+ ],
+ "description": "A library to read, parse and export to PDF SVG files.",
+ "homepage": "https://github.com/PhenX/php-svg-lib",
+ "support": {
+ "issues": "https://github.com/PhenX/php-svg-lib/issues",
+ "source": "https://github.com/PhenX/php-svg-lib/tree/master"
+ },
+ "time": "2019-09-11T20:02:13+00:00"
+ },
{
"name": "phpoption/phpoption",
"version": "1.7.5",
@@ -3470,6 +3693,55 @@
],
"time": "2020-08-18T17:17:46+00:00"
},
+ {
+ "name": "sabberworm/php-css-parser",
+ "version": "8.3.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sabberworm/PHP-CSS-Parser.git",
+ "reference": "d217848e1396ef962fb1997cf3e2421acba7f796"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/d217848e1396ef962fb1997cf3e2421acba7f796",
+ "reference": "d217848e1396ef962fb1997cf3e2421acba7f796",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2"
+ },
+ "require-dev": {
+ "codacy/coverage": "^1.4",
+ "phpunit/phpunit": "~4.8"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Sabberworm\\CSS": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Raphael Schweikert"
+ }
+ ],
+ "description": "Parser for CSS Files written in PHP",
+ "homepage": "http://www.sabberworm.com/blog/2010/6/10/php-css-parser",
+ "keywords": [
+ "css",
+ "parser",
+ "stylesheet"
+ ],
+ "support": {
+ "issues": "https://github.com/sabberworm/PHP-CSS-Parser/issues",
+ "source": "https://github.com/sabberworm/PHP-CSS-Parser/tree/8.3.1"
+ },
+ "time": "2020-06-01T09:10:00+00:00"
+ },
{
"name": "swiftmailer/swiftmailer",
"version": "v6.2.7",
@@ -3547,20 +3819,21 @@
},
{
"name": "symfony/console",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629"
+ "reference": "058553870f7809087fa80fa734704a21b9bcaeb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/90374b8ed059325b49a29b55b3f8bb4062c87629",
- "reference": "90374b8ed059325b49a29b55b3f8bb4062c87629",
+ "url": "https://api.github.com/repos/symfony/console/zipball/058553870f7809087fa80fa734704a21b9bcaeb2",
+ "reference": "058553870f7809087fa80fa734704a21b9bcaeb2",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8",
"symfony/polyfill-php80": "^1.15",
@@ -3624,7 +3897,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.2.7"
+ "source": "https://github.com/symfony/console/tree/v5.3.0"
},
"funding": [
{
@@ -3640,20 +3913,20 @@
"type": "tidelift"
}
],
- "time": "2021-04-19T14:07:32+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/css-selector",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "59a684f5ac454f066ecbe6daecce6719aed283fb"
+ "reference": "fcd0b29a7a0b1bb5bfbedc6231583d77fea04814"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/59a684f5ac454f066ecbe6daecce6719aed283fb",
- "reference": "59a684f5ac454f066ecbe6daecce6719aed283fb",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/fcd0b29a7a0b1bb5bfbedc6231583d77fea04814",
+ "reference": "fcd0b29a7a0b1bb5bfbedc6231583d77fea04814",
"shasum": ""
},
"require": {
@@ -3689,7 +3962,7 @@
"description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/css-selector/tree/v5.3.0-BETA1"
+ "source": "https://github.com/symfony/css-selector/tree/v5.3.0"
},
"funding": [
{
@@ -3705,7 +3978,7 @@
"type": "tidelift"
}
],
- "time": "2021-04-07T16:07:52+00:00"
+ "time": "2021-05-26T17:40:38+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -3776,16 +4049,16 @@
},
{
"name": "symfony/error-handler",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
- "reference": "ea3ddbf67615e883ca7c33a4de61213789846782"
+ "reference": "0e6768b8c0dcef26df087df2bbbaa143867a59b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/error-handler/zipball/ea3ddbf67615e883ca7c33a4de61213789846782",
- "reference": "ea3ddbf67615e883ca7c33a4de61213789846782",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/0e6768b8c0dcef26df087df2bbbaa143867a59b2",
+ "reference": "0e6768b8c0dcef26df087df2bbbaa143867a59b2",
"shasum": ""
},
"require": {
@@ -3825,7 +4098,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/error-handler/tree/v5.2.7"
+ "source": "https://github.com/symfony/error-handler/tree/v5.3.0"
},
"funding": [
{
@@ -3841,20 +4114,20 @@
"type": "tidelift"
}
],
- "time": "2021-04-07T15:57:33+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v5.2.4",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "d08d6ec121a425897951900ab692b612a61d6240"
+ "reference": "67a5f354afa8e2f231081b3fa11a5912f933c3ce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d08d6ec121a425897951900ab692b612a61d6240",
- "reference": "d08d6ec121a425897951900ab692b612a61d6240",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67a5f354afa8e2f231081b3fa11a5912f933c3ce",
+ "reference": "67a5f354afa8e2f231081b3fa11a5912f933c3ce",
"shasum": ""
},
"require": {
@@ -3910,7 +4183,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.4"
+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.0"
},
"funding": [
{
@@ -3926,7 +4199,7 @@
"type": "tidelift"
}
],
- "time": "2021-02-18T17:12:37+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -4009,16 +4282,16 @@
},
{
"name": "symfony/finder",
- "version": "v5.2.4",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "0d639a0943822626290d169965804f79400e6a04"
+ "reference": "0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/0d639a0943822626290d169965804f79400e6a04",
- "reference": "0d639a0943822626290d169965804f79400e6a04",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6",
+ "reference": "0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6",
"shasum": ""
},
"require": {
@@ -4050,7 +4323,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/finder/tree/v5.2.4"
+ "source": "https://github.com/symfony/finder/tree/v5.3.0"
},
"funding": [
{
@@ -4066,7 +4339,7 @@
"type": "tidelift"
}
],
- "time": "2021-02-15T18:55:04+00:00"
+ "time": "2021-05-26T12:52:38+00:00"
},
{
"name": "symfony/http-client-contracts",
@@ -4148,16 +4421,16 @@
},
{
"name": "symfony/http-foundation",
- "version": "v5.2.7",
+ "version": "v5.3.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "a416487a73bb9c9d120e9ba3a60547f4a3fb7a1f"
+ "reference": "8827b90cf8806e467124ad476acd15216c2fceb6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a416487a73bb9c9d120e9ba3a60547f4a3fb7a1f",
- "reference": "a416487a73bb9c9d120e9ba3a60547f4a3fb7a1f",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8827b90cf8806e467124ad476acd15216c2fceb6",
+ "reference": "8827b90cf8806e467124ad476acd15216c2fceb6",
"shasum": ""
},
"require": {
@@ -4201,7 +4474,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-foundation/tree/v5.2.7"
+ "source": "https://github.com/symfony/http-foundation/tree/v5.3.1"
},
"funding": [
{
@@ -4217,20 +4490,20 @@
"type": "tidelift"
}
],
- "time": "2021-05-01T13:46:24+00:00"
+ "time": "2021-06-02T09:32:00+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v5.2.7",
+ "version": "v5.3.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "1e9f6879f070f718e0055fbac232a56f67b8b6bd"
+ "reference": "74eb022e3bac36b3d3a897951a98759f2b32b864"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1e9f6879f070f718e0055fbac232a56f67b8b6bd",
- "reference": "1e9f6879f070f718e0055fbac232a56f67b8b6bd",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/74eb022e3bac36b3d3a897951a98759f2b32b864",
+ "reference": "74eb022e3bac36b3d3a897951a98759f2b32b864",
"shasum": ""
},
"require": {
@@ -4240,7 +4513,7 @@
"symfony/error-handler": "^4.4|^5.0",
"symfony/event-dispatcher": "^5.0",
"symfony/http-client-contracts": "^1.1|^2",
- "symfony/http-foundation": "^4.4|^5.0",
+ "symfony/http-foundation": "^5.3",
"symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-php73": "^1.9",
"symfony/polyfill-php80": "^1.15"
@@ -4250,7 +4523,7 @@
"symfony/cache": "<5.0",
"symfony/config": "<5.0",
"symfony/console": "<4.4",
- "symfony/dependency-injection": "<5.1.8",
+ "symfony/dependency-injection": "<5.3",
"symfony/doctrine-bridge": "<5.0",
"symfony/form": "<5.0",
"symfony/http-client": "<5.0",
@@ -4270,7 +4543,7 @@
"symfony/config": "^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/css-selector": "^4.4|^5.0",
- "symfony/dependency-injection": "^5.1.8",
+ "symfony/dependency-injection": "^5.3",
"symfony/dom-crawler": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0",
@@ -4313,7 +4586,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-kernel/tree/v5.2.7"
+ "source": "https://github.com/symfony/http-kernel/tree/v5.3.1"
},
"funding": [
{
@@ -4329,20 +4602,20 @@
"type": "tidelift"
}
],
- "time": "2021-05-01T14:53:15+00:00"
+ "time": "2021-06-02T10:07:12+00:00"
},
{
"name": "symfony/mime",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "7af452bf51c46f18da00feb32e1ad36db9426515"
+ "reference": "ed710d297b181f6a7194d8172c9c2423d58e4852"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/7af452bf51c46f18da00feb32e1ad36db9426515",
- "reference": "7af452bf51c46f18da00feb32e1ad36db9426515",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/ed710d297b181f6a7194d8172c9c2423d58e4852",
+ "reference": "ed710d297b181f6a7194d8172c9c2423d58e4852",
"shasum": ""
},
"require": {
@@ -4396,7 +4669,7 @@
"mime-type"
],
"support": {
- "source": "https://github.com/symfony/mime/tree/v5.2.7"
+ "source": "https://github.com/symfony/mime/tree/v5.3.0"
},
"funding": [
{
@@ -4412,20 +4685,20 @@
"type": "tidelift"
}
],
- "time": "2021-04-29T20:47:09+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e",
- "reference": "c6c942b1ac76c82448322025e084cadc56048b4e",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
"shasum": ""
},
"require": {
@@ -4437,7 +4710,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4475,7 +4748,7 @@
"portable"
],
"support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
},
"funding": [
{
@@ -4491,20 +4764,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-iconv",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-iconv.git",
- "reference": "06fb361659649bcfd6a208a0f1fcaf4e827ad342"
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/06fb361659649bcfd6a208a0f1fcaf4e827ad342",
- "reference": "06fb361659649bcfd6a208a0f1fcaf4e827ad342",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/63b5bb7db83e5673936d6e3b8b3e022ff6474933",
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933",
"shasum": ""
},
"require": {
@@ -4516,7 +4789,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4555,7 +4828,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-iconv/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.23.0"
},
"funding": [
{
@@ -4571,20 +4844,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170"
+ "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170",
- "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/24b72c6baa32c746a4d0840147c9715e42bb68ab",
+ "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab",
"shasum": ""
},
"require": {
@@ -4596,7 +4869,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4636,7 +4909,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.0"
},
"funding": [
{
@@ -4652,20 +4925,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:17:38+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
- "reference": "2d63434d922daf7da8dd863e7907e67ee3031483"
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/2d63434d922daf7da8dd863e7907e67ee3031483",
- "reference": "2d63434d922daf7da8dd863e7907e67ee3031483",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/65bd267525e82759e7d8c4e8ceea44f398838e65",
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65",
"shasum": ""
},
"require": {
@@ -4679,7 +4952,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4723,7 +4996,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0"
},
"funding": [
{
@@ -4739,20 +5012,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248"
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248",
- "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
"shasum": ""
},
"require": {
@@ -4764,7 +5037,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4807,7 +5080,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0"
},
"funding": [
{
@@ -4823,20 +5096,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "5232de97ee3b75b0360528dae24e73db49566ab1"
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1",
- "reference": "5232de97ee3b75b0360528dae24e73db49566ab1",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
"shasum": ""
},
"require": {
@@ -4848,7 +5121,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4887,7 +5160,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0"
},
"funding": [
{
@@ -4903,20 +5176,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-php72",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9"
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9",
- "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976",
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976",
"shasum": ""
},
"require": {
@@ -4925,7 +5198,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -4963,7 +5236,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php72/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
},
"funding": [
{
@@ -4979,20 +5252,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-05-27T09:17:38+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
- "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
"shasum": ""
},
"require": {
@@ -5001,7 +5274,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5042,7 +5315,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
},
"funding": [
{
@@ -5058,20 +5331,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
- "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0",
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0",
"shasum": ""
},
"require": {
@@ -5080,7 +5353,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -5125,7 +5398,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0"
},
"funding": [
{
@@ -5141,20 +5414,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/process",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e"
+ "reference": "53e36cb1c160505cdaf1ef201501669c4c317191"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e",
- "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e",
+ "url": "https://api.github.com/repos/symfony/process/zipball/53e36cb1c160505cdaf1ef201501669c4c317191",
+ "reference": "53e36cb1c160505cdaf1ef201501669c4c317191",
"shasum": ""
},
"require": {
@@ -5187,7 +5460,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v5.3.0-BETA1"
+ "source": "https://github.com/symfony/process/tree/v5.3.0"
},
"funding": [
{
@@ -5203,20 +5476,20 @@
"type": "tidelift"
}
],
- "time": "2021-04-08T10:27:02+00:00"
+ "time": "2021-05-26T12:52:38+00:00"
},
{
"name": "symfony/routing",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "3f0cab2e95b5e92226f34c2c1aa969d3fc41f48c"
+ "reference": "368e81376a8e049c37cb80ae87dbfbf411279199"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/3f0cab2e95b5e92226f34c2c1aa969d3fc41f48c",
- "reference": "3f0cab2e95b5e92226f34c2c1aa969d3fc41f48c",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/368e81376a8e049c37cb80ae87dbfbf411279199",
+ "reference": "368e81376a8e049c37cb80ae87dbfbf411279199",
"shasum": ""
},
"require": {
@@ -5225,14 +5498,15 @@
"symfony/polyfill-php80": "^1.15"
},
"conflict": {
- "symfony/config": "<5.0",
+ "doctrine/annotations": "<1.12",
+ "symfony/config": "<5.3",
"symfony/dependency-injection": "<4.4",
"symfony/yaml": "<4.4"
},
"require-dev": {
- "doctrine/annotations": "^1.10.4",
+ "doctrine/annotations": "^1.12",
"psr/log": "~1.0",
- "symfony/config": "^5.0",
+ "symfony/config": "^5.3",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0",
"symfony/http-foundation": "^4.4|^5.0",
@@ -5276,7 +5550,7 @@
"url"
],
"support": {
- "source": "https://github.com/symfony/routing/tree/v5.2.7"
+ "source": "https://github.com/symfony/routing/tree/v5.3.0"
},
"funding": [
{
@@ -5292,7 +5566,7 @@
"type": "tidelift"
}
],
- "time": "2021-04-11T22:55:21+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/service-contracts",
@@ -5375,16 +5649,16 @@
},
{
"name": "symfony/string",
- "version": "v5.2.6",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572"
+ "reference": "a9a0f8b6aafc5d2d1c116dcccd1573a95153515b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572",
- "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572",
+ "url": "https://api.github.com/repos/symfony/string/zipball/a9a0f8b6aafc5d2d1c116dcccd1573a95153515b",
+ "reference": "a9a0f8b6aafc5d2d1c116dcccd1573a95153515b",
"shasum": ""
},
"require": {
@@ -5438,7 +5712,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.2.6"
+ "source": "https://github.com/symfony/string/tree/v5.3.0"
},
"funding": [
{
@@ -5454,24 +5728,25 @@
"type": "tidelift"
}
],
- "time": "2021-03-17T17:12:15+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "symfony/translation",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "e37ece5242564bceea54d709eafc948377ec9749"
+ "reference": "251de0d921c42ef0a81494d8f37405421deefdf6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/e37ece5242564bceea54d709eafc948377ec9749",
- "reference": "e37ece5242564bceea54d709eafc948377ec9749",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/251de0d921c42ef0a81494d8f37405421deefdf6",
+ "reference": "251de0d921c42ef0a81494d8f37405421deefdf6",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php80": "^1.15",
"symfony/translation-contracts": "^2.3"
@@ -5494,6 +5769,7 @@
"symfony/finder": "^4.4|^5.0",
"symfony/http-kernel": "^5.0",
"symfony/intl": "^4.4|^5.0",
+ "symfony/polyfill-intl-icu": "^1.21",
"symfony/service-contracts": "^1.1.2|^2",
"symfony/yaml": "^4.4|^5.0"
},
@@ -5531,7 +5807,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v5.2.7"
+ "source": "https://github.com/symfony/translation/tree/v5.3.0"
},
"funding": [
{
@@ -5547,7 +5823,7 @@
"type": "tidelift"
}
],
- "time": "2021-04-01T08:15:21+00:00"
+ "time": "2021-05-29T22:28:28+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -5629,16 +5905,16 @@
},
{
"name": "symfony/var-dumper",
- "version": "v5.2.7",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "27cb9f7cfa3853c736425c7233a8f68814b19636"
+ "reference": "1d3953e627fe4b5f6df503f356b6545ada6351f3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/27cb9f7cfa3853c736425c7233a8f68814b19636",
- "reference": "27cb9f7cfa3853c736425c7233a8f68814b19636",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1d3953e627fe4b5f6df503f356b6545ada6351f3",
+ "reference": "1d3953e627fe4b5f6df503f356b6545ada6351f3",
"shasum": ""
},
"require": {
@@ -5697,7 +5973,7 @@
"dump"
],
"support": {
- "source": "https://github.com/symfony/var-dumper/tree/v5.2.7"
+ "source": "https://github.com/symfony/var-dumper/tree/v5.3.0"
},
"funding": [
{
@@ -5713,20 +5989,20 @@
"type": "tidelift"
}
],
- "time": "2021-04-19T14:07:32+00:00"
+ "time": "2021-05-27T12:28:50+00:00"
},
{
"name": "tightenco/ziggy",
- "version": "v1.1.0",
+ "version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/tighten/ziggy.git",
- "reference": "ac0833645f25b51acf9e3d523d6bf8633938f9c5"
+ "reference": "147804d5f3e98b897fc1ed15efc2807f1099cf83"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/tighten/ziggy/zipball/ac0833645f25b51acf9e3d523d6bf8633938f9c5",
- "reference": "ac0833645f25b51acf9e3d523d6bf8633938f9c5",
+ "url": "https://api.github.com/repos/tighten/ziggy/zipball/147804d5f3e98b897fc1ed15efc2807f1099cf83",
+ "reference": "147804d5f3e98b897fc1ed15efc2807f1099cf83",
"shasum": ""
},
"require": {
@@ -5777,9 +6053,9 @@
],
"support": {
"issues": "https://github.com/tighten/ziggy/issues",
- "source": "https://github.com/tighten/ziggy/tree/v1.1.0"
+ "source": "https://github.com/tighten/ziggy/tree/v1.2.0"
},
- "time": "2021-04-02T17:17:05+00:00"
+ "time": "2021-05-24T22:46:59+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -6119,16 +6395,16 @@
},
{
"name": "facade/flare-client-php",
- "version": "1.8.0",
+ "version": "1.8.1",
"source": {
"type": "git",
"url": "https://github.com/facade/flare-client-php.git",
- "reference": "69742118c037f34ee1ef86dc605be4a105d9e984"
+ "reference": "47b639dc02bcfdfc4ebb83de703856fa01e35f5f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/facade/flare-client-php/zipball/69742118c037f34ee1ef86dc605be4a105d9e984",
- "reference": "69742118c037f34ee1ef86dc605be4a105d9e984",
+ "url": "https://api.github.com/repos/facade/flare-client-php/zipball/47b639dc02bcfdfc4ebb83de703856fa01e35f5f",
+ "reference": "47b639dc02bcfdfc4ebb83de703856fa01e35f5f",
"shasum": ""
},
"require": {
@@ -6172,7 +6448,7 @@
],
"support": {
"issues": "https://github.com/facade/flare-client-php/issues",
- "source": "https://github.com/facade/flare-client-php/tree/1.8.0"
+ "source": "https://github.com/facade/flare-client-php/tree/1.8.1"
},
"funding": [
{
@@ -6180,20 +6456,20 @@
"type": "github"
}
],
- "time": "2021-04-30T11:11:50+00:00"
+ "time": "2021-05-31T19:23:29+00:00"
},
{
"name": "facade/ignition",
- "version": "2.9.0",
+ "version": "2.10.1",
"source": {
"type": "git",
"url": "https://github.com/facade/ignition.git",
- "reference": "e7db3b601ce742568b92648818ef903904d20164"
+ "reference": "508d80f91de953617977e5666f8953669b6e81f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/facade/ignition/zipball/e7db3b601ce742568b92648818ef903904d20164",
- "reference": "e7db3b601ce742568b92648818ef903904d20164",
+ "url": "https://api.github.com/repos/facade/ignition/zipball/508d80f91de953617977e5666f8953669b6e81f2",
+ "reference": "508d80f91de953617977e5666f8953669b6e81f2",
"shasum": ""
},
"require": {
@@ -6257,7 +6533,7 @@
"issues": "https://github.com/facade/ignition/issues",
"source": "https://github.com/facade/ignition"
},
- "time": "2021-05-05T06:45:12+00:00"
+ "time": "2021-06-03T21:41:42+00:00"
},
{
"name": "facade/ignition-contracts",
@@ -6379,16 +6655,16 @@
},
{
"name": "filp/whoops",
- "version": "2.12.1",
+ "version": "2.13.0",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "c13c0be93cff50f88bbd70827d993026821914dd"
+ "reference": "2edbc73a4687d9085c8f20f398eebade844e8424"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/c13c0be93cff50f88bbd70827d993026821914dd",
- "reference": "c13c0be93cff50f88bbd70827d993026821914dd",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/2edbc73a4687d9085c8f20f398eebade844e8424",
+ "reference": "2edbc73a4687d9085c8f20f398eebade844e8424",
"shasum": ""
},
"require": {
@@ -6438,7 +6714,7 @@
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
- "source": "https://github.com/filp/whoops/tree/2.12.1"
+ "source": "https://github.com/filp/whoops/tree/2.13.0"
},
"funding": [
{
@@ -6446,7 +6722,7 @@
"type": "github"
}
],
- "time": "2021-04-25T12:00:00+00:00"
+ "time": "2021-06-04T12:00:00+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -6501,16 +6777,16 @@
},
{
"name": "laravel/sail",
- "version": "v1.5.0",
+ "version": "v1.7.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/sail.git",
- "reference": "7f2d520f8c7d6fc0e5e4949c1363f6ddff0ff116"
+ "reference": "d1f703d73f782af5427697cdc5023395cd341963"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/sail/zipball/7f2d520f8c7d6fc0e5e4949c1363f6ddff0ff116",
- "reference": "7f2d520f8c7d6fc0e5e4949c1363f6ddff0ff116",
+ "url": "https://api.github.com/repos/laravel/sail/zipball/d1f703d73f782af5427697cdc5023395cd341963",
+ "reference": "d1f703d73f782af5427697cdc5023395cd341963",
"shasum": ""
},
"require": {
@@ -6557,7 +6833,7 @@
"issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail"
},
- "time": "2021-04-20T16:17:55+00:00"
+ "time": "2021-05-25T16:41:13+00:00"
},
{
"name": "mockery/mockery",
@@ -7433,16 +7709,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "9.5.4",
+ "version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "c73c6737305e779771147af66c96ca6a7ed8a741"
+ "reference": "89ff45ea9d70e35522fb6654a2ebc221158de276"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c73c6737305e779771147af66c96ca6a7ed8a741",
- "reference": "c73c6737305e779771147af66c96ca6a7ed8a741",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/89ff45ea9d70e35522fb6654a2ebc221158de276",
+ "reference": "89ff45ea9d70e35522fb6654a2ebc221158de276",
"shasum": ""
},
"require": {
@@ -7472,7 +7748,7 @@
"sebastian/global-state": "^5.0.1",
"sebastian/object-enumerator": "^4.0.3",
"sebastian/resource-operations": "^3.0.3",
- "sebastian/type": "^2.3",
+ "sebastian/type": "^2.3.2",
"sebastian/version": "^3.0.2"
},
"require-dev": {
@@ -7520,7 +7796,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.4"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.5"
},
"funding": [
{
@@ -7532,7 +7808,7 @@
"type": "github"
}
],
- "time": "2021-03-23T07:16:29+00:00"
+ "time": "2021-06-05T04:49:07+00:00"
},
{
"name": "sebastian/cli-parser",
@@ -8391,16 +8667,16 @@
},
{
"name": "sebastian/type",
- "version": "2.3.1",
+ "version": "2.3.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
- "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2"
+ "reference": "0d1c587401514d17e8f9258a27e23527cb1b06c1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
- "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0d1c587401514d17e8f9258a27e23527cb1b06c1",
+ "reference": "0d1c587401514d17e8f9258a27e23527cb1b06c1",
"shasum": ""
},
"require": {
@@ -8435,7 +8711,7 @@
"homepage": "https://github.com/sebastianbergmann/type",
"support": {
"issues": "https://github.com/sebastianbergmann/type/issues",
- "source": "https://github.com/sebastianbergmann/type/tree/2.3.1"
+ "source": "https://github.com/sebastianbergmann/type/tree/2.3.2"
},
"funding": [
{
@@ -8443,7 +8719,7 @@
"type": "github"
}
],
- "time": "2020-10-26T13:18:59+00:00"
+ "time": "2021-06-04T13:02:07+00:00"
},
{
"name": "sebastian/version",
diff --git a/config/app.php b/config/app.php
index 50cb839..1aef992 100644
--- a/config/app.php
+++ b/config/app.php
@@ -176,6 +176,7 @@ return [
App\Providers\RouteServiceProvider::class,
App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class,
+ Barryvdh\DomPDF\ServiceProvider::class,
],
/*
@@ -228,6 +229,7 @@ return [
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
+ 'PDF' => Barryvdh\DomPDF\Facade::class,
],
];
diff --git a/public/images/logo_contract.jpg b/public/images/logo_contract.jpg
new file mode 100644
index 0000000..648d4d2
Binary files /dev/null and b/public/images/logo_contract.jpg differ
diff --git a/public/images/logo_contract.png b/public/images/logo_contract.png
new file mode 100644
index 0000000..7225c5f
Binary files /dev/null and b/public/images/logo_contract.png differ
diff --git a/public/js/app.js b/public/js/app.js
index 4c4c110..dcec18e 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -16876,15 +16876,22 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
-/* harmony import */ var _StandardButton_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StandardButton.vue */ "./resources/js/Components/Buttons/StandardButton.vue");
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
- components: {
- StandardButton: _StandardButton_vue__WEBPACK_IMPORTED_MODULE_0__.default
- },
props: {
"class": String,
href: String
+ },
+ data: function data() {
+ return {
+ colour: 'indigo'
+ };
+ },
+ computed: {
+ allClasses: function allClasses() {
+ var classes = "justify-center inline-flex items-center px-4 py-2 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest focus:outline-none focus:ring disabled:opacity-25 transition";
+ classes += " bg-".concat(this.colour, "-800 hover:bg-").concat(this.colour, "-700 active:bg-").concat(this.colour, "-900 focus:border-").concat(this.colour, "-900 focus:ring-").concat(this.colour, "-300");
+ return classes + " " + this["class"];
+ }
}
});
@@ -19732,7 +19739,7 @@ __webpack_require__.r(__webpack_exports__);
id: null,
date: (0,vue__WEBPACK_IMPORTED_MODULE_6__.ref)(new Date()),
price: null,
- type: this.type == "SellContract" ? 0 : 1,
+ type: this.type == "SellContract" ? '0' : '1',
insurance_type: '0',
car_id: this.car.id,
contact_id: this.contact.id
@@ -21112,28 +21119,19 @@ var _hoisted_1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNod
function render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_unicon = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("unicon");
- var _component_standard_button = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("standard-button");
-
- return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_standard_button, {
+ return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("a", {
href: $props.href,
- "class": this["class"],
- colour: "gray"
- }, {
- "default": (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () {
- return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_unicon, {
- fill: "white",
- "class": "mr-1",
- height: "22",
- width: "22",
- name: "file-download"
- }), _hoisted_1];
- }),
- _: 1
- /* STABLE */
-
- }, 8
- /* PROPS */
- , ["href", "class"]);
+ target: "_blank",
+ "class": $options.allClasses
+ }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_unicon, {
+ fill: "white",
+ "class": "mr-1",
+ height: "22",
+ width: "22",
+ name: "file-download"
+ }), _hoisted_1], 10
+ /* CLASS, PROPS */
+ , ["href"]);
}
/***/ }),
diff --git a/resources/js/Components/Buttons/PrintButton.vue b/resources/js/Components/Buttons/PrintButton.vue
index afb8539..ac7ccdc 100644
--- a/resources/js/Components/Buttons/PrintButton.vue
+++ b/resources/js/Components/Buttons/PrintButton.vue
@@ -1,18 +1,27 @@
-
+
drucken
-
+
\ No newline at end of file
diff --git a/resources/js/Pages/Contracts/Create.vue b/resources/js/Pages/Contracts/Create.vue
index 96a368e..f80859a 100644
--- a/resources/js/Pages/Contracts/Create.vue
+++ b/resources/js/Pages/Contracts/Create.vue
@@ -90,7 +90,7 @@ export default {
id: null,
date: ref(new Date()),
price: null,
- type: this.type == "SellContract" ? 0 : 1,
+ type: this.type == "SellContract" ? '0' : '1',
insurance_type: '0',
car_id: this.car.id,
contact_id: this.contact.id,
diff --git a/resources/views/contract.blade.php b/resources/views/contract.blade.php
index 915c991..53dfd2d 100644
--- a/resources/views/contract.blade.php
+++ b/resources/views/contract.blade.php
@@ -9,18 +9,21 @@
font-family: Verdana, Arial, sans-serif;
}
body {
- margin: 50px;
+ margin: 0;
}
table{
font-size: x-small;
}
table tr td {
- padding: 2px 0;
- font-size: 13px;
+ padding: 1px 0;
+ font-size: 12px;
}
- .footnote tr td {
- padding: 0;
- font-size: 11px;
+ .footnote {
+ padding: 5px 0;
+ margin: 25px 0 5px 0;
+ font-size: 9px;
+ border-top: 1px solid black;
+ border-bottom: 1px solid black;
}
tfoot tr td{
font-weight: bold;
@@ -35,8 +38,8 @@
- Your SwissCar GmbH
+Your SwissCar GmbH
Bernstrasse 27
8952 Schlieren
@@ -46,40 +49,66 @@ E-Mail: info@yourswisscar.com
MwSt-Nr: CHE-226.272.050
|
- }}) |
+  |
- Autokaufvertag |
+ Auto - {{ $contract->type_formatted }} |
- | |
-
- | Verkäufer |
- Your SwissCar GmbH |
- Käufer |
- {{ $contract->contact->full_title }} |
-
-
- | Strasse |
- Bernstrasse 27 |
- Strasse |
- {{ $contract->contact->address }} |
-
-
- | PLZ / Ort |
- 8952 Schlieren |
- PLZ / Ort |
- {{ $contract->contact->full_city }} |
-
-
- | Telefon |
- 079 680 34 44 |
- Telefon |
- {{ $contract->contact->phone }} |
-
+ @if ($contract->isBuyContract())
+
+ | Verkäufer |
+ {{ $contract->contact->full_title }} |
+ Käufer |
+ Your SwissCar GmbH |
+
+
+ | Strasse |
+ {{ $contract->contact->address }} |
+ Strasse |
+ Bernstrasse 27 |
+
+
+ | PLZ / Ort |
+ {{ $contract->contact->full_city }} |
+ PLZ / Ort |
+ 8952 Schlieren |
+
+
+ | Telefon |
+ {{ $contract->contact->phone }} |
+ Telefon |
+ 079 680 34 44 |
+
+ @else
+
+ | Verkäufer |
+ Your SwissCar GmbH |
+ Käufer |
+ {{ $contract->contact->full_title }} |
+
+
+ | Strasse |
+ Bernstrasse 27 |
+ Strasse |
+ {{ $contract->contact->address }} |
+
+
+ | PLZ / Ort |
+ 8952 Schlieren |
+ PLZ / Ort |
+ {{ $contract->contact->full_city }} |
+
+
+ | Telefon |
+ 079 680 34 44 |
+ Telefon |
+ {{ $contract->contact->phone }} |
+
+ @endif
| |
@@ -88,21 +117,19 @@ MwSt-Nr: CHE-226.272.050
| Marke & Modell |
- {{ $contract->car->name }} |
+ {{ $contract->car->name }} |
+ Farbe |
+ {{ $contract->car->colour }} |
| Chassisnummer |
- {{ $contract->car->vin }} |
-
-
- | Farbe |
- {{ $contract->car->colour }} |
- Inverkehrssetzung |
- {{ $contract->car->initial_date_formatted }} |
-
-
+ | {{ $contract->car->vin }} |
Stammnummer |
{{ $contract->car->stammnummer }} |
+
+
+ | Inverkehrssetzung |
+ {{ $contract->car->initial_date_formatted }} |
Letzte Prüfung |
{{ $contract->car->last_check_date_formatted }} |
@@ -113,9 +140,8 @@ MwSt-Nr: CHE-226.272.050
{{ $contract->insurance_type_formatted }} |
| |
-
- | Verkaufspreis |
+ Kaufpreis |
{{ $contract->price }} |
@@ -138,74 +164,46 @@ MwSt-Nr: CHE-226.272.050
| Bemerkung |
|
- | |
- | |
-
-
- | |
+
+
| Ort, Datum |
- Schlieren, |
- |
+ Schlieren, {{ $contract->date_formatted }} |
| |
| Verkäufer: |
- |
+ |
Käufer: |
-
+
- | Quittung |
- Den Betrag von |
- |
+ Quittung |
+ Den Betrag von |
in bar erhalten |
| |
| |
| Datum: |
- {{ $contract->date_formatted }} |
+ |
+