{{-- Header --}}
Back to Packages

Create New Package

@csrf
{{-- Section 1: Basic Info --}}

Basic Information

@error('name')

{{ $message }}

@enderror
{{-- 在这里用 x-data 初始化当前计费模式,默认为百分比 percentage --}}

Billing Configuration

{{-- 1. 周期选择 --}}
{{-- 2. 模式切换:通过 x-model 双向绑定 commType 状态 --}}
{{-- 3. 动态输入框 --}}
{{-- 百分比输入:使用 x-show 控制显示,并且当不显示时自动 :disabled 掉 --}}
%

Enter a value between 1 and 100.

{{-- 固定价格输入 --}}
{{-- 修正了 w-100 错误 --}}

Example: Fixed RM 100 per billing cycle.

{{-- Section 3: Lease Expansion (基础 + 增购逻辑) --}}

Lease Expansion Logic

{{-- 1. 原本支持多少 Lease --}}
Leases

Included in the package price by default.

{{-- 2. Add-on Price (加一个多少钱) --}}

Charge for each additional lease added.

{{-- 3. Lease Limit (最多加购多少) --}}
Leases

Maximum extra leases allow to purchase.

{{-- 逻辑预览提示 (小贴士) --}}

Business Logic: This package starts with 10 leases. Owner can purchase up to 50 more, making the total capacity 60 leases.

{{-- Final Actions --}}
Cancel Create Package