-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a679e54
commit c372ec6
Showing
10 changed files
with
139 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,8 @@ public function init() | |
), | ||
) | ||
); | ||
|
||
$this->addSubmit('articleReview', 'articleSubmit hide'); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
{% extends 'logistics/base.twig' %} | ||
|
||
{% block content %} | ||
{# {% include 'logistics/inventory/partials/navigation.twig' %}#} | ||
|
||
{% include 'admin/partials/flashMessenger.twig' %} | ||
|
||
{# Page header + button to add page #} | ||
|
@@ -19,11 +17,11 @@ | |
{% endif %} | ||
</div> | ||
|
||
{# {% if authenticatedPerson is null %}#} | ||
{# <div>{{ translate('Please login to view Flesserke.') }}</div>#} | ||
{# {% elseif not hasAccess('logistics_inventory', 'index') %}#} | ||
{# <div>{{ translate('You have no access to Flesserke.') }}<br>{{ translate('To ask for access send a mail to [email protected]') }}</div>#} | ||
{# {% else %}#} | ||
{% if authenticatedPerson is null %} | ||
<div>{{ translate('Please login to view Flesserke.') }}</div> | ||
{% elseif not hasAccess('logistics_inventory', 'index') %} | ||
<div>{{ translate('You have no access to Flesserke.') }}<br>{{ translate('To ask for access send a mail to [email protected]') }}</div> | ||
{% else %} | ||
<div id="controller_action"> | ||
|
||
{# <div id="article_search" style="display:none;">#} | ||
|
@@ -67,9 +65,14 @@ | |
{% endif %} | ||
</tr> | ||
</thead> | ||
{% set today = "now"|date('d/m/Y') %} | ||
{% for article in paginator %} | ||
{# {% if article.getExpiryDate() <= date('d/m/y') %}#} | ||
<tr class="item item-{{ article.getId() }}"> | ||
{# {% if article.getExpiryDate() %}{% set exp = "19/02/2025"|date('Y-m-d') %}{% endif %}#} | ||
<tr class="item item-{{ article.getId() }}" | ||
{# style="{% if article.getExpiryDate() %}#} | ||
{# {% if exp <= today %}background-color: #fae7e6{% endif %}#} | ||
{# {% endif %}"#} | ||
> | ||
<td>{{ article.getName() }}</td> | ||
<td>{{ article.getCategory() }}</td> | ||
<td>{{ article.getBrand() }}</td> | ||
|
@@ -101,35 +104,32 @@ | |
{% include 'admin/partials/paginationControl.twig' %} | ||
</div> | ||
|
||
<div class="modal fade" id="removeArticle" tabindex="-1"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<span>Litus Admin</span> | ||
/Delete Article | ||
</div> | ||
<div class="modal-body"> | ||
<p> | ||
You are about to delete the following article: <b class="articleName"></b>! | ||
Please note that this operation cannot be undone! | ||
</p> | ||
<p> | ||
Are you sure you want to continue? | ||
</p> | ||
<div class="footer"> | ||
<button class="delete">Yes</button> | ||
<button class="cancel" data-dismiss="modal">No</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{# {% endif %}#} | ||
{# <div class="modal fade" id="removeArticle" tabindex="-1">#} | ||
{# <div class="modal-dialog">#} | ||
{# <div class="modal-content">#} | ||
{# <div class="modal-header">#} | ||
{# <span>Litus Admin</span>#} | ||
{# /Delete Article#} | ||
{# </div>#} | ||
{# <div class="modal-body">#} | ||
{# <p>#} | ||
{# You are about to delete the following article: <b class="articleName"></b>!#} | ||
{# Please note that this operation cannot be undone!#} | ||
{# </p>#} | ||
{# <p>#} | ||
{# Are you sure you want to continue?#} | ||
{# </p>#} | ||
{# <div class="footer">#} | ||
{# <button class="delete">Yes</button>#} | ||
{# <button class="cancel" data-dismiss="modal">No</button>#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# </div>#} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block content_script %} | ||
<script type="text/javascript"> | ||
$('#sortTable').DataTable(); | ||
</script> | ||
{% endblock %} | ||
|
14 changes: 0 additions & 14 deletions
14
module/LogisticsBundle/Resources/views/logistics/inventory/partials/navigation.twig
This file was deleted.
Oops, something went wrong.