Merge Invoice and Bill into Document
This commit is contained in:
18
app/View/Components/Documents/Show/Attachment.php
Normal file
18
app/View/Components/Documents/Show/Attachment.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Attachment extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.attachment');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Content.php
Normal file
18
app/View/Components/Documents/Show/Content.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Content extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.content');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Document.php
Normal file
18
app/View/Components/Documents/Show/Document.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Document extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.document');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Footer.php
Normal file
18
app/View/Components/Documents/Show/Footer.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Footer extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.footer');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Header.php
Normal file
18
app/View/Components/Documents/Show/Header.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Header extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.header');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Histories.php
Normal file
18
app/View/Components/Documents/Show/Histories.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Histories extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.histories');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/RecurringMessage.php
Normal file
18
app/View/Components/Documents/Show/RecurringMessage.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class RecurringMessage extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.recurring-message');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/StatusMessage.php
Normal file
18
app/View/Components/Documents/Show/StatusMessage.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class StatusMessage extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.status-message');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Timeline.php
Normal file
18
app/View/Components/Documents/Show/Timeline.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Timeline extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.timeline');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/TopButtons.php
Normal file
18
app/View/Components/Documents/Show/TopButtons.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class TopButtons extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.top-buttons');
|
||||
}
|
||||
}
|
18
app/View/Components/Documents/Show/Transactions.php
Normal file
18
app/View/Components/Documents/Show/Transactions.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\DocumentShow as Component;
|
||||
|
||||
class Transactions extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.documents.show.transactions');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user