Browse Source

Backend : correctif méthod Document::isValidClass()

feature/souke
Guillaume 1 year ago
parent
commit
17e943d253
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Document.php

+ 1
- 1
common/models/Document.php View File

return ''; return '';
} }


public function isValidClass($typeDocument)
public static function isValidClass($typeDocument)
{ {
return in_array($typeDocument, ['Invoice', 'DeliveryNote', 'Quotation']); return in_array($typeDocument, ['Invoice', 'DeliveryNote', 'Quotation']);
} }

Loading…
Cancel
Save