@extends('layouts.app') @section('content')
{{ $title." - Transfer ".$transfer->id }} @if(userCanView('stocktransfer.print_afour')) Print Transfer @endif @if(userCanView('stocktransfer.edit') && $transfer->status =="DRAFT") Edit @endif @if(userCanView('stocktransfer.complete') && $transfer->status =="DRAFT") Complete @endif @if(userCanView('stocktransfer.delete_transfer') && $transfer->status =="DRAFT") Delete @endif
Transfer From
{{ $transfer->store_from->name }}

Status
{!! $transfer->status == "COMPLETE" ? label( $transfer->status,'success') : label( $transfer->status,'primary') !!}
Transfer To
{{ $transfer->store_to->name }}

Date
{!! convert_date($transfer->transfer_date) !!}

Product Transfer List

@php $total = 0; $errors = session('errors') @endphp @foreach($transfer->stock_transfer_items()->get() as $trans) @php $total +=($trans->quantity * $trans->selling_price) @endphp @endforeach
Name Cost Price Quantity Total Selling Price
{{ $trans->stock->name }} {{ number_format($trans->cost_price,2) }} {{ $trans->quantity }} {{ number_format(($trans->quantity * $trans->cost_price),2) }}
Total {{ number_format($total,2) }}
@endsection