Renamed "transaction" to "voucher", "cash expense transaction" to "cash disbursement voucher", and "cash income transaction" to "cash receipt voucher".

This commit is contained in:
2023-03-19 13:44:51 +08:00
parent 1e286fbeba
commit 5db13393cc
75 changed files with 1812 additions and 1792 deletions

View File

@ -14,17 +14,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""The transaction types.
"""The voucher types.
"""
from enum import Enum
class TransactionType(Enum):
"""The transaction types."""
CASH_INCOME: str = "income"
"""The cash income transaction."""
CASH_EXPENSE: str = "expense"
"""The cash expense transaction."""
class VoucherType(Enum):
"""The voucher types."""
CASH_RECEIPT: str = "receipt"
"""The cash receipt voucher."""
CASH_DISBURSEMENT: str = "disbursement"
"""The cash disbursement voucher."""
TRANSFER: str = "transfer"
"""The transfer transaction."""
"""The transfer voucher."""