@extends('layout.master') @section('title',__('basic.Purchase')) @section('content-title') {{ __('basic.Purchase') }} @endsection @php $role = explode(',', session()->get('role_id')); @endphp {{-- 清單頁 --}} @section('content')
@csrf @method('GET') {{--
--}}
{{-- --}} {{-- --}} {{-- --}}
{{-- {{ var_dump($data) }} --}} @for($d=0;$d @endfor
{{ __('basic.Code') }} {{ __('basic.DATE') }} {{ __('basic.DeliverTo') }} {{ __('basic.Supplier') }} {{ __('basic.Status') }} {{ __('basic.TotalCost') }}
{{-- 入庫及取消不顯示 --}} @if($row->status==1) @endif {{ $row->code ?? '--' }} {{ $row->purchase_date }} {{ $row->sale_point_name }} {{ $row->partner_name }} @if ($row->status=='0') @php $cr_class = 'danger-color'; $status_name = 'CANCELED'; @endphp @elseif ($row->status=='1') @php $cr_class = 'orange-color'; $status_name = 'ORDERED'; @endphp @else @php $cr_class = 'safe-color'; $status_name = 'RECEIVED'; @endphp @endif
{{ ($row->total_amount>0)?number_format($row->total_amount,2):$row->total_amount }} {{-- 入庫及取消不顯示 --}} @if($row->status==1) @endif
@endsection @section('filter-title') {{ __('basic.Purchase').' '.__('basic.FILTER') }} @endsection @section('filter')
{{ __('basic.OrderCost') }}
{{ __('basic.Status') }}
{{ __('basic.Location') }}
@for($s=0; $s @endfor
{{ __('basic.Supplier') }}
{{ __('basic.Product') }}
@endsection {{-- 明細頁 --}} {{-- @extends('layout.dialog_detail') --}} @extends('layout.normal_detail') @section('detail-title',__('basic.BackPurchaseList')) @section('detail-content')
{{-- 右側 --}}
{{-- 供應商 --}}

{{ __('basic.Supplier') }} *

{{ __('basic.ContactName').': ' }}
{{ __('basic.MOBILE').': ' }}
{{ __('basic.PHONE').': ' }}
{{'Email: ' }}
@php $display_none = ""; if(in_array(BackendService::SINGLESHOP,$role)) { $display_none = "display:none;"; } @endphp {{-- 調入 --}}

{{ __('basic.DeliverTo') }} *

{{ __('basic.ContactName').': ' }}
{{ __('basic.MOBILE').': ' }}
{{ __('basic.PHONE').': ' }}
{{'Email: ' }}
{{-- 中間 --}}

{{ __('basic.PurchaseDetail') }}

{{ __('basic.DATE') }} *
#
{{ __('basic.ItemName') }}
{{ __('basic.UnitCost') }}
{{ __('basic.Qty') }}
{{ __('basic.TotalCost') }}
{{ __('basic.Option') }}
{{ '1' }}

{{ __('basic.PurchaseNotes') }}

{{-- 最右方 --}}

{{ __('basic.MyPurchase') }}

{{ __('basic.NO') }}
{{ __('basic.Supplier') }}
{{ __('basic.DeliverTo') }}
{{ __('basic.TotalPurchaseAmount') }}
NT$ 0
{{--
--}} {{--
--}}
@endsection