Commit 642d81d1 by hannan

edit project button css and change column name in project mandays table

parent 7bc2265e
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class RenameColumnInProjectMandays extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('project_mandays', function (Blueprint $table) {
$table->renameColumn('fk_project_team', 'fk_project');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('project_mandays', function (Blueprint $table) {
$table->renameColumn('fk_project', 'fk_project_team');
});
}
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class RenameColumnInProjectMandays extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('project_mandayscd', function (Blueprint $table) {
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('project_mandayscd', function (Blueprint $table) {
//
});
}
}
...@@ -214,24 +214,10 @@ input[type=number] { ...@@ -214,24 +214,10 @@ input[type=number] {
} }
} }
} }
console.log("currenttotal --> " + currenttotal); console.log("currenttotal --> " + currenttotal);
// var currentTtotal = document.getElementById('total-'+pid).value;
// var total = document.getElementById('total-'+pid).value;
// if(total == null || total == 0){
// total = 0;
// }else{
// total = document.getElementById('total-'+pid).value;
// }
// if (input.value < 0) input.value = 0;
// if (input.value > 24) input.value = 24
// else total = Number(input.value)+Number(currentTtotal);
document.getElementById('total-'+pid).value = currenttotal; document.getElementById('total-'+pid).value = currenttotal;
} }
</script> </script>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
Team Team
</button> </button>
<button class="compact yellow ui button" onclick="window.location.href='{{ route('timesheet::maintenance.updateProject', ['id' => $project['id']]) }}';"> <button class="compact yellow ui button" onclick="window.location.href='{{ route('timesheet::maintenance.updateProject', ['id' => $project['id']]) }}';">
Edit Team Edit Project
</button> </button>
<button class="compact purple ui button" onclick="window.location.href='{{ route('timesheet::maintenance.mandays', ['id' => $project['id']]) }}';"> <button class="compact purple ui button" onclick="window.location.href='{{ route('timesheet::maintenance.mandays', ['id' => $project['id']]) }}';">
Mandays Mandays
...@@ -41,24 +41,6 @@ ...@@ -41,24 +41,6 @@
@endforeach @endforeach
</tbody> </tbody>
<!-- <tfoot>
<tr>
<th colspan="6">
<div class="ui right floated pagination menu">
<a class="icon item">
<i class="left chevron icon"></i>
</a>
<a class="item">1</a>
<a class="item">2</a>
<a class="item">3</a>
<a class="item">4</a>
<a class="icon item">
<i class="right chevron icon"></i>
</a>
</div>
</th>
</tr>
</tfoot> -->
</table> </table>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment