Skip to content

Commit

Permalink
Merge pull request #30 from amittbhardwj/dirty
Browse files Browse the repository at this point in the history
Created models for Suspense Report
  • Loading branch information
piyushparkash committed Jul 9, 2014
2 parents 5130c6a + a486dd0 commit da7bf29
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
Empty file.
3 changes: 3 additions & 0 deletions src/librehatti/suspense/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
Empty file.
15 changes: 15 additions & 0 deletions src/librehatti/suspense/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from django.db import models

# Create your models here.
class SuspenseClearance(models.Model):

#suspense_id = models.ForeignKey('SuspenseOrder')
work_charge =models.IntegerField(blank=True, null=True)
labour_charge = models.IntegerField(blank=True, null=True)
car_taxi_charge = models.IntegerField(blank=True, null=True)
boring_charge_external = models.IntegerField(blank=True, null=True)
boring_charge_internal = models.IntegerField(blank=True, null=True)
lab_testing_staff = models.CharField(max_length=200)
field_testing_staff = models.CharField(max_length=200)
Test_date = models.DateTimeField(auto_now_add=True)
Clear_date = models.DateTimeField(auto_now_add=True)
3 changes: 3 additions & 0 deletions src/librehatti/suspense/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions src/librehatti/suspense/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit da7bf29

Please sign in to comment.