Beispiel #1
0
    ?>
</td>
						<td><?php 
    echo $staff->identifier;
    ?>
</td>
						<td><?php 
    echo $staff->name;
    ?>
</td>
						<td><span class="badge"><?php 
    echo $staff->short;
    ?>
</span></td>
						<td><?php 
    echo get_staff_group($staff->group_id);
    ?>
</td>
						<td>
							<div class="btn-group">
								<a href="<?php 
    echo_path('/staffs/add');
    ?>
" class="btn btn-sm btn-primary"><span class="glyphicon glyphicon-plus-sign"></span></a>
								<a href="<?php 
    echo_path('/staffs/edit/' . $staff->id);
    ?>
" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-share"></span></a>
								<a href="#" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
							</div>
						</td>
Beispiel #2
0
	
	tr.hide{ display:none; }
</style>

<div class="container" style="font-size: 12px;">
	
	<div class="checkbox">
		<input type="checkbox" id="alarm">过滤: 只显示 计划完工日期 &lt; 今天日期 的条目
	</div>

	<?php 
foreach ($groups as $group_id => $group) {
    ?>
		<div class="panel panel-default">
			<div class="panel-heading">班组: <strong><?php 
    echo get_staff_group($group_id);
    ?>
</strong></div>
			<table class="table table-bordered table-condensed">
				<thead>
					<tr>
						<td>工序名称</td>
						<td>工序序号</td>
						<td>零件编号</td>
						<td>零件名称</td>
						<td>生产数量</td>
						<td>单件工时</td>
						<td>准备工时</td>
						<td>计划完工日期</td>
						<td>投产日期</td>
						<td>操作者</td>