Browse Source

[Backend] Documents : ajout de produits (ordre) #232

refactoring
Guillaume 2 years ago
parent
commit
538dd8558f
2 changed files with 471 additions and 465 deletions
  1. +470
    -464
      backend/controllers/DocumentController.php
  2. +1
    -1
      backend/views/point-sale/index.php

+ 470
- 464
backend/controllers/DocumentController.php
File diff suppressed because it is too large
View File


+ 1
- 1
backend/views/point-sale/index.php View File

@@ -128,7 +128,7 @@ $this->addButton(
'label' => 'Crédit',
'format' => 'raw',
'value' => function ($model) {
if ($model->credit) {
if ($model->credit && isset(Producer::$creditFunctioningArray[$model->credit_functioning])) {
return '<span class="glyphicon glyphicon-euro"></span> ' . Producer::$creditFunctioningArray[$model->credit_functioning];
}


Loading…
Cancel
Save