@@ -52,8 +52,11 @@ |
||
52 | 52 | </option> |
53 | 53 | <?php endforeach; ?> |
54 | 54 | </select> |
55 | - <?php else : ?> |
|
56 | - <input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
55 | + <?php else { |
|
56 | + : ?> |
|
57 | + <input class="form-control" type="<?= $enc->attr( $type ); |
|
58 | +} |
|
59 | +?>" tabindex="<?= $this->get( 'tabindex' ); ?>" |
|
57 | 60 | name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>" |
58 | 61 | value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx, '' ) ); ?>" /> |
59 | 62 | <?php endif; ?> |
@@ -70,9 +70,12 @@ |
||
70 | 70 | v-bind:readonly="checkSite(idx)" |
71 | 71 | v-bind:value="item['stock.type']" > |
72 | 72 | </select> |
73 | - <?php else : ?> |
|
73 | + <?php else { |
|
74 | + : ?> |
|
74 | 75 | <input class="item-type" type="hidden" |
75 | - v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) ); ?>'.replace( 'idx', idx )" |
|
76 | + v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) ); |
|
77 | +} |
|
78 | +?>'.replace( 'idx', idx )" |
|
76 | 79 | value="<?= $enc->attr( key( $stockTypes ) ); ?>" /> |
77 | 80 | <?php endif; ?> |
78 | 81 | </td> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | </th> |
31 | 31 | <th class="actions"> |
32 | 32 | <div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()" |
33 | - title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"> |
|
33 | + title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"> |
|
34 | 34 | </div> |
35 | 35 | </th> |
36 | 36 | </tr> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </td> |
70 | 70 | <td class="actions"> |
71 | 71 | <div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" |
72 | - title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>" v-on:click.stop="remove(propidx)"> |
|
72 | + title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>" v-on:click.stop="remove(propidx)"> |
|
73 | 73 | </div> |
74 | 74 | </td> |
75 | 75 | </tr> |