You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB
JavaScript

export const TTD = function(x){
if(typeof x != 'object'){
x = {};
}
return `
<tr>
<td colspan="${ x.colspan ? x.colspan : 3}" style="padding: 10px 0px;"></td>
</tr>
<tr>
<td colspan="${ x.colspan ? x.colspan : 3}" style="text-align:center;">Gresik, ${x.tgl ? tanggal(x.tgl).akhir2 : tanggal(new Date()).akhir2} </td>
</tr>
<tr>
<td colspan="${ x.colspan ? x.colspan : 3}" style="text-align:center;">Pengurus</td>
</tr>
<tr>
<td colspan="${ x.colspan ? x.colspan : 3}" style="padding: 10px 0px;"></td>
</tr>
<tr>
<td colspan="${ x.colspan ? x.colspan : 3}" >
<table width="100%">
<tr>
<td style="text-align:center;font-weight:bold;">Ketua I</td>
<td style="text-align:center;"></td>
<td colspan="${ x.colspan2 ? x.colspan2 : 1}" style="text-align:center;font-weight:bold;">Bendahara</td>
</tr>
<tr>
<td colspan="3" style="padding: 20px 0px;"></td>
</tr>
<tr>
<td style="text-align:center;">${dataProfile ? dataProfile.get('ketua1') : ''}</td>
<td style="text-align:center;"></td>
<td style="text-align:center;">${dataProfile ? dataProfile.get('bendahara') : ''}</td>
</tr>
</table>
</td>
</tr>
`
}