You are on page 1of 12

def C1215AA(common,plantmachine,material,psmaterial,labour,machine,items,useditems):

elements = []

elements.append(Paragraph('<b>Serial No : </b> 12.15A(i)<b> ******* MoRTH Spec :1200 </b> ',pborder))


elements.append(Spacer(1,6))
elements.append(Paragraph('<b>Sinking of 9 m external diameter well ( other than pneumatic method of sinking )
through all types of strata namely sandy soil, clayey soil and rock as shown against each case, complete as per
drawing and technical specifications. Depth of sinking is reckoned from bed level.</b>',leftpara))
elements.append(Spacer(1,6))

l1=labour['L-12'][2]
l2=labour['L-15'][2]
l3=labour['L-14'][2]

costl1=0.19*l1
costl2=1.50*l2
costl3=3.25*l3

costl=costl1+costl2+costl3

m1=machine['OM-075'][2]

costm1=6.00*m1

costm=costm1

h=(costm)*0.10

abc=costl+costm+h

over=common['COM-3'][2]
costover=over*abc/100
abcd=abc+costover

cp=common['COM-5'][2]
costcp=abcd*cp/100
abcde=abcd+costcp
frate=abcde/1

data= [[Paragraph('<b>Description</b>',centerpara), Paragraph('<b>Unit</b>',centerpara),


Paragraph('<b>Quantity</b>',centerpara), Paragraph('<b>Rate Rs</b>',centerpara), Paragraph('<b>Cost
Rs</b>',centerpara)],
[Paragraph('<b>Unit = Running Meter.</b>',leftpara), '', '', '', ''],
['Taking output = 1 m, '', '', '', ''],
['Diameter of well - 9 m.', '', '', '', ''],
['A. Sandy Soil', '', '', '', ''],
['(i) Depth below bed level upto 3.0 M.', '', '', '', ''],
['Rate of sinking @ 0.25 m/hour', '', '', '', ''],

[Paragraph('<b>a)Labour</b>',leftpara), '', '', '', ''],


[Paragraph('Mate',leftparaindent), 'day', '0.19', '{:0.2f}'.format(l1), '{:0.2f}'.format(costl1)],
[Paragraph('Sinker ( skilled )',leftparaindent), 'day', '1.50', '{:0.2f}'.format(l2),
'{:0.2f}'.format(costl2)],
[Paragraph('Sinking helper ( semi-skilled ) ',leftparaindent), 'day', '3.25', '{:0.2f}'.format(l3),
'{:0.2f}'.format(costl3)],

[Paragraph('<b>b)Machinery</b>',leftpara), '', '', '', ''],


[Paragraph('Hire & running charges of crane with grab bucket of 0.75 cum capacity and
accessories.',leftparaindent), 'hour', '4.00', '{:0.2f}'.format(m1), '{:0.2f}'.format(costm1)],
[Paragraph('Consumables in sinking @10 per cent of (b) ',leftpara), '', '', '', '{:0.2f}'.format(h)],

[Paragraph('<b>d) Overhead charges @ {:0.2f} percent on (a+b+c)</b>'.format(over),leftpara), '', '', '',


'{:0.2f}'.format(costover)],
[Paragraph('<b>e) Contractor Profit @ {:0.2f} percent on (a+b+c+d)</b>'.format(cp),leftpara), '', '', '',
'{:0.2f}'.format(costcp)],
[Paragraph('Rate per metre = (a+b+c+d)',leftparaindent), '', '', '', '{:0.2f}'.format(abcd)],
['', '', '', Paragraph('<b>say</b>',leftpara),

Paragraph('<b>{:0.2f}</b>'.format(round(frate,0)),rightpara)]
]

t=Table(data,[w*cm for w in [8.5,2,2,2,2.5]],repeatRows=1)


t.setStyle(tstyle)
elements.append(t)
elements.append(Spacer(1,12))
items['12.15A(i)'].rate=round(frate,0)
elements.append(Spacer(1,12))

return elements
def C1215AB (common,plantmachine,material,psmaterial,labour,machine,items,useditems):
elements = []

elements.append(Paragraph('<b>Serial No : </b> '12.15A(ii)<b> ******* MoRTH Spec :1200 </b> ',pborder))


elements.append(Spacer(1,6))
elements.append(Paragraph('<b>Sinking of 9 m external diameter well ( other than pneumatic method of sinking )
through all types of strata namely sandy soil, clayey soil and rock as shown against each case, complete as per
drawing and technical specifications. Depth of sinking is reckoned from bed level.</b>',leftpara))
elements.append(Spacer(1,6))

======================================================================================================Calculation
l1=labour['L-12'][2]
l2=labour['L-15'][2]
l3=labour['L-14'][2]

costl1=0.27*l1
costl2=1.75*l2
costl3=4.0*l3

costl=costl1+costl2+costl3

m1=machine['OM-075'][2]

costm1=5.50*m1

costm=costm1

h=(costm)*0.10

abc=costl+costm+h

over=common['COM-3'][2]
costover=over*abc/100
abcd=abc+costover

cp=common['COM-5'][2]
costcp=abcd*cp/100
abcde=abcd+costcp
frate=abcde/1
============================================================================================pdf out put
data= [[Paragraph('<b>Description</b>',centerpara), Paragraph('<b>Unit</b>',centerpara),
Paragraph('<b>Quantity</b>',centerpara), Paragraph('<b>Rate Rs</b>',centerpara), Paragraph('<b>Cost
Rs</b>',centerpara)],
[Paragraph('<b>Unit = Running Meter.</b>',leftpara), '', '', '', ''],
['Taking output = 1 m, '', '', '', ''],
['Diameter of well - 9 m.', '', '', '', ''],
['A. Sandy Soil', '', '', '', ''],
[' (ii)Beyond 3m upto 10m depth', '', '', '', ''],
['Rate of sinking @ 0.18 m/hour', '', '', '', ''],

[Paragraph('<b>a)Labour</b>',leftpara), '', '', '', ''],


[Paragraph('Mate',leftparaindent), 'day', '0.27', '{:0.2f}'.format(l1), '{:0.2f}'.format(costl1)],
[Paragraph('Sinker ( skilled )',leftparaindent), 'day', '1.75', '{:0.2f}'.format(l2),
'{:0.2f}'.format(costl2)],
[Paragraph('Sinking helper ( semi-skilled ) ',leftparaindent), 'day', '4.0', '{:0.2f}'.format(l3),
'{:0.2f}'.format(costl3)],

[Paragraph('<b>b)Machinery</b>',leftpara), '', '', '', ''],


[Paragraph(Hire & running charges of crane with grab bucket of 0.75 cum capacity and
accessories.',leftparaindent), 'hour', '5.50', '{:0.2f}'.format(m1), '{:0.2f}'.format(costm1)],
[Paragraph('Consumables in sinking @10 per cent of (b) ',leftpara), '', '', '', '{:0.2f}'.format(h)],

[Paragraph('<b>c) Overhead charges @ {:0.2f} percent on (a+b+c)</b>'.format(over),leftpara), '', '', '',


'{:0.2f}'.format(costover)],
[Paragraph('<b>d) Contractor Profit @ {:0.2f} percent on (a+b+c+d)</b>'.format(cp),leftpara), '', '', '',
'{:0.2f}'.format(costcp)],
[Paragraph('Rate per metre = (a+b+c+d)',leftparaindent), '', '', '', '{:0.2f}'.format(abcd)],
['', '', '', Paragraph('<b>say</b>',leftpara),

Paragraph('<b>{:0.2f}</b>'.format(round(frate,0)),rightpara)]
]

t=Table(data,[w*cm for w in [8.5,2,2,2,2.5]],repeatRows=1)


t.setStyle(tstyle)
elements.append(t)
elements.append(Spacer(1,12))
items['12.15A(ii)'].rate=round(frate,0)
elements.append(Spacer(1,12))

return elements
def C1215ACA (common,plantmachine,material,psmaterial,labour,machine,items,useditems):
elements = []

elements.append(Paragraph('<b>Serial No : </b> '12.15A(iii)<b> ******* MoRTH Spec :1200 </b> ',pborder))


elements.append(Spacer(1,6))
elements.append(Paragraph('<b>Sinking of 9 m external diameter well ( other than pneumatic method of sinking )
through all types of strata namely sandy soil, clayey soil and rock as shown against each case, complete as per
drawing and technical specifications. Depth of sinking is reckoned from bed level.</b>',leftpara))
elements.append(Spacer(1,6))

======================================================================================================Calculation
l1=labour['L-12'][2]
l2=labour['L-15'][2]
l3=labour['L-14'][2]

costl1=0.27*l1
costl2=1.75*l2
costl3=4.0*l3

costl=costl1+costl2+costl3

m1=machine['OM-075'][2]

costm1=5.50*m1

costm=costm1

h=(costm)*0.10

abc=costl+costm+h

over=common['COM-3'][2]
costover=over*abc/100
abcd=abc+costover

cp=common['COM-5'][2]
costcp=abcd*cp/100
abcde=abcd+costcp
frate=abcde/1
11m=(frate*0.05)+frate
12m=11m+(11m*0.05)
13m=12m+(12m*0.05)
14m=13m+(13m*0.05)
15m=14m+(14m*0.05)
16m=15m+(15m*0.05)
17m=16m+(16m*0.05)
18m=16m+(16m*0.05)
19m=18m+(18m*0.05)
20m=19m+(19m*0.05)
Total=11m+12m+13m+14m+15m+16m+17m+18m+19m+20m
TC=Total/10

============================================================================================pdf out put


data= [[Paragraph('<b>Description</b>',centerpara), Paragraph('<b>Unit</b>',centerpara),
Paragraph('<b>Quantity</b>',centerpara), Paragraph('<b>Rate Rs</b>',centerpara), Paragraph('<b>Cost
Rs</b>',centerpara)],
[Paragraph('<b>Unit = Running Meter.</b>',leftpara), '', '', '', ''],
['Taking output = 1 m, '', '', '', ''],
['Diameter of well - 9 m.', '', '', '', ''],
['A. Sandy Soil', '', '', '', ''],
[' (ii)Beyond 3m upto 10m depth', '', '', '', ''],
['Rate of sinking @ 0.18 m/hour', '', '', '', ''],

[Paragraph('<b>a)Labour</b>',leftpara), '', '', '', ''],


[Paragraph('Mate',leftparaindent), 'day', '0.27', '{:0.2f}'.format(l1), '{:0.2f}'.format(costl1)],
[Paragraph('Sinker ( skilled )',leftparaindent), 'day', '1.75', '{:0.2f}'.format(l2),
'{:0.2f}'.format(costl2)],
[Paragraph('Sinking helper ( semi-skilled ) ',leftparaindent), 'day', '4.0', '{:0.2f}'.format(l3),
'{:0.2f}'.format(costl3)],

[Paragraph('<b>b)Machinery</b>',leftpara), '', '', '', ''],


[Paragraph(Hire & running charges of crane with grab bucket of 0.75 cum capacity and
accessories.',leftparaindent), 'hour', '5.50', '{:0.2f}'.format(m1), '{:0.2f}'.format(costm1)],
[Paragraph('Consumables in sinking @10 per cent of (b) ',leftpara), '', '', '', '{:0.2f}'.format(h)],
[Paragraph('<b>c) Overhead charges @ {:0.2f} percent on (a+b+c)</b>'.format(over),leftpara), '', '', '',
'{:0.2f}'.format(costover)],
[Paragraph('<b>d) Contractor Profit @ {:0.2f} percent on (a+b+c+d)</b>'.format(cp),leftpara), '', '', '',
'{:0.2f}'.format(costcp)],
[Paragraph('Rate per metre = (a+b+c+d)',leftparaindent), '', '', '', '{:0.2f}'.format(abcd)],
['', '', '', Paragraph('<b>say</b>',leftpara),
[Paragraph(' 11th m',leftparaindent), '5%', '{:0.2f}'.format(11m), '',
[Paragraph(' 12th m',leftparaindent), '5%', '{:0.2f}'.format(12m), '',
[Paragraph(' 13th m',leftparaindent), '5%', '{:0.2f}'.format(13m), '',
[Paragraph(' 14th m',leftparaindent), '5%', '{:0.2f}'.format(14m), '',
[Paragraph(' 15th m',leftparaindent), '5%', '{:0.2f}'.format(15m), '',
[Paragraph(' 16th m',leftparaindent), '5%', '{:0.2f}'.format(16m), '',
[Paragraph(' 17th m',leftparaindent), '5%', '{:0.2f}'.format(17m), '',
[Paragraph(' 18th m',leftparaindent), '5%', '{:0.2f}'.format(18m), '',
[Paragraph(' 19th m',leftparaindent), '5%', '{:0.2f}'.format(19m), '',
[Paragraph(' 20th m',leftparaindent), '5%', '{:0.2f}'.format(20m), '',
[Paragraph('<b>d) Total Cost from 10m upto 20m</b>'.format(over),leftpara), '', '', '', '{:0.2f}'.format(Total)],
[Paragraph('<b>e) Avg Rate per metre</b>'.format(over),leftpara), '', '', '', '{:0.2f}'.format(TC)],

Paragraph('<b>{:0.2f}</b>'.format(round(frate,0)),rightpara)]
]

t=Table(data,[w*cm for w in [8.5,2,2,2,2.5]],repeatRows=1)


t.setStyle(tstyle)
elements.append(t)
elements.append(Spacer(1,12))
items['12.15A(iii)'].rate=round(frate,0)
elements.append(Spacer(1,12))

return elements
def C1215ADA (common,plantmachine,material,psmaterial,labour,machine,items,useditems):
elements = []

elements.append(Paragraph('<b>Serial No : </b> '12.15A(iv)a<b> ******* MoRTH Spec :1200 </b> ',pborder))


elements.append(Spacer(1,6))
elements.append(Paragraph('<b>Sinking of 9 m external diameter well ( other than pneumatic method of sinking )
through all types of strata namely sandy soil, clayey soil and rock as shown against each case, complete as per
drawing and technical specifications. Depth of sinking is reckoned from bed level.</b>',leftpara))
elements.append(Spacer(1,6))

======================================================================================================Calculation
l1=labour['L-12'][2]
l2=labour['L-15'][2]
l3=labour['L-14'][2]

costl1=0.27*l1
costl2=1.75*l2
costl3=4.0*l3

costl=costl1+costl2+costl3

m1=machine['OM-075'][2]

costm1=5.50*m1

costm=costm1

h=(costm)*0.10

abc=costl+costm+h

over=common['COM-3'][2]
costover=over*abc/100
abcd=abc+costover

cp=common['COM-5'][2]
costcp=abcd*cp/100
abcde=abcd+costcp
frate=abcde/1
Basic=frate*1.6289
21m=(Basic*0.075)+Basic
22m=21m+(21m*0.075)
23m=22m+(22m*0.075)
24m=23m+(23m*0.075)
25m=24m+(24m*0.075)
26m=25m+(25m*0.075)
27m=26m+(26m*0.075)
28m=27m+(27m*0.075)
29m=28m+(28m*0.075)
30m=29m+(29m*0.075)

Total=11m+12m+13m+14m+15m+16m+17m+18m+19m+20m
TC=Total/10

============================================================================================pdf out put


data= [[Paragraph('<b>Description</b>',centerpara), Paragraph('<b>Unit</b>',centerpara),
Paragraph('<b>Quantity</b>',centerpara), Paragraph('<b>Rate Rs</b>',centerpara), Paragraph('<b>Cost
Rs</b>',centerpara)],
[Paragraph('<b>Unit = Running Meter.</b>',leftpara), '', '', '', ''],
['Taking output = 1 m, '', '', '', ''],
['Diameter of well - 9 m.', '', '', '', ''],
['A. Sandy Soil', '', '', '', ''],
[' (ii)Beyond 3m upto 10m depth', '', '', '', ''],
['Rate of sinking @ 0.18 m/hour', '', '', '', ''],

[Paragraph('<b>a)Labour</b>',leftpara), '', '', '', ''],


[Paragraph('Mate',leftparaindent), 'day', '0.27', '{:0.2f}'.format(l1), '{:0.2f}'.format(costl1)],
[Paragraph('Sinker ( skilled )',leftparaindent), 'day', '1.75', '{:0.2f}'.format(l2),
'{:0.2f}'.format(costl2)],
[Paragraph('Sinking helper ( semi-skilled ) ',leftparaindent), 'day', '4.0', '{:0.2f}'.format(l3),
'{:0.2f}'.format(costl3)],

[Paragraph('<b>b)Machinery</b>',leftpara), '', '', '', ''],


[Paragraph(Hire & running charges of crane with grab bucket of 0.75 cum capacity and
accessories.',leftparaindent), 'hour', '5.50', '{:0.2f}'.format(m1), '{:0.2f}'.format(costm1)],
[Paragraph('Consumables in sinking @10 per cent of (b) ',leftpara), '', '', '', '{:0.2f}'.format(h)],

[Paragraph('<b>c) Overhead charges @ {:0.2f} percent on (a+b+c)</b>'.format(over),leftpara), '', '', '',


'{:0.2f}'.format(costover)],
[Paragraph('<b>d) Contractor Profit @ {:0.2f} percent on (a+b+c+d)</b>'.format(cp),leftpara), '', '', '',
'{:0.2f}'.format(costcp)],
[Paragraph('Rate per metre = (a+b+c+d)',leftparaindent), '', '', '', '{:0.2f}'.format(abcd)],
['', '', '', Paragraph('<b>say</b>',leftpara),
[Paragraph(' 11th m',leftparaindent), '5%', '{:0.2f}'.format(11m), '',
[Paragraph(' 12th m',leftparaindent), '5%', '{:0.2f}'.format(12m), '',
[Paragraph(' 13th m',leftparaindent), '5%', '{:0.2f}'.format(13m), '',
[Paragraph(' 14th m',leftparaindent), '5%', '{:0.2f}'.format(14m), '',
[Paragraph(' 15th m',leftparaindent), '5%', '{:0.2f}'.format(15m), '',
[Paragraph(' 16th m',leftparaindent), '5%', '{:0.2f}'.format(16m), '',
[Paragraph(' 17th m',leftparaindent), '5%', '{:0.2f}'.format(17m), '',
[Paragraph(' 18th m',leftparaindent), '5%', '{:0.2f}'.format(18m), '',
[Paragraph(' 19th m',leftparaindent), '5%', '{:0.2f}'.format(19m), '',
[Paragraph(' 20th m',leftparaindent), '5%', '{:0.2f}'.format(20m), '',
[Paragraph('<b>d) Total Cost from 10m upto 20m</b>'.format(over),leftpara), '', '', '', '{:0.2f}'.format(Total)],
[Paragraph('<b>e) Avg Rate per metre</b>'.format(over),leftpara), '', '', '', '{:0.2f}'.format(TC)],

Paragraph('<b>{:0.2f}</b>'.format(round(frate,0)),rightpara)]
]

t=Table(data,[w*cm for w in [8.5,2,2,2,2.5]],repeatRows=1)


t.setStyle(tstyle)
elements.append(t)
elements.append(Spacer(1,12))
items['12.15A(iii)'].rate=round(frate,0)
elements.append(Spacer(1,12))

return elements

You might also like