feat: Add Vacancy management functionality with controller, model, migration, and form
This commit is contained in:
@@ -11,6 +11,7 @@ trait AddToDocumentCollection
|
||||
{
|
||||
public function addToDocumentCollection(string $collectionName = 'uploads', string $file, ?string $documentName = null, ?int $referenceDocumentId = null)
|
||||
{
|
||||
dd($documentName);
|
||||
if (!Storage::disk('public')->exists($collectionName)) {
|
||||
Storage::disk('public')->makeDirectory($collectionName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user