diff --git a/app/Http/Controllers/OnlinePaymentController.php b/app/Http/Controllers/OnlinePaymentController.php index 48f7a2f..a77a94f 100644 --- a/app/Http/Controllers/OnlinePaymentController.php +++ b/app/Http/Controllers/OnlinePaymentController.php @@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Log; class OnlinePaymentController extends Controller { /** - * Online pa + * Online payment * * @param Request $request */ diff --git a/app/Modules/LoanOrder/Controllers/LoanOrderController.php b/app/Modules/LoanOrder/Controllers/LoanOrderController.php index 02432f9..224ea29 100644 --- a/app/Modules/LoanOrder/Controllers/LoanOrderController.php +++ b/app/Modules/LoanOrder/Controllers/LoanOrderController.php @@ -6,6 +6,7 @@ use App\Http\Controllers\Controller; use App\Models\Order\Loan\LoanOrder; use App\Modules\LoanOrder\Controllers\Requests\LoanOrderStoreRequest; use App\Modules\LoanOrder\Controllers\Resources\LoanOrderIndexResource; +use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; class LoanOrderController extends Controller @@ -13,7 +14,7 @@ class LoanOrderController extends Controller /** * LIST* Loan orders. */ - public function index(Request $request) + public function index(Request $request): JsonResponse { return response()->json(LoanOrderIndexResource::collection( LoanOrder::query()->where('user_id', auth()->id())->paginate() diff --git a/app/Modules/VisaMasterPaymentOrder/Nova/Resources/NovaVisaMasterPaymentOrder.php b/app/Modules/VisaMasterPaymentOrder/Nova/Resources/NovaVisaMasterPaymentOrder.php index 27cb867..cf0e7b2 100644 --- a/app/Modules/VisaMasterPaymentOrder/Nova/Resources/NovaVisaMasterPaymentOrder.php +++ b/app/Modules/VisaMasterPaymentOrder/Nova/Resources/NovaVisaMasterPaymentOrder.php @@ -13,6 +13,7 @@ use App\Repos\System\Nova\NovaRepo; use App\Repos\System\Settings\Legal\PassportRepo; use App\Repos\System\Settings\Location\RegionRepo; use Ebess\AdvancedNovaMediaLibrary\Fields\Files; +use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use Laravel\Nova\Fields\Badge; @@ -60,6 +61,27 @@ class NovaVisaMasterPaymentOrder extends Resource */ public static $with = ['branch']; + /** + * Indicates whether the resource should automatically poll for new resources. + * + * @var bool + */ + public static $polling = true; + + /** + * The interval at which Nova should poll for new resources. + * + * @var int + */ + public static $pollingInterval = 120; + + /** + * Indicates whether to show the polling toggle button inside Nova. + * + * @var bool + */ + public static $showPollingToggle = true; + /** * Get the displayable label of the resource. */ @@ -84,6 +106,27 @@ class NovaVisaMasterPaymentOrder extends Resource ); } + /** + * Build an "index" query for the given resource. + * + * @param \Illuminate\Database\Eloquent\Builder $query + * @return \Illuminate\Database\Eloquent\Builder + */ + public static function indexQuery(NovaRequest $request, mixed $query): Builder + { + $user = $request->user(); + + if ($user->isAdmin()) { + return $query; + } + + if ($user->isOperator()) { + return $query->whereIn('branch_id', $user->branches()->pluck('branches.id')); + } + + return $query->where('user_id', $request->user()->id); + } + /** * After resource created * diff --git a/app/Nova/Resources/Order/Loan/Concerns/LoanOrderFieldsForDetail.php b/app/Nova/Resources/Order/Loan/Concerns/LoanOrderFieldsForDetail.php index ed47389..dcd20a8 100644 --- a/app/Nova/Resources/Order/Loan/Concerns/LoanOrderFieldsForDetail.php +++ b/app/Nova/Resources/Order/Loan/Concerns/LoanOrderFieldsForDetail.php @@ -2,10 +2,12 @@ namespace App\Nova\Resources\Order\Loan\Concerns; +use App\Modules\DateHelper\Repositories\DateHelperRepository; use App\Nova\Resources\Branch\Branch; use App\Nova\Resources\Order\Loan\LoanType; use App\Nova\Resources\System\Location\Province; use App\Nova\User; +use App\Repos\Order\Loan\LoanTypeRepo; use App\Repos\Order\OrderRepo; use App\Repos\System\Settings\Legal\EducationRepo; use App\Repos\System\Settings\Legal\MarriageRepo; @@ -17,6 +19,7 @@ use Laravel\Nova\Fields\DateTime; use Laravel\Nova\Fields\Email; use Laravel\Nova\Fields\ID; use Laravel\Nova\Fields\Image; +use Laravel\Nova\Fields\Number; use Laravel\Nova\Fields\Select; use Laravel\Nova\Fields\Text; use Laravel\Nova\Panel; @@ -51,6 +54,7 @@ class LoanOrderFieldsForDetail new Panel(__('Loan'), [ BelongsTo::make(__('Loan type'), 'loanType', LoanType::class), + Number::make(__('Amount of loan'), 'loan_amount'), ]), new Panel(__('Location'), [ @@ -89,6 +93,22 @@ class LoanOrderFieldsForDetail ->size('w-1/2'), ]), + new Panel(__('Card'), [ + Number::make(__('Card number'), 'card_number'), + + Text::make(__('Name on card'), 'card_name'), + + Select::make(__('Expiration month'), 'card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()), + + Select::make(__('Expiration year'), 'card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()), + ]), + new Panel(__('Contact data'), [ Email::make(__('Email'), 'email') ->size('w-1/4'), @@ -161,6 +181,47 @@ class LoanOrderFieldsForDetail Image::make(__('Passport (page 32)'), 'passport_four') ->size('w-1/2'), ]), + + new Panel(__('1. Guarantor'), [ + Text::make(__('Guarantor name'), 'guarantor_name'), + + Text::make(__('Guarantor Surname'), 'guarantor_surname'), + + Text::make(__('Guarantor Patronic name'), 'guarantor_patronic_name'), + + Number::make(__('Card number'), 'guarantor_card_number'), + + Text::make(__('Name on card'), 'guarantor_card_name'), + + Select::make(__('Expiration month'), 'guarantor_card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()), + + Select::make(__('Expiration year'), 'guarantor_card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()), + ]), + + new Panel(__('2. Guarantor'), [ + Text::make(__('Guarantor name'), 'guarantor_2_name'), + Text::make(__('Guarantor Surname'), 'guarantor_2_surname'), + Text::make(__('Guarantor Patronic name'), 'guarantor_2_patronic_name'), + + Number::make(__('Card number'), 'guarantor_2_card_number'), + Text::make(__('Name on card'), 'guarantor_2_card_name'), + + Select::make(__('Expiration month'), 'guarantor_2_card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()), + + Select::make(__('Expiration year'), 'guarantor_2_card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()), + ]), ]; } } diff --git a/app/Nova/Resources/Order/Loan/LoanOrder.php b/app/Nova/Resources/Order/Loan/LoanOrder.php index d4b91dc..82d1207 100644 --- a/app/Nova/Resources/Order/Loan/LoanOrder.php +++ b/app/Nova/Resources/Order/Loan/LoanOrder.php @@ -5,6 +5,7 @@ namespace App\Nova\Resources\Order\Loan; use App\Models\Branch\Branch; use App\Models\Order\Loan\LoanOrder as LoanOrderModel; use App\Models\System\Location\Province; +use App\Modules\DateHelper\Repositories\DateHelperRepository; use App\Nova\Filters\RegionFilter; use App\Nova\Filters\StatusFilter; use App\Nova\Resource; @@ -176,6 +177,15 @@ class LoanOrder extends Resource ->options(LoanTypeRepo::values()) ->rules('required') ->sortable(), + + Number::make(__('Amount of loan'), 'loan_amount') + ->hide() + ->fullWidth() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type === LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required', 'integer', 'max:40000'); + } + }), ]), new Panel(__('Location'), [ @@ -241,6 +251,50 @@ class LoanOrder extends Resource ->rules('required', 'string', new DowranAgaAllowed, 'max:255'), ]), + new Panel(__('Card'), [ + Number::make(__('Card number'), 'card_number') + ->size('w-1/4') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + + Text::make(__('Name on card'), 'card_name') + ->size('w-1/4') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + + Select::make(__('Expiration month'), 'card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()) + ->size('w-1/4') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + + Select::make(__('Expiration year'), 'card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()) + ->size('w-1/4') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + ]), + new Panel(__('Passport'), [ Select::make(__('Passport serie'), 'passport_serie') ->displayUsingLabels() @@ -359,6 +413,157 @@ class LoanOrder extends Resource ->creationRules('required') ->updateRules('nullable'), ]), + + new Panel(__('1. Guarantor'), [ + Text::make(__('Guarantor name'), 'guarantor_name') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Text::make(__('Guarantor Surname'), 'guarantor_surname') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Text::make(__('Guarantor Patronic name'), 'guarantor_patronic_name') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('nullable', 'string', 'max:255'); + } + }), + + Number::make(__('Card number'), 'guarantor_card_number') + ->size('w-1/2') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required', 'integer', 'digits:16'); + } + }), + + Text::make(__('Name on card'), 'guarantor_card_name') + ->size('w-1/2') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Select::make(__('Expiration month'), 'guarantor_card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()) + ->size('w-1/2') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + + Select::make(__('Expiration year'), 'guarantor_card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()) + ->size('w-1/2') + ->hide() + ->dependsOn('loan_type', function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId()) { + $field->show()->rules('required'); + } + }), + ]), + + new Panel(__('2. Guarantor'), [ + Text::make(__('Guarantor name'), 'guarantor_2_name') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Text::make(__('Guarantor Surname'), 'guarantor_2_surname') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Text::make(__('Guarantor Patronic name'), 'guarantor_2_patronic_name') + ->fullWidth() + ->size('w-1/3') + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('nullable', 'string', 'max:255'); + } + }), + + Number::make(__('Card number'), 'guarantor_2_card_number') + ->size('w-1/2') + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('nullable', 'string', 'max:255'); + } + }), + + Text::make(__('Name on card'), 'guarantor_2_card_name') + ->size('w-1/2') + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('required', 'string', 'max:255'); + } + }), + + Select::make(__('Expiration month'), 'guarantor_2_card_month') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::monthsAsNumber()) + ->size('w-1/2') + ->sortable() + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('required'); + } + }), + + Select::make(__('Expiration year'), 'guarantor_2_card_year') + ->displayUsingLabels() + ->searchable() + ->options(DateHelperRepository::yearsUntil()) + ->size('w-1/2') + ->sortable() + ->hide() + ->dependsOn(['loan_type', 'loan_amount'], function ($field, $request, $formData) { + if ($formData->loan_type == LoanTypeRepo::loanTypeGuarantorId() && $formData->loan_amount && floatval($formData->loan_amount) > 20000) { + $field->show()->rules('required'); + } + }), + ]), + ]; } diff --git a/app/Repos/Order/Loan/LoanTypeRepo.php b/app/Repos/Order/Loan/LoanTypeRepo.php index c9500a1..3752670 100644 --- a/app/Repos/Order/Loan/LoanTypeRepo.php +++ b/app/Repos/Order/Loan/LoanTypeRepo.php @@ -16,4 +16,12 @@ class LoanTypeRepo { return LoanType::where('active', true)->pluck('name', 'id'); } + + /** + * Loan type guarantor id + */ + public static function loanTypeGuarantorId(): int + { + return 2; + } } diff --git a/composer.lock b/composer.lock index bdae305..a465bdf 100644 --- a/composer.lock +++ b/composer.lock @@ -312,24 +312,24 @@ }, { "name": "composer/semver", - "version": "3.4.2", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6" + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6", + "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.11", + "symfony/phpunit-bridge": "^3 || ^7" }, "type": "library", "extra": { @@ -373,7 +373,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.2" + "source": "https://github.com/composer/semver/tree/3.4.3" }, "funding": [ { @@ -389,20 +389,20 @@ "type": "tidelift" } ], - "time": "2024-07-12T11:35:52+00:00" + "time": "2024-09-19T14:15:21+00:00" }, { "name": "dedoc/scramble", - "version": "v0.11.13", + "version": "v0.11.15", "source": { "type": "git", "url": "https://github.com/dedoc/scramble.git", - "reference": "3bc745c93cc874f441f8c4026172c6de964950ed" + "reference": "24dd5810b4d514b67265e5e0ceaedab54c70870c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dedoc/scramble/zipball/3bc745c93cc874f441f8c4026172c6de964950ed", - "reference": "3bc745c93cc874f441f8c4026172c6de964950ed", + "url": "https://api.github.com/repos/dedoc/scramble/zipball/24dd5810b4d514b67265e5e0ceaedab54c70870c", + "reference": "24dd5810b4d514b67265e5e0ceaedab54c70870c", "shasum": "" }, "require": { @@ -456,7 +456,7 @@ ], "support": { "issues": "https://github.com/dedoc/scramble/issues", - "source": "https://github.com/dedoc/scramble/tree/v0.11.13" + "source": "https://github.com/dedoc/scramble/tree/v0.11.15" }, "funding": [ { @@ -464,7 +464,7 @@ "type": "github" } ], - "time": "2024-09-06T07:03:40+00:00" + "time": "2024-09-22T13:16:29+00:00" }, { "name": "denniseilander/pulse-about-application", @@ -2297,16 +2297,16 @@ }, { "name": "laravel/framework", - "version": "v10.48.20", + "version": "v10.48.22", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "be2be342d4c74db6a8d2bd18469cd6d488ab9c98" + "reference": "c4ea52bb044faef4a103d7dd81746c01b2ec860e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/be2be342d4c74db6a8d2bd18469cd6d488ab9c98", - "reference": "be2be342d4c74db6a8d2bd18469cd6d488ab9c98", + "url": "https://api.github.com/repos/laravel/framework/zipball/c4ea52bb044faef4a103d7dd81746c01b2ec860e", + "reference": "c4ea52bb044faef4a103d7dd81746c01b2ec860e", "shasum": "" }, "require": { @@ -2500,7 +2500,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-09T07:55:45+00:00" + "time": "2024-09-12T15:00:09+00:00" }, { "name": "laravel/nova", @@ -3410,16 +3410,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", "shasum": "" }, "require": { @@ -3450,7 +3450,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" }, "funding": [ { @@ -3462,20 +3462,20 @@ "type": "tidelift" } ], - "time": "2024-01-28T23:22:08+00:00" + "time": "2024-09-21T08:32:55+00:00" }, { "name": "livewire/livewire", - "version": "v3.5.6", + "version": "v3.5.8", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "597a2808d8d3001cc3ed5ce89a6ebab00f83b80f" + "reference": "ce1ce71b39a3492b98f7d2f2a4583f1b163fe6ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/597a2808d8d3001cc3ed5ce89a6ebab00f83b80f", - "reference": "597a2808d8d3001cc3ed5ce89a6ebab00f83b80f", + "url": "https://api.github.com/repos/livewire/livewire/zipball/ce1ce71b39a3492b98f7d2f2a4583f1b163fe6ae", + "reference": "ce1ce71b39a3492b98f7d2f2a4583f1b163fe6ae", "shasum": "" }, "require": { @@ -3530,7 +3530,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.5.6" + "source": "https://github.com/livewire/livewire/tree/v3.5.8" }, "funding": [ { @@ -3538,7 +3538,7 @@ "type": "github" } ], - "time": "2024-08-19T11:52:18+00:00" + "time": "2024-09-20T19:41:19+00:00" }, { "name": "maantje/pulse-php-fpm", @@ -4284,16 +4284,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { @@ -4336,9 +4336,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "nova-kit/nova-packages-tool", @@ -4773,16 +4773,16 @@ }, { "name": "outl1ne/nova-translatable", - "version": "2.3.0", + "version": "2.3.1", "source": { "type": "git", "url": "https://github.com/outl1ne/nova-translatable.git", - "reference": "3f40b389b6296d5bb053994f43de9e709c4af673" + "reference": "5398fa87c86cfcab7402891145e59ceeebd827dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/outl1ne/nova-translatable/zipball/3f40b389b6296d5bb053994f43de9e709c4af673", - "reference": "3f40b389b6296d5bb053994f43de9e709c4af673", + "url": "https://api.github.com/repos/outl1ne/nova-translatable/zipball/5398fa87c86cfcab7402891145e59ceeebd827dd", + "reference": "5398fa87c86cfcab7402891145e59ceeebd827dd", "shasum": "" }, "require": { @@ -4830,9 +4830,9 @@ ], "support": { "issues": "https://github.com/outl1ne/nova-translatable/issues", - "source": "https://github.com/outl1ne/nova-translatable/tree/2.3.0" + "source": "https://github.com/outl1ne/nova-translatable/tree/2.3.1" }, - "time": "2024-09-09T09:37:58+00:00" + "time": "2024-09-12T15:12:19+00:00" }, { "name": "outl1ne/nova-translations-loader", @@ -4959,16 +4959,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.30.1", + "version": "1.31.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "51b95ec8670af41009e2b2b56873bad96682413e" + "reference": "249f15fb843bf240cf058372dad29e100cee6c17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51b95ec8670af41009e2b2b56873bad96682413e", - "reference": "51b95ec8670af41009e2b2b56873bad96682413e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/249f15fb843bf240cf058372dad29e100cee6c17", + "reference": "249f15fb843bf240cf058372dad29e100cee6c17", "shasum": "" }, "require": { @@ -5000,9 +5000,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.31.0" }, - "time": "2024-09-07T20:13:05+00:00" + "time": "2024-09-22T11:32:18+00:00" }, { "name": "psr/cache", @@ -5366,16 +5366,16 @@ }, { "name": "psr/log", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "79dff0b268932c640297f5208d6298f71855c03e" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", - "reference": "79dff0b268932c640297f5208d6298f71855c03e", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -5410,9 +5410,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.1" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-08-21T13:31:24+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psr/simple-cache", @@ -5841,16 +5841,16 @@ }, { "name": "spatie/db-dumper", - "version": "3.6.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/spatie/db-dumper.git", - "reference": "faca5056830bccea04eadf07e8074669cb9e905e" + "reference": "22553ab8c34a9bb70645cb9bc2d9f236f3135705" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/db-dumper/zipball/faca5056830bccea04eadf07e8074669cb9e905e", - "reference": "faca5056830bccea04eadf07e8074669cb9e905e", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/22553ab8c34a9bb70645cb9bc2d9f236f3135705", + "reference": "22553ab8c34a9bb70645cb9bc2d9f236f3135705", "shasum": "" }, "require": { @@ -5888,7 +5888,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/db-dumper/tree/3.6.0" + "source": "https://github.com/spatie/db-dumper/tree/3.7.0" }, "funding": [ { @@ -5900,7 +5900,7 @@ "type": "github" } ], - "time": "2024-04-24T14:54:13+00:00" + "time": "2024-09-23T08:58:35+00:00" }, { "name": "spatie/image", @@ -7030,16 +7030,16 @@ }, { "name": "symfony/console", - "version": "v6.4.11", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998" + "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/42686880adaacdad1835ee8fc2a9ec5b7bd63998", - "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998", + "url": "https://api.github.com/repos/symfony/console/zipball/72d080eb9edf80e36c19be61f72c98ed8273b765", + "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765", "shasum": "" }, "require": { @@ -7104,7 +7104,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.11" + "source": "https://github.com/symfony/console/tree/v6.4.12" }, "funding": [ { @@ -7120,7 +7120,7 @@ "type": "tidelift" } ], - "time": "2024-08-15T22:48:29+00:00" + "time": "2024-09-20T08:15:52+00:00" }, { "name": "symfony/css-selector", @@ -7487,16 +7487,16 @@ }, { "name": "symfony/filesystem", - "version": "v7.1.2", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "92a91985250c251de9b947a14bb2c9390b1a562c" + "reference": "61fe0566189bf32e8cfee78335d8776f64a66f5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/92a91985250c251de9b947a14bb2c9390b1a562c", - "reference": "92a91985250c251de9b947a14bb2c9390b1a562c", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/61fe0566189bf32e8cfee78335d8776f64a66f5a", + "reference": "61fe0566189bf32e8cfee78335d8776f64a66f5a", "shasum": "" }, "require": { @@ -7533,7 +7533,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.1.2" + "source": "https://github.com/symfony/filesystem/tree/v7.1.5" }, "funding": [ { @@ -7549,7 +7549,7 @@ "type": "tidelift" } ], - "time": "2024-06-28T10:03:55+00:00" + "time": "2024-09-17T09:16:35+00:00" }, { "name": "symfony/finder", @@ -7617,16 +7617,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.4.10", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "117f1f20a7ade7bcea28b861fb79160a21a1e37b" + "reference": "133ac043875f59c26c55e79cf074562127cce4d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/117f1f20a7ade7bcea28b861fb79160a21a1e37b", - "reference": "117f1f20a7ade7bcea28b861fb79160a21a1e37b", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/133ac043875f59c26c55e79cf074562127cce4d2", + "reference": "133ac043875f59c26c55e79cf074562127cce4d2", "shasum": "" }, "require": { @@ -7674,7 +7674,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.10" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.12" }, "funding": [ { @@ -7690,20 +7690,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:36:27+00:00" + "time": "2024-09-20T08:18:25+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.11", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79" + "reference": "96df83d51b5f78804f70c093b97310794fd6257b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1ba6b89d781cb47448155cc70dd2e0f1b0584c79", - "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/96df83d51b5f78804f70c093b97310794fd6257b", + "reference": "96df83d51b5f78804f70c093b97310794fd6257b", "shasum": "" }, "require": { @@ -7788,7 +7788,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/v6.4.11" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.12" }, "funding": [ { @@ -7804,20 +7804,20 @@ "type": "tidelift" } ], - "time": "2024-08-30T16:57:20+00:00" + "time": "2024-09-21T06:02:57+00:00" }, { "name": "symfony/mailer", - "version": "v6.4.9", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45" + "reference": "b6a25408c569ae2366b3f663a4edad19420a9c26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45", - "reference": "e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45", + "url": "https://api.github.com/repos/symfony/mailer/zipball/b6a25408c569ae2366b3f663a4edad19420a9c26", + "reference": "b6a25408c569ae2366b3f663a4edad19420a9c26", "shasum": "" }, "require": { @@ -7868,7 +7868,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.4.9" + "source": "https://github.com/symfony/mailer/tree/v6.4.12" }, "funding": [ { @@ -7884,20 +7884,20 @@ "type": "tidelift" } ], - "time": "2024-06-28T07:59:05+00:00" + "time": "2024-09-08T12:30:05+00:00" }, { "name": "symfony/mime", - "version": "v6.4.11", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553" + "reference": "abe16ee7790b16aa525877419deb0f113953f0e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/dba5d5f6073baf7a3576b580cc4a208b4ca00553", - "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553", + "url": "https://api.github.com/repos/symfony/mime/zipball/abe16ee7790b16aa525877419deb0f113953f0e1", + "reference": "abe16ee7790b16aa525877419deb0f113953f0e1", "shasum": "" }, "require": { @@ -7953,7 +7953,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.11" + "source": "https://github.com/symfony/mime/tree/v6.4.12" }, "funding": [ { @@ -7969,7 +7969,7 @@ "type": "tidelift" } ], - "time": "2024-08-13T12:15:02+00:00" + "time": "2024-09-20T08:18:25+00:00" }, { "name": "symfony/polyfill-ctype", @@ -8693,16 +8693,16 @@ }, { "name": "symfony/process", - "version": "v6.4.8", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5" + "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/8d92dd79149f29e89ee0f480254db595f6a6a2c5", - "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5", + "url": "https://api.github.com/repos/symfony/process/zipball/3f94e5f13ff58df371a7ead461b6e8068900fbb3", + "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3", "shasum": "" }, "require": { @@ -8734,7 +8734,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.8" + "source": "https://github.com/symfony/process/tree/v6.4.12" }, "funding": [ { @@ -8750,20 +8750,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:49:08+00:00" + "time": "2024-09-17T12:47:12+00:00" }, { "name": "symfony/routing", - "version": "v6.4.11", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a" + "reference": "a7c8036bd159486228dc9be3e846a00a0dda9f9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", - "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", + "url": "https://api.github.com/repos/symfony/routing/zipball/a7c8036bd159486228dc9be3e846a00a0dda9f9f", + "reference": "a7c8036bd159486228dc9be3e846a00a0dda9f9f", "shasum": "" }, "require": { @@ -8817,7 +8817,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.11" + "source": "https://github.com/symfony/routing/tree/v6.4.12" }, "funding": [ { @@ -8833,7 +8833,7 @@ "type": "tidelift" } ], - "time": "2024-08-29T08:15:38+00:00" + "time": "2024-09-20T08:32:26+00:00" }, { "name": "symfony/service-contracts", @@ -8920,16 +8920,16 @@ }, { "name": "symfony/string", - "version": "v7.1.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b" + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/6cd670a6d968eaeb1c77c2e76091c45c56bc367b", - "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b", + "url": "https://api.github.com/repos/symfony/string/zipball/d66f9c343fa894ec2037cc928381df90a7ad4306", + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306", "shasum": "" }, "require": { @@ -8987,7 +8987,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.4" + "source": "https://github.com/symfony/string/tree/v7.1.5" }, "funding": [ { @@ -9003,20 +9003,20 @@ "type": "tidelift" } ], - "time": "2024-08-12T09:59:40+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/translation", - "version": "v6.4.10", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9" + "reference": "cf8360b8352b086be620fae8342c4d96e391a489" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9", - "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9", + "url": "https://api.github.com/repos/symfony/translation/zipball/cf8360b8352b086be620fae8342c4d96e391a489", + "reference": "cf8360b8352b086be620fae8342c4d96e391a489", "shasum": "" }, "require": { @@ -9082,7 +9082,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.10" + "source": "https://github.com/symfony/translation/tree/v6.4.12" }, "funding": [ { @@ -9098,7 +9098,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-09-16T06:02:54+00:00" }, { "name": "symfony/translation-contracts", @@ -9180,16 +9180,16 @@ }, { "name": "symfony/uid", - "version": "v6.4.11", + "version": "v6.4.12", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "6a0394ad707de386547223948fac1e0f2805bc0b" + "reference": "2f16054e0a9b194b8ca581d4a64eee3f7d4a9d4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/6a0394ad707de386547223948fac1e0f2805bc0b", - "reference": "6a0394ad707de386547223948fac1e0f2805bc0b", + "url": "https://api.github.com/repos/symfony/uid/zipball/2f16054e0a9b194b8ca581d4a64eee3f7d4a9d4d", + "reference": "2f16054e0a9b194b8ca581d4a64eee3f7d4a9d4d", "shasum": "" }, "require": { @@ -9234,7 +9234,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.4.11" + "source": "https://github.com/symfony/uid/tree/v6.4.12" }, "funding": [ { @@ -9250,7 +9250,7 @@ "type": "tidelift" } ], - "time": "2024-08-12T09:55:28+00:00" + "time": "2024-09-20T08:32:26+00:00" }, { "name": "symfony/var-dumper", @@ -9434,6 +9434,7 @@ "issues": "https://github.com/trin4ik/nova-switcher/issues", "source": "https://github.com/trin4ik/nova-switcher/tree/v0.4" }, + "abandoned": true, "time": "2023-11-01T05:33:29+00:00" }, { @@ -11080,16 +11081,16 @@ }, { "name": "laravel/sail", - "version": "v1.31.3", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "0a7e2891a85eba2d448a9ffc6fc5ce367e924bc1" + "reference": "4a7e41d280861ca7e35710cea011a07669b4003b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/0a7e2891a85eba2d448a9ffc6fc5ce367e924bc1", - "reference": "0a7e2891a85eba2d448a9ffc6fc5ce367e924bc1", + "url": "https://api.github.com/repos/laravel/sail/zipball/4a7e41d280861ca7e35710cea011a07669b4003b", + "reference": "4a7e41d280861ca7e35710cea011a07669b4003b", "shasum": "" }, "require": { @@ -11139,7 +11140,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2024-09-03T20:05:33+00:00" + "time": "2024-09-11T20:14:29+00:00" }, { "name": "mockery/mockery", @@ -11527,16 +11528,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.3", + "version": "1.12.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009" + "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009", - "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ffa517cb918591b93acc9b95c0bebdcd0e4538bd", + "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd", "shasum": "" }, "require": { @@ -11581,7 +11582,7 @@ "type": "github" } ], - "time": "2024-09-09T08:10:35+00:00" + "time": "2024-09-19T07:58:01+00:00" }, { "name": "phpunit/php-code-coverage", @@ -11906,16 +11907,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.33", + "version": "10.5.35", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4def7a9cda75af9c2bc179ed53a8e41313e7f7cf" + "reference": "7ac8b4e63f456046dcb4c9787da9382831a1874b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4def7a9cda75af9c2bc179ed53a8e41313e7f7cf", - "reference": "4def7a9cda75af9c2bc179ed53a8e41313e7f7cf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7ac8b4e63f456046dcb4c9787da9382831a1874b", + "reference": "7ac8b4e63f456046dcb4c9787da9382831a1874b", "shasum": "" }, "require": { @@ -11987,7 +11988,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.33" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.35" }, "funding": [ { @@ -12003,7 +12004,7 @@ "type": "tidelift" } ], - "time": "2024-09-09T06:06:56+00:00" + "time": "2024-09-19T10:52:21+00:00" }, { "name": "sebastian/cli-parser", @@ -13379,16 +13380,16 @@ }, { "name": "symfony/yaml", - "version": "v7.1.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b" + "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/92e080b851c1c655c786a2da77f188f2dccd0f4b", - "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4e561c316e135e053bd758bf3b3eb291d9919de4", + "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4", "shasum": "" }, "require": { @@ -13430,7 +13431,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.1.4" + "source": "https://github.com/symfony/yaml/tree/v7.1.5" }, "funding": [ { @@ -13446,7 +13447,7 @@ "type": "tidelift" } ], - "time": "2024-08-12T09:59:40+00:00" + "time": "2024-09-17T12:49:58+00:00" }, { "name": "theseer/tokenizer", diff --git a/database/migrations/2024_09_23_150006_add_loan_card_details_to_loan_orders_table.php b/database/migrations/2024_09_23_150006_add_loan_card_details_to_loan_orders_table.php new file mode 100644 index 0000000..c5f1436 --- /dev/null +++ b/database/migrations/2024_09_23_150006_add_loan_card_details_to_loan_orders_table.php @@ -0,0 +1,68 @@ +string('loan_amount')->nullable(); + $table->string('card_number')->nullable(); + $table->string('card_name')->nullable(); + $table->string('card_month')->nullable(); + $table->string('card_year')->nullable(); + + $table->string('guarantor_name')->nullable(); + $table->string('guarantor_surname')->nullable(); + $table->string('guarantor_patronic_name')->nullable(); + $table->string('guarantor_card_number')->nullable(); + $table->string('guarantor_card_name')->nullable(); + $table->string('guarantor_card_month')->nullable(); + $table->string('guarantor_card_year')->nullable(); + + $table->string('guarantor_2_name')->nullable(); + $table->string('guarantor_2_surname')->nullable(); + $table->string('guarantor_2_patronic_name')->nullable(); + $table->string('guarantor_2_card_number')->nullable(); + $table->string('guarantor_2_card_name')->nullable(); + $table->string('guarantor_2_card_month')->nullable(); + $table->string('guarantor_2_card_year')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('loan_orders', function (Blueprint $table) { + $table->dropColumn('loan_amount'); + $table->dropColumn('card_number'); + $table->dropColumn('card_name'); + $table->dropColumn('card_month'); + $table->dropColumn('card_year'); + + $table->dropColumn('guarantor_name'); + $table->dropColumn('guarantor_surname'); + $table->dropColumn('guarantor_patronic_name'); + $table->dropColumn('guarantor_card_number'); + $table->dropColumn('guarantor_card_name'); + $table->dropColumn('guarantor_card_month'); + $table->dropColumn('guarantor_card_year'); + + $table->dropColumn('guarantor_2_name'); + $table->dropColumn('guarantor_2_surname'); + $table->dropColumn('guarantor_2_patronic_name'); + $table->dropColumn('guarantor_2_card_number'); + $table->dropColumn('guarantor_2_card_name'); + $table->dropColumn('guarantor_2_card_month'); + $table->dropColumn('guarantor_2_card_year'); + }); + } +}; diff --git a/lang/tk.json b/lang/tk.json index d962de7..d9d4126 100644 --- a/lang/tk.json +++ b/lang/tk.json @@ -302,5 +302,9 @@ "Next": "Indiki", "Previus": "Yza", "Loading": "Ýüklenilýär", - "or": "ýada" + "or": "ýada", + "Amount of loan": "Karz mukdary", + "Name on card": "Kartdaky ady", + "Expiration month": "Möhleti (aý)", + "Expiration year": "Möhleti (ýyl)" } diff --git a/migrate.md b/migrate.md index c2a7d81..d91a633 100644 --- a/migrate.md +++ b/migrate.md @@ -4,4 +4,3 @@ **processing** **completed** **cancelled** -