update printlabel, barcode dan tampilan dashboard access
This commit is contained in:
parent
97ee2d4e2c
commit
d87278c017
@ -322,5 +322,6 @@ P1
|
||||
$sample = $data['SAMPLETYPE'];
|
||||
$this->printSingle($access, $sample);
|
||||
}
|
||||
$this->labelPostekCollection($access);
|
||||
}
|
||||
}
|
||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
||||
<div class="card-title"><h3>Sample List</h3></div>
|
||||
<table class='table'>
|
||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>All</td>
|
||||
<td>
|
||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach($data as $row) {
|
||||
$sampletype = $row['SAMPLETYPE'];
|
||||
$sampletext = $row['SHORTTEXT'];
|
||||
if ($sampletype == "200") {
|
||||
$sampletext = "Serum Kimia";
|
||||
} else if ($sampletype == '250') {
|
||||
$sampletext = "Serum Imun";
|
||||
}
|
||||
$tubestatus = $row['TUBESTATUS'];
|
||||
$collstatus = $row['COLLSTATUS'];
|
||||
$comment = $row['TUBECOMMENT'];
|
||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
||||
} else {
|
||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||
}
|
||||
echo "<td>$sampletext</td>";
|
||||
echo "<td>$sampletext ($sampletype)</td>";
|
||||
echo "<td>
|
||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||
|
||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
||||
<div class="card-title"><h3>Sample List</h3></div>
|
||||
<table class='table'>
|
||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>All</td>
|
||||
<td>
|
||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach($data as $row) {
|
||||
$sampletype = $row['SAMPLETYPE'];
|
||||
$sampletext = $row['SHORTTEXT'];
|
||||
if ($sampletype == "200") {
|
||||
$sampletext = "Serum Kimia";
|
||||
} else if ($sampletype == '250') {
|
||||
$sampletext = "Serum Imun";
|
||||
}
|
||||
$tubestatus = $row['TUBESTATUS'];
|
||||
$collstatus = $row['COLLSTATUS'];
|
||||
$comment = $row['TUBECOMMENT'];
|
||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
||||
} else {
|
||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||
}
|
||||
echo "<td>$sampletext</td>";
|
||||
echo "<td>$sampletext ($sampletype)</td>";
|
||||
echo "<td>
|
||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||
|
||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
||||
<div class="card-title"><h3>Sample List</h3></div>
|
||||
<table class='table'>
|
||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>All</td>
|
||||
<td>
|
||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach($data as $row) {
|
||||
$sampletype = $row['SAMPLETYPE'];
|
||||
$sampletext = $row['SHORTTEXT'];
|
||||
if ($sampletype == "200") {
|
||||
$sampletext = "Serum Kimia";
|
||||
} else if ($sampletype == '250') {
|
||||
$sampletext = "Serum Imun";
|
||||
}
|
||||
$tubestatus = $row['TUBESTATUS'];
|
||||
$collstatus = $row['COLLSTATUS'];
|
||||
$comment = $row['TUBECOMMENT'];
|
||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
||||
} else {
|
||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||
}
|
||||
echo "<td>$sampletext</td>";
|
||||
echo "<td>$sampletext ($sampletype)</td>";
|
||||
echo "<td>
|
||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||
|
||||
@ -56,10 +56,6 @@ $name = $row['NAME'];
|
||||
<div class="card-title"><h3>Sample List</h3></div>
|
||||
<table class='table'>
|
||||
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>All</td>
|
||||
<td>
|
||||
@ -69,11 +65,20 @@ $name = $row['NAME'];
|
||||
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td> <td></td> <td>Collection</td>
|
||||
<td><button type='button' class='btn btn-dark m-0 px-2 py-1' onclick="printCollectionLabel(<?=$accessnumber;?>)"><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach($data as $row) {
|
||||
$sampletype = $row['SAMPLETYPE'];
|
||||
$sampletext = $row['SHORTTEXT'];
|
||||
if ($sampletype == "200") {
|
||||
$sampletext = "Serum Kimia";
|
||||
} else if ($sampletype == '250') {
|
||||
$sampletext = "Serum Imun";
|
||||
}
|
||||
$tubestatus = $row['TUBESTATUS'];
|
||||
$collstatus = $row['COLLSTATUS'];
|
||||
$comment = $row['TUBECOMMENT'];
|
||||
@ -88,7 +93,7 @@ $name = $row['NAME'];
|
||||
} else {
|
||||
echo "<td class='text-center'><input type='checkbox' class='form-check-input' id='recv$sampletype' disabled></td>";
|
||||
}
|
||||
echo "<td>$sampletext</td>";
|
||||
echo "<td>$sampletext ($sampletype)</td>";
|
||||
echo "<td>
|
||||
<button type='button' class='btn btn-dark m-0 px-2 py-1' " . "onclick='printSingleLabel($accessnumber, $sampletype)'" . "><h6 class='p-0 m-0'><i class='bi bi-printer'></i></h6></button>
|
||||
<button type='button' class='btn btn-success m-0 px-2 py-1' onclick='collect($sampletype, $accessnumber)'><h6 class='p-0 m-0'>Coll.</h6></button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user