|
|
@@ -102,7 +102,7 @@ $(document).ready(() => {
|
|
|
if (ptype === 'contract') {
|
|
|
const pvalue = $(this).attr('pvalue');
|
|
|
if (this.checked) {
|
|
|
- if ((pvalue === '1' || pvalue === '2') && !$(this).parents('.permission-parent').find('[ptype=contract][pvalue="3"]').prop('checked') && !$(this).parents('.permission-parent').find('[ptype=contract][pvalue="4"]').prop('checked')) {
|
|
|
+ if ((pvalue === '1' || pvalue === '2' || pvalue === '7' || pvalue === '8') && !$(this).parents('.permission-parent').find('[ptype=contract][pvalue="3"]').prop('checked') && !$(this).parents('.permission-parent').find('[ptype=contract][pvalue="4"]').prop('checked')) {
|
|
|
$(this).parents('.permission-parent').find('[ptype=contract][pvalue="5"]').prop('checked', true);
|
|
|
}
|
|
|
if (pvalue === '3' || pvalue === '4') {
|