mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-01-11 09:08:42 +00:00
bug fixes
This commit is contained in:
parent
d1f7a0343c
commit
c5b4b69f5d
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
|||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
|
||||
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
|
||||
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||
|
|
|
|||
|
|
@ -91,10 +91,10 @@ final class BackendController extends Controller
|
|||
->with('l11n')
|
||||
->with('l11n/type')
|
||||
->with('files')
|
||||
->with('files/types')
|
||||
->with('files/tags')
|
||||
->where('l11n/language', $response->header->l11n->language)
|
||||
->where('l11n/type/title', ['name1', 'name2'], 'IN')
|
||||
->where('files/types/name', 'item_profile_image')
|
||||
->where('files/tags/name', 'profile_image')
|
||||
->limit(50)
|
||||
->executeGetArray();
|
||||
|
||||
|
|
|
|||
|
|
@ -564,7 +564,7 @@ class GS1Datamatrix
|
|||
}
|
||||
|
||||
foreach ($this->data as $ai => $value) {
|
||||
if (\preg_match(self::DEFINITIONS[$ai]['pattern'], $ai . $value) === false) {
|
||||
if (\preg_match(self::DEFINITIONS[$ai]['pattern'], $ai . $value) !== 1) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<tbody>
|
||||
<?php $count = 0; foreach ($items as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/base}/warehouse/labeling/item?id=' . $value->id);
|
||||
$image = $value->getFileByTypeName('item_profile_image');
|
||||
$image = $value->getFileByTagName('profile_image');
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image"
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@ $inlineImage = 'data:' . $imageType . ';base64,' . $imageBase64;
|
|||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="portlet">
|
||||
<section class="portlet">
|
||||
<img style="width: 100%" src="<?php echo $inlineImage; ?>" alt="Inline Image">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user