softDelete features
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../../../assets/utils/db_auth.php';
|
||||
require '../../../assets/utils/classes/CompanySettingManager.php';
|
||||
require_once '../../../assets/utils/classes/CompanySettingManager.php';
|
||||
require_role($user_role, ['owner', 'admin']);
|
||||
|
||||
$csm = new CompanySettingManager($pdo1, $company_id);
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<option value="receipt">Receipt</option>
|
||||
<option value="payment">Payment</option>
|
||||
<option value="manual">Manual</option>
|
||||
<option value="reversal">Reversal</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
@@ -186,7 +187,8 @@
|
||||
supplier_credit_note: 'Supplier Credit Note',
|
||||
receipt: 'Receipt',
|
||||
payment: 'Payment',
|
||||
manual: 'Manual'
|
||||
manual: 'Manual',
|
||||
reversal: 'Reversal'
|
||||
};
|
||||
|
||||
var SOURCE_BADGE = {
|
||||
@@ -196,7 +198,8 @@
|
||||
supplier_credit_note: 'bg-secondary-subtle text-secondary',
|
||||
receipt: 'bg-info-subtle text-info',
|
||||
payment: 'bg-danger-subtle text-danger',
|
||||
manual: 'bg-dark-subtle text-dark'
|
||||
manual: 'bg-dark-subtle text-dark',
|
||||
reversal: 'bg-danger-subtle text-danger'
|
||||
};
|
||||
|
||||
function source_badge(type) {
|
||||
|
||||
Reference in New Issue
Block a user