Update: 2026-05-25 21:44:11
This commit is contained in:
@@ -2728,10 +2728,9 @@
|
||||
class="form-input" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">رقم الهاتف <span
|
||||
class="form-label-sub">(اختياري)</span></label>
|
||||
<label class="form-label">رقم الهاتف</label>
|
||||
<input type="text" x-model="newTenant.phone" placeholder="+962 7x xxx xxxx"
|
||||
class="form-input">
|
||||
class="form-input" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2747,13 +2746,8 @@
|
||||
<input type="text" x-model="newTenant.manager_name" placeholder="الاسم الكامل"
|
||||
class="form-input" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">بريد المدير الإلكتروني</label>
|
||||
<input type="email" x-model="newTenant.manager_email" placeholder="manager@office.com"
|
||||
class="form-input" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">كلمة مرور الدخول</label>
|
||||
<div class="form-group" style="grid-column:1/-1;">
|
||||
<label class="form-label">كلمة مرور الدخول للمدير</label>
|
||||
<input type="password" x-model="newTenant.manager_password" placeholder="••••••••"
|
||||
class="form-input" required>
|
||||
</div>
|
||||
@@ -2950,7 +2944,7 @@
|
||||
|
||||
newUser: { name: '', email: '', password: '', role: 'accountant', tenant_id: '' },
|
||||
newCompany: { name: '', tax_identification_number: '', commercial_registration_number: '', address: '', tenant_id: '' },
|
||||
newTenant: { name: '', email: '', phone: '', manager_name: '', manager_email: '', manager_password: '' },
|
||||
newTenant: { name: '', email: '', phone: '', manager_name: '', manager_password: '' },
|
||||
connectData: { client_id: '', secret_key: '', income_source_sequence: '1' },
|
||||
uploadData: { company_id: '' },
|
||||
currentCompany: null, currentInvoice: null, companyStats: null,
|
||||
@@ -3121,7 +3115,7 @@
|
||||
const res = await this.apiRequest('v1/tenants/create', 'POST', this.newTenant);
|
||||
if (res) {
|
||||
this.showAddTenantModal = false;
|
||||
this.newTenant = { name: '', email: '', phone: '', manager_name: '', manager_email: '', manager_password: '' };
|
||||
this.newTenant = { name: '', email: '', phone: '', manager_name: '', manager_password: '' };
|
||||
this.loadAll();
|
||||
alert('تم إضافة المكتب المحاسبي والمدير المسؤول بنجاح');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user