@extends('backend.layout.app') @section('title','All Device') @push('css') @endpush @section('main_menu','HOME') @section('active_menu','All Device') @section('link',route('admin.adminDashboard')) @section('content')
| Id | Device Company name | Device Model | Device Cost | Quantity | Assigned to Technician | Action |
|---|---|---|---|---|---|---|
| {{$key+1}} | {{$device_data->device_name}} | {{$device_data->device_model}} | {{$device_data->device_price}} | {{$device_data->quantity}} | @php($total = \App\technican_stock::where('device_id',$device_data->id)->sum('quantity')) {{$total}} | {{-- --}} {{-- --}} {{-- --}} {{-- View--}} {{-- --}} @if(\Illuminate\Support\Facades\Auth::user()->type == "admin") Update @endif Assign technician |
| Id | Device name | Device Model | Device Price | Quantity | Total Assigned | Action |