瀏覽代碼

Création de la classe Document parente de Invoice, Quotation et DeliveryNote

#161
dev
Guillaume Bourgeois 5 年之前
父節點
當前提交
b31c536a4d
共有 4 個檔案被更改,包括 15 行新增3 行删除
  1. +1
    -1
      common/models/DeliveryNote.php
  2. +12
    -0
      common/models/Document.php
  3. +1
    -1
      common/models/Invoice.php
  4. +1
    -1
      common/models/Quotation.php

+ 1
- 1
common/models/DeliveryNote.php 查看文件

@@ -19,7 +19,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class DeliveryNote extends ActiveRecordCommon
class DeliveryNote extends Document
{
/**
* @inheritdoc

+ 12
- 0
common/models/Document.php 查看文件

@@ -0,0 +1,12 @@
<?php

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

class Document extends ActiveRecordCommon
{
}

+ 1
- 1
common/models/Invoice.php 查看文件

@@ -18,7 +18,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class Invoice extends ActiveRecordCommon
class Invoice extends Document
{
/**
* @inheritdoc

+ 1
- 1
common/models/Quotation.php 查看文件

@@ -17,7 +17,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class Quotation extends ActiveRecordCommon
class Quotation extends Document
{
/**
* @inheritdoc

Loading…
取消
儲存