1
0

GoodsIn.php 334 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App;
  3. use App\Enums\DocumentTypes;
  4. class GoodsIn extends Document {
  5. // Static methods
  6. /**
  7. * @param array $nvp
  8. * @return int
  9. * @throws \Exception
  10. */
  11. public static function count(array $nvp = []): int {
  12. return Document::count([
  13. "type" => DocumentTypes::GOODS_IN,
  14. "dts_deleted" => null
  15. ]);
  16. }
  17. }