This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Livewire\Customers; | |
use App\Models\Company; | |
use Livewire\Component; | |
class CompanyRow extends Component | |
{ | |
public Company $company; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Actions; | |
use Carbon\Carbon; | |
use Composer\Config; | |
use Illuminate\Support\Facades\Http; | |
class DeniedParty | |
{ | |
public static function check($name=null) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Livewire\Tickets; | |
use App\Models\Ticket; | |
use Livewire\Component; | |
use Spatie\MediaLibraryPro\Http\Livewire\Concerns\WithMedia; | |
class SingleTicket extends Component | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@push('pagetitle', 'Project GP Report') | |
<div class="relative"> | |
<div class="absolute right-0 mt-1 mr-1 z-50" wire:loading> | |
<x-icons.cog | |
class="mr-4 h-6 w-6 animate-spin text-red" /> | |
</div> | |
<div> | |
<div class="relative mt-4 p-4"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Livewire\Sales; | |
use App\Models\Consignment; | |
use App\Models\Project; | |
use Livewire\Component; | |
class ProfitReport extends Component | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Feature\Jobs; | |
use App\Jobs\ProcessInvoiceJob; | |
use App\Models\ConsignmentBand; | |
use App\Models\PostedInvoice; | |
use App\Models\Project; | |
use App\Models\ProjectFin; | |
use Carbon\Carbon; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Pipes\Invoices; | |
use App\Models\ConsignmentBand; | |
use App\Models\PostedInvoice; | |
use App\Models\Project; | |
use Closure; | |
class BandedRatesProfit | |
{ | |
public function handle(PostedInvoice $invoice, Closure $next) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Pipes\Invoices; | |
use App\Models\PostedInvoice; | |
use App\Models\Project; | |
use Closure; | |
class FixedRateProfit | |
{ | |
public function handle(PostedInvoice $invoice, Closure $next) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Pipes\Invoices; | |
use App\Models\PostedInvoice; | |
use Closure; | |
class NoConsignmentAbort | |
{ | |
public function handle(PostedInvoice $invoice, Closure $next) | |
{ | |
if(!$invoice->consignment_code) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Jobs; | |
use App\Models\ConsignmentBand; | |
use App\Models\PostedInvoice; | |
use App\Models\Project; | |
use App\Pipes\Invoices\BandedRatesProfit; | |
use App\Pipes\Invoices\FixedRateProfit; | |
use App\Pipes\Invoices\NoConsignmentAbort; |